Open edwardcde opened 3 years ago
Ed,
Welcome to node-rfxcom!
You seem to me to be mixing up javascript and python. Normally, you call node-rfxcom from a NodeJS javascript program, not Python. However, you are not the first to get confused in this way. Take a look at issue #99 and in particular at my explanation here. In your case you have a BLINDS_T18 device (Cherubini) so you would use BLINDS_T18 when calling the Blinds
constructor. The ID to use is the same as that used in RFXmgr, but instead of sending a command code you use one of the functions exposed by the Blinds transmitter object, which are documented here
Hi Max,
thank you for the warm welcome.
You're totally right, I'm unfortunately mixing both python and javascript ;-(... I've done that to clarify if the connection works anyway and I'm not a pro in javascript and python as well (my programming experience is many years old and is C/C++)...
I'll try your hints about #99 and your explanation and give feedback here! Thx!
Ed
I hope you got everything going OK. If you are happy, can I close this issue?
Hi all,
first of all i'd like to say hello and thank you for your patience and help in advance! It's a great pleasure to see all the inventions and ideas you serve to other users!
I'm a beginner in using rfxcom but i'm very happy that I found this module! I'm using blind motors from Cherubini and programmed them successfully with rfxmngr in Windows. (Protocol Blinds1, T18 Cherubini). Everything works fine with the GUI and the blinds are rolling :-).
Now I want to use rfxcom with a raspberry 4 and I need help with the scripts that I have to use.
find-rfx.js shows me:
Scanning for RFXCOM devices... Devices found at: /dev/ttyUSB0 (usb-RFXCOM_RFXtrx433XL_DO5O5JGH-if00-port0) 433.92MHz transceiver hardware version 3.1, firmware version 1044 ProXL1 Enabled protocols: BLINDST1,KEELOQ Disabled protocols: AC,ARC,ATI,BLINDST0,BLYSS,BYRONSX,FINEOFFSET,FS20,FUNKBUS,HIDEKI,HOMECONFORT,HOMEEASY,IMAGINTRONIX,LACROSSE,LIGHTING4,LIGHTWAVERF,MCZ,MEIANTECH,MERTIK,OREGON,PROGUARD,RSL,RUBICSON,UNDECODED,VISONIC,X10
Looks fine for me. And I also know the raw code, that I have to send. With rfxsend.py I tried to send some.
$ python rfxsend.py -r 0919120B103116000000 Error: Could not send message: [Errno 111] Connection refused
...but I get the Error-Response...
Can you help me by giving me a short manual, what I have to do to send raw data via shell or script?
Thank you very much!!! Ed