Closed insomniux closed 4 years ago
I don't have one of the new XL transceivers here yet...
Please can you enable rfxtrx-port debug, and post the console output from Node-RED. This option is on the 'Serial Port' edit pane:
The messages should look something like this (where I connected the RFX after starting Node-RED):
23 Aug 14:47:07 - [rfxcom] on /dev/tty.usbserial-A1R1A6A - Error: No such file or directory, cannot open /dev/tty.usbserial-A1R1A6A
23 Aug 14:47:07 - [rfxcom] on /dev/tty.usbserial-A1R1A6A - Cleared command message queue
23 Aug 14:47:13 - [rfxcom] on /dev/tty.usbserial-A1R1A6A - Error: No such file or directory, cannot open /dev/tty.usbserial-A1R1A6A
23 Aug 14:47:13 - [rfxcom] on /dev/tty.usbserial-A1R1A6A - Cleared command message queue
23 Aug 14:47:19 - [info] [rfx-detector-in:c36c9483.3f59a8] connecting to /dev/tty.usbserial-A1R1A6A
23 Aug 14:47:25 - [rfxcom] on /dev/tty.usbserial-A1R1A6A - Sent : 0D,00,00,00,00,00,00,00,00,00,00,00,00,00
23 Aug 14:47:25 - [rfxcom] on /dev/tty.usbserial-A1R1A6A - Sent : 0D,00,00,01,02,00,00,00,00,00,00,00,00,00
23 Aug 14:47:25 - [rfxcom] on /dev/tty.usbserial-A1R1A6A - Received: 14,01,00,01,02,53,28,08,00,24,00,01,03,FF,05,5D,00,00,00,00,00
23 Aug 14:47:25 - [rfxcom] on /dev/tty.usbserial-A1R1A6A - Sent : 0D,00,00,02,07,00,00,00,00,00,00,00,00,00
23 Aug 14:47:25 - [rfxcom] on /dev/tty.usbserial-A1R1A6A - Received: 14,01,07,02,07,43,6F,70,79,72,69,67,68,74,20,52,46,58,43,4F,4D
23 Aug 14:47:25 - [rfxcom] on /dev/tty.usbserial-A1R1A6A - Copyright RFXCOM
23 Aug 14:47:25 - [rfxcom] on /dev/tty.usbserial-A1R1A6A - Started command message queue
23 Aug 14:47:25 - [info] [rfx-detector-in:c36c9483.3f59a8] connected: Serial port /dev/tty.usbserial-A1R1A6A
Thanks for your advise, maxwellhadley. The solution, however came from an unexpected direction. Actually, when I checked, the debug-option was activated. I disconnected and reconnected the RFXtrx and after it came up, it was immediately showing the connection is OK. This remained after a reboot. I've been able to catch information from switches and forward the topic/payload to another MQTT broker. Thanks again for your time, and brilliant work!
OK - thanks!
Hi, I'm having a problem getting my RFXtrx433XL communicate with node-red. Nodered is newly installed on a Pi with the RFXtrx connected to /dev/ttyUSB0. This node remains to report 'Connecting' and never issues a message to debug:
Here some outputs of my system configuration: lsusb
lsmod
dmesg | grep ftdi
dmesg | grep tty
cat ser2net.conf
I guess it's something with the configuration of ser2net but unfortunately the manual of RFXcom is outdated and does not include the newer raspbian versions.
Thanks for your help!