You need to reload the editor to see the new nodes, obviously. All the nodes are now in the 'home automation' palette category. Can you enable debug and post some of the output after startup, please?
Max
pi@raspberrypi:~ $ RED_DEBUG=rfxcom node-red -v
Welcome to Node-RED===================
3 May 09:29:52 - [info] Node-RED version: v0.13.43 May 09:29:52 - [info] Node.js version: v0.10.293 May 09:29:52 - [info] Linux 4.1.18+ arm LE3 May 09:29:52 - [info] Loading palette nodes3 May 09:30:44 - [info] Settings file : /home/pi/.node-red/settings.js3 May 09:30:44 - [info] User directory : /home/pi/.node-red3 May 09:30:44 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json3 May 09:30:45 - [info] Server now running at http://127.0.0.1:1880/3 May 09:30:47 - [info] Starting flows3 May 09:31:44 - [info] [inject:Show status] repeat = 600003 May 09:32:04 - [info] Started flows[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,00,00,45,42,B2,07,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,01,00,45,42,B2,10,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,02,00,45,42,B2,0E,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,03,00,45,42,B2,0D,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,04,00,45,42,B2,04,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,05,00,45,42,B2,08,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,06,00,45,42,B2,0F,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,07,00,46,7A,6E,03,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,08,00,46,7A,6E,07,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,09,00,48,21,9A,04,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,0A,02,02,EF,FE,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 07,10,01,0B,50,10,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 07,10,01,0C,50,10,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 07,10,01,0D,4F,10,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 07,10,01,0E,4F,10,00,003 May 09:32:09 - [info] [exec:1c4fa554.e3b05b] sudo hciconfig hci0 down[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,0F,00,45,42,B2,0B,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,10,00,45,42,B2,0C,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,11,00,45,42,B2,09,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,12,00,45,42,B2,0A,01,0F,003 May 09:32:12 - [info] [rfx-lights-out:Carport] connecting to /dev/ttyUSB03 May 09:32:12 - [info] [mqtt-broker:9099f2b4.8e3e2] Connection failed to broker: mqtt://192.168.10.248:18833 May 09:32:12 - [info] [mqtt-broker:b0587f20.ac192] Connection failed to broker: mqtt://192.168.10.252:18833 May 09:32:12 - [info] [mqtt-broker:98094263.86762] Connection failed to broker: mqtt://192.168.10.240:18833 May 09:32:12 - [info] [exec:eb00084f.14fff8] sudo hciconfig hci0 up3 May 09:32:12 - [info] [exec:813c8291.7ec38] sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,13,00,45,42,B2,07,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,14,00,45,42,B2,10,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,15,00,45,42,B2,0E,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,16,00,45,42,B2,0D,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,17,00,45,42,B2,04,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,18,00,45,42,B2,08,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,19,00,45,42,B2,0F,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,1A,00,46,7A,6E,03,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,1B,00,46,7A,6E,07,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,1C,00,48,21,9A,04,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,1D,02,02,EF,FE,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,1E,00,45,42,B2,0B,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,1F,00,45,42,B2,0C,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,20,00,45,42,B2,09,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,21,00,45,42,B2,0A,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,22,00,45,42,B2,07,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,23,00,45,42,B2,10,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,24,00,45,42,B2,0D,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,25,00,45,42,B2,04,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,26,00,45,42,B2,08,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,27,00,45,42,B2,0F,02,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,28,00,46,7A,6E,03,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,29,00,46,7A,6E,07,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,2A,00,48,21,9A,04,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,2B,02,02,EF,FE,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,2C,00,45,42,B2,0B,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,2D,00,45,42,B2,0C,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,2E,00,45,42,B2,09,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,2F,00,45,42,B2,0A,01,0F,003 May 09:32:20 - [warn] [feedparse:DI] error - Bad status code 408[rfxcom] on /dev/ttyUSB0 - Sent : 0D,00,00,30,00,00,00,00,00,00,00,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0D,00,00,31,02,00,00,00,00,00,00,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,17,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,32,00,45,42,B2,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,33,00,45,42,B2,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,34,00,45,42,B2,0D,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,35,00,45,42,B2,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,36,00,45,42,B2,08,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,37,00,45,42,B2,0F,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,38,00,46,7A,6E,03,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,39,00,46,7A,6E,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,3A,00,48,21,9A,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,18,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,19,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1A,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1B,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,3B,00,45,42,B2,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,3C,00,45,42,B2,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,3D,00,45,42,B2,0D,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,3E,00,45,42,B2,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,3F,00,45,42,B2,08,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,40,00,45,42,B2,0F,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,41,00,46,7A,6E,03,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,42,00,46,7A,6E,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,43,00,48,21,9A,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1C,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1D,003 May 09:32:27 - [info] [mqtt-broker:9099f2b4.8e3e2] Connected to broker: mqtt://192.168.10.248:18833 May 09:32:27 - [info] [mqtt-broker:b0587f20.ac192] Connected to broker: mqtt://192.168.10.252:18833 May 09:32:28 - [info] [mqtt-broker:98094263.86762] Connected to broker: mqtt://192.168.10.240:1883[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1E,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,44,00,45,42,B2,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,45,00,45,42,B2,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,46,00,45,42,B2,0D,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,47,00,45,42,B2,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,48,00,45,42,B2,08,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,49,00,45,42,B2,0F,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,4A,00,46,7A,6E,03,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,4B,00,46,7A,6E,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,4C,00,48,21,9A,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 14,01,FF,20,00,53,01,04,00,26,00,01,00,1C,01,00,00,00,00,00,00[rfxcom] on /dev/ttyUSB0 - Command unknown or not supported[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,28,F7,00,00,DF,25,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,29,07,04,00,5C,39,00,793 May 09:32:41 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] 993 calls to Prowl api during current hour.3 May 09:32:48 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] 992 calls to Prowl api during current hour.[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,2A,20,02,00,89,2E,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,2B,B7,00,00,93,3A,01,793 May 09:33:05 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] 991 calls to Prowl api during current hour.3 May 09:33:14 - [error] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] Error: ETIMEDOUT3 May 09:33:14 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] null calls to Prowl api during current hour.[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,2C,07,04,00,5C,39,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,2D,07,04,00,5C,39,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,2E,F7,00,00,DF,25,02,793 May 09:33:31 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] 990 calls to Prowl api during current hour.[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,2F,20,02,00,89,2E,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,30,B7,00,00,93,3B,01,79[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,4D,00,45,42,B2,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,4D,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,4E,00,45,42,B2,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,4E,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,4F,02,02,EF,FE,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,4F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,50,00,45,42,B2,09,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,51,00,45,42,B2,09,01,0F,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,50,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,51,003 May 09:34:09 - [error] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] Error: ETIMEDOUT3 May 09:34:09 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] null calls to Prowl api during current hour.[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,52,00,45,42,B2,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,52,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,53,00,45,42,B2,08,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,53,00[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,31,20,02,00,89,2E,00,79[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,54,00,48,21,9A,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,54,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,55,00,45,42,B2,0F,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,55,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,56,00,45,42,B2,0E,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,56,00[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,32,B7,00,00,93,3B,01,79[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,57,00,45,42,B2,0D,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,57,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,58,00,46,7A,6E,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,58,00[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,33,07,04,00,5C,39,00,79[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,59,00,46,7A,6E,03,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,59,00
One thing I noticed is that initially a lot (maybe all) devices are set to ON. Did you change anything here? I think this worked different in previous version...
Max
Max
Rather than use npm update, use npm install rfx...@0.11.1 to force install of the specified version.
Though if Max has that set as a pre-req in his package.json, then doing that for Max's package should get then both to the correct level.
npm install rfx...@0.11.1 to force install of the specified version.
Things that needs to be started first
Max
Why do you try to send so many messages each time the system starts?
node-red-node-sensortag 0.0.12 0.0.14 0.0.14
The three columns are 1) the currently installed version 2) the version that any package.json (see above) would limit it to and 3) the latest available on npm. So in this case a simple npm update will do what I want and update it ok... If the middle column was holding it back I could npm install node-red-no...@0.0.14 to force it beyond (but no guarantees it would work etc.. but hey.)
- at startup, initiate the RFXtrx and wait for handshake like 5 seconds. Buffer messages to the RFXtrx
- if handshake is not received within time period, indicate a communication error and flush buffer. At this point, no sense in buffering more messages
- when handshake has arrived, start processing buffered messages one by one exactly as you suggested (send once, wait shortly for ack, move on to the next message without trying to re-transmit the first (the RFXtrx has a built in re-transmission of commands))
The linking between tabs sounds as a very good way. As long as I also somehow can delay the trigger from one tab to another. To have flow-control during startup is to me a vital functionality in any system and that should be a requirement of the architecture. As example of this I have included a picture from another system that provides you with full control of the startup. The tree structure is loaded from top to bottom and you can re-arrange the order very easy by just moving items up or down in the tree. You can in addition add delays (wait items) as well as other useful actions (like jump, disable, enable and many others). As example I have added a 5 seconds wait after the initialization of the RFXtrx.
Is that EventGhost?
yes you can add any delay node you like
What are you using to control your awnings? I was thinking about adding support for blinds/curtains/gates and in general things that can be opened & closed in a future version but it needs more thought!
I also see you are repeating commands after a delay. How did you decide this was necessary and what delay are you using? I could add this to my -out nodes as an option which would simplify your flows somewhat.
Max
pi@raspberrypi:~/.node-red/node_modules/node-red-contrib-rfxcom $ RED_DEBUG=rfxcom node-red -v
Welcome to Node-RED===================
14 May 13:58:29 - [info] Node-RED version: v0.13.414 May 13:58:29 - [info] Node.js version: v0.10.2914 May 13:58:29 - [info] Linux 4.1.18+ arm LE14 May 13:58:29 - [info] Loading palette nodes14 May 13:59:19 - [info] Settings file : /home/pi/.node-red/settings.js14 May 13:59:19 - [info] User directory : /home/pi/.node-red14 May 13:59:19 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json14 May 13:59:19 - [info] Server now running at http://127.0.0.1:1880/14 May 13:59:21 - [info] Starting flows14 May 14:00:11 - [info] [inject:Show status] repeat = 6000014 May 14:00:34 - [info] Started flows14 May 14:00:34 - [info] [exec:1c4fa554.e3b05b] sudo hciconfig hci0 down14 May 14:00:35 - [info] [exec:eb00084f.14fff8] sudo hciconfig hci0 up14 May 14:00:38 - [info] [rfx-sensor:10ad99a2.b31826] connecting to /dev/ttyUSB014 May 14:00:38 - [info] [mqtt-broker:9099f2b4.8e3e2] Connection failed to broker: mqtt://192.168.10.248:188314 May 14:00:38 - [info] [mqtt-broker:b0587f20.ac192] Connection failed to broker: mqtt://192.168.10.252:188314 May 14:00:38 - [info] [mqtt-broker:98094263.86762] Connection failed to broker: mqtt://192.168.10.240:188314 May 14:00:38 - [info] [exec:813c8291.7ec38] sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,00,00,45,42,B2,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 07,10,01,01,4F,10,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 07,10,01,02,4F,10,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,03,00,45,42,B2,0C,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,04,00,45,42,B2,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,05,00,45,42,B2,0A,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,06,00,45,42,B2,0D,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,07,00,45,42,B2,08,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,08,00,45,42,B2,09,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,09,02,02,EF,FE,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,0A,02,02,EF,FE,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,0B,02,02,EF,FE,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,0C,00,45,42,B2,0F,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,0D,00,45,42,B2,08,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,0E,00,48,21,9A,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,0F,00,45,42,B2,0D,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,10,00,45,42,B2,0B,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,11,00,45,42,B2,09,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,12,00,45,42,B2,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,13,00,45,42,B2,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,14,00,45,42,B2,0B,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,15,00,46,7A,6E,03,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,16,00,45,42,B2,0F,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,17,00,46,7A,6E,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,18,00,45,42,B2,09,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,19,00,45,42,B2,0C,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,1A,00,45,42,B2,0B,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,1B,00,45,42,B2,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 07,10,01,1C,50,10,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 07,10,01,1D,50,10,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,1E,00,46,7A,6E,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,1F,00,48,21,9A,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,20,00,45,42,B2,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,21,00,45,42,B2,0C,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,22,00,45,42,B2,0D,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,23,00,45,42,B2,0A,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,24,00,46,7A,6E,03,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,25,00,45,42,B2,0A,01,0F,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,26,00,45,42,B2,08,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,27,00,45,42,B2,0E,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,28,00,45,42,B2,0F,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,29,00,45,42,B2,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,2A,00,45,42,B2,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,2B,00,45,42,B2,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,2C,00,46,7A,6E,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,2D,00,46,7A,6E,03,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,2E,00,48,21,9A,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0D,00,00,2F,00,00,00,00,00,00,00,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0D,00,00,30,02,00,00,00,00,00,00,00,00,0014 May 14:00:50 - [error] [function:b0124259.50bbb] TypeError: Cannot call method 'search' of null[rfxcom] on /dev/ttyUSB0 - Received: 14,01,00,30,02,53,01,04,00,26,00,01,00,1C,01,52,46,58,43,4F,4D[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,00,B7,00,00,6B,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,01,20,02,00,82,2F,00,79[rfxcom] on /dev/ttyUSB0 - Sent : 0D,00,00,31,07,00,00,00,00,00,00,00,00,0014 May 14:00:50 - [info] [rfx-sensor:10ad99a2.b31826] connected: Serial port /dev/ttyUSB0[rfxcom] on /dev/ttyUSB0 - Received: 14,01,07,31,07,43,6F,70,79,72,69,67,68,74,20,52,46,58,43,4F,4D[rfxcom] on /dev/ttyUSB0 - Copyright RFXCOM[rfxcom] on /dev/ttyUSB0 - Started command message queue[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,00,00,45,42,B2,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 07,10,01,01,4F,10,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 07,10,01,02,4F,10,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,00,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 00, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,03,00,45,42,B2,0C,01,0F,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,01,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 01, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,04,00,45,42,B2,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,02,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 02, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,05,00,45,42,B2,0A,01,0F,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,03,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 03, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,06,00,45,42,B2,0D,00,00,0014 May 14:00:53 - [info] [mqtt-broker:9099f2b4.8e3e2] Connected to broker: mqtt://192.168.10.248:188314 May 14:00:53 - [info] [mqtt-broker:98094263.86762] Connected to broker: mqtt://192.168.10.240:188314 May 14:00:53 - [info] [mqtt-broker:b0587f20.ac192] Connected to broker: mqtt://192.168.10.252:1883[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,04,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 04, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,07,00,45,42,B2,08,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,05,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 05, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,08,00,45,42,B2,09,01,0F,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,06,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 06, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,09,02,02,EF,FE,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,07,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 07, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,0A,02,02,EF,FE,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,08,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 08, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,0B,02,02,EF,FE,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,09,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 09, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,0C,00,45,42,B2,0F,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,0A,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 0A, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,0D,00,45,42,B2,08,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,0B,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 0B, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,0E,00,48,21,9A,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,0C,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 0C, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,0F,00,45,42,B2,0D,00,00,0014 May 14:01:00 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] 999 calls to Prowl api during current hour.[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,0D,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 0D, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,0E,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 0E, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,0F,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 0F, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,10,00,45,42,B2,0B,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,11,00,45,42,B2,09,01,0F,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,12,00,45,42,B2,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,10,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 10, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,11,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 11, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,13,00,45,42,B2,10,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,14,00,45,42,B2,0B,01,0F,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,12,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 12, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,15,00,46,7A,6E,03,00,00,0014 May 14:01:09 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] 998 calls to Prowl api during current hour.[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,13,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 13, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,16,00,45,42,B2,0F,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,14,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 14, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,17,00,46,7A,6E,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,15,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 15, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,18,00,45,42,B2,09,01,0F,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,16,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 16, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,19,00,45,42,B2,0C,01,0F,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,17,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 17, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,1A,00,45,42,B2,0B,01,0F,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,18,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 18, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,1B,00,45,42,B2,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,19,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 19, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 07,10,01,1C,50,10,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1A,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 1A, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 07,10,01,1D,50,10,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1B,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 1B, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,1E,00,46,7A,6E,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1C,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 1C, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,1F,00,48,21,9A,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1D,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 1D, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,20,00,45,42,B2,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1E,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 1E, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,21,00,45,42,B2,0C,01,0F,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,1F,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 1F, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,22,00,45,42,B2,0D,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,20,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 20, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,23,00,45,42,B2,0A,01,0F,0014 May 14:01:20 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] 997 calls to Prowl api during current hour.[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,21,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 21, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,24,00,46,7A,6E,03,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,22,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 22, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,25,00,45,42,B2,0A,01,0F,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,23,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 23, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,26,00,45,42,B2,08,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,24,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 24, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,27,00,45,42,B2,0E,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,25,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 25, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,28,00,45,42,B2,0F,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,26,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 26, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,29,00,45,42,B2,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,27,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 27, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,2A,00,45,42,B2,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,28,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 28, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,2B,00,45,42,B2,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,29,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 29, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,2C,00,46,7A,6E,07,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,2A,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 2A, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,2D,00,46,7A,6E,03,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,2B,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 2B, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,2E,00,48,21,9A,04,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,2C,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 2C, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,2D,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 2D, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,2E,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 2E, ACK - transmit OK14 May 14:01:31 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] 996 calls to Prowl api during current hour.[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,02,B7,00,00,6A,46,01,7914 May 14:01:40 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] 995 calls to Prowl api during current hour.[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,03,F7,00,00,D9,1F,02,7914 May 14:01:51 - [info] [prowl:084f9f0e9dac05ee376461268ffb9e24f462c6cd] 994 calls to Prowl api during current hour.[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,04,07,04,00,6C,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,05,20,02,00,82,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,06,B7,00,00,6A,46,01,79[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,32,00,45,42,B2,0A,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,32,00,45,42,B2,0A,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,33,00,45,42,B2,0A,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,33,00,45,42,B2,0A,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,34,00,45,42,B2,09,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,34,00,45,42,B2,09,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,32,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 32, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,35,00,45,42,B2,09,00,00,00[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,35,00,45,42,B2,09,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,36,00,45,42,B2,09,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,33,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 33, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,36,00,45,42,B2,09,00,00,00[rfxcom] on /dev/ttyUSB0 - Queued : 0B,11,00,37,00,45,42,B2,0A,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,34,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 34, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Sent : 0B,11,00,37,00,45,42,B2,0A,00,00,00[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,35,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 35, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,36,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 36, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Received: 04,02,01,37,00[rfxcom] on /dev/ttyUSB0 - Response: Command message 37, ACK - transmit OK[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,07,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,08,B7,00,00,6A,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,09,07,04,00,6C,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,0A,F7,00,00,D9,1F,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,0B,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,0C,B7,00,00,6A,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,0D,07,04,00,6C,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,0E,F7,00,00,D9,1F,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,0F,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,10,07,04,00,6C,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,11,B7,00,00,6A,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,12,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,13,F7,00,00,D9,1F,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,14,07,04,00,6C,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,15,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,16,B7,00,00,6A,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,17,F7,00,00,D9,1F,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,18,07,04,00,6C,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,19,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,1A,B7,00,00,6A,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,1B,F7,00,00,D9,1F,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,1C,07,04,00,6C,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,1D,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,1E,B7,00,00,6A,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,1F,F7,00,00,D9,1F,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,20,07,04,00,6C,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,21,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,22,B7,00,00,6A,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,23,F7,00,00,D9,1F,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,24,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,25,07,04,00,6C,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,26,B7,00,00,6A,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,27,F7,00,00,D9,1F,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,28,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,29,07,04,00,6C,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,2A,B7,00,00,6A,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,2B,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,2C,07,04,00,6C,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,2D,F7,00,00,D9,1F,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,2E,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,2F,B7,00,00,6A,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,30,07,04,00,6B,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,31,F7,00,00,D9,1F,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,32,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,33,F7,00,00,D9,1F,02,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,34,20,02,00,83,2F,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,01,35,07,04,00,6B,3A,00,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,36,B7,00,00,69,46,01,79[rfxcom] on /dev/ttyUSB0 - Received: 0A,52,09,37,F7,00,00,D9,1F,02,79
What are you using to control your awnings? I was thinking about adding support for blinds/curtains/gates and in general things that can be opened & closed in a future version but it needs more thought!
I also see you are repeating commands after a delay. How did you decide this was necessary and what delay are you using? I could add this to my -out nodes as an option which would simplify your flows somewhat.
msg.payload = 'Off';
if(msg.method=='dim' ) { msg.payload = 'level 15';}
if(msg.method=='turnoff' ) { msg.payload = 'Off';}
if(msg.method=='turnon' ) { msg.payload = 'On';}
for (i = 0; i < 3; i++) { node.send(msg);}
if(!context.global.sunInit){ return;}
// initialise the variables if they doesn't exist alreadycontext.i = context.i || 0; context.o = context.o || 0;context.tick = context.tick || 0;context.mem = context.mem || null;
var result = null;var target = 20;var msg1 = null;
context.o += parseInt(msg.payload);context.i += 1;
if( context.i==6) { if(context.o === 0 || (context.global.sunState && !context.global.sunOffsetOutdoor) ) { msg = { method: 'turnoff', }; result = 2; } if(context.o > 0 && (!context.global.sunState || context.global.sunOffsetOutdoor) ) { msg = { method: 'dim', dimlevel: 255 }; result = 1; } context.tick += 1; context.i = 0; context.o = 0; if( context.mem !== result ) { node.send(msg); context.mem = result; } if( context.tick == target) { node.send(msg); context.tick = 0; } node.status({ fill : "yellow", shape : "ring", text : "Counter: "+context.tick+" Target: "+target });}return;
I'm a bit puzzled by the number of repeat commands you seem to be sending
I think I know the reason why this happens; it is not that I wan't it but it is because I have a number of BigTimers controlling the same devices and they are all initiating simultaneously at startup. At startup, I have no idea which one of the BigTimers will be the "active" ones, it is depending on day of week and is self-organized so to say (see screen shot below showing one tab of my flow). Adding further delay nodes would distribute the commands better but would make the flow more complex. Maybe better to leave it as is...now that everything is working so smoothly