Autor Thema: Help a beginner  (Gelesen 229 mal)

Offline mugginsjm

  • New Member
  • *
  • Beiträge: 6
Help a beginner
« am: 13 Februar 2017, 13:11:14 »
Hi
I am finding this a fairly steep uphill path.
I have built a CUL nano and uploaded firmware which seems to work (responds with version number)
I have installed fhem on RPI and paired , I think?
I simply want to fully open or fully close the MAX rad valve without any interaction with thermostats etc. Is there a simpler way?
thanks
John

Offline fruit

  • Full Member
  • ***
  • Beiträge: 284
Antw:Help a beginner
« Antwort #1 am: 13 Februar 2017, 14:46:02 »
I guess you could try set <device> desiredTemperature 30.0 and set <device> desiredTemperature 5.0
Feel free to follow up in German if you prefer

Offline mugginsjm

  • New Member
  • *
  • Beiträge: 6
Antw:Help a beginner
« Antwort #2 am: 14 Februar 2017, 09:49:29 »
Since all I want to do is open and close a couple of rad valves is there a way to bypass fhem and just send raw ascii commands to the CUL device?

Offline alangward

  • New Member
  • *
  • Beiträge: 22
Antw:Help a beginner
« Antwort #3 am: 14 Februar 2017, 16:54:15 »
Hi,
You can send raw commands to the valves using the 'set .... raw ...' within fhem. See the command reference manual. But, it is easier to use the normal commands as fruit has suggested. Rather than using '30' and '5' though you may prefer to use 'on' and 'off' - though the effect is the same.
The only advantage of using raw is that it bypasses the queing and retry mechanism within fhem.

Hope this helps

Alan

Offline mugginsjm

  • New Member
  • *
  • Beiträge: 6
Antw:Help a beginner
« Antwort #4 am: 15 Februar 2017, 13:36:20 »
Sorry
I'm still struggling. I cannot achieve pairing. My device is an EQ3 MAX! rad valve.
My RPi is connected to CUL device, but version shows 433mHz. As valve is 868 is this a problem? I have followed the instructions for altering the frequency line in "boards.h" when building the CUL firmware.

Clients
:CUL_MAX:HMS:CUL_IR:STACKABLE_CC:
DEF
/dev/ttyUSB0@38400 1034

DeviceName
/dev/ttyUSB0@38400
FD
11
FHTID
1034
NAME
CUL0
NR
20
NR_CMD_LAST_H
2
PARTIAL

STATE
Initialized
TYPE
CUL
VERSION
V 1.67 nanoCUL433
initString
X21 Zr Za123456 Zw111111
Readings
ccconf
freq:868.300MHz bWidth:101KHz rAmpl:33dB sens:8dB
2017-02-15 12:21:19
cmds
A B C E e F f G h i K k l M m R T t U V W X x Y Z z
2017-02-15 12:17:42
state
Initialized
2017-02-15 12:23:29
version
V 1.67 nanoCUL433
2017-02-15 12:21:53

Offline mugginsjm

  • New Member
  • *
  • Beiträge: 6
Antw:Help a beginner
« Antwort #5 am: 17 Februar 2017, 10:00:54 »
Can anyone please tell me what I should be seeing in the valve LCD window. I set pair mode on fhem and then on valve which counts down to zero. It then returns to showing the number 1 and a radio symbol. I'm beginning to suspect that my CC1101 module is faulty. Any advice anyone.
thanks
John

Offline malc_b

  • Jr. Member
  • **
  • Beiträge: 78
Antw:Help a beginner
« Antwort #6 am: 17 Februar 2017, 18:43:32 »
Frequency is 868 so if CUL is say 433 it won't work.  It isn't just a case of changing the frequency setting since the length of the aerial wire is tuned to suit the frequency.

Offline mugginsjm

  • New Member
  • *
  • Beiträge: 6
Antw:Help a beginner
« Antwort #7 am: 17 Februar 2017, 18:58:31 »
Hi
I've loaded CUL firmware version 1.66 and now all references to frequency are 868mHz.
My CC1101 module has a little stub aerial and claims to be dual frequency?
http://www.ebay.co.uk/itm/252616019027?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
Still no pairing....

Offline malc_b

  • Jr. Member
  • **
  • Beiträge: 78
Antw:Help a beginner
« Antwort #8 am: 17 Februar 2017, 20:01:09 »
AFAIR you have a CUL device and then add a CUL_MAX.  You also need autocreate on but that is the default.  You then go to the cul max device and do set pairmode (no value in the input box).  Then you press the button on the max rad for 3s to get it to go into pairing mode.  If it all works you have a new max heating thermostat device.  Then using fhem "rename" you can give that a more meaningful name.

Offline mugginsjm

  • New Member
  • *
  • Beiträge: 6
Antw:Help a beginner
« Antwort #9 am: 18 Februar 2017, 10:26:54 »
I've done all that you mentioned but with no result. Time to order another radio module, I think.
thanks
John

Offline malc_b

  • Jr. Member
  • **
  • Beiträge: 78
Antw:Help a beginner
« Antwort #10 am: 18 Februar 2017, 18:16:00 »
You can flash the max cube with CUL which is another alternative.  Max cube will hang off ethernet so can more flexible in where you position it (and it is cheaper I think).