Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First steps with rfxcom - need help to get started #106

Open
edwardcde opened this issue Aug 12, 2021 · 3 comments
Open

First steps with rfxcom - need help to get started #106

edwardcde opened this issue Aug 12, 2021 · 3 comments

Comments

@edwardcde
Copy link

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:

[email protected] find-rfxcom
bin/find-rfxcom.js

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

@maxwellhadley
Copy link
Collaborator

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

@edwardcde
Copy link
Author

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

@maxwellhadley
Copy link
Collaborator

I hope you got everything going OK. If you are happy, can I close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants