[SOLVED] I use serial GW 2.1.1 and my sensor node won't connect
-
Hi @bjacobse,
thank you for answer. I'm back to my project after e few days.
Actually, the "Accept new Hardware Devices" switch is on. I also used the "Alow for 5 minutes" button. Let me share more details:- pls find log of Domoticz:
2018-01-22 09:55:34.871 MySensors: retrying in 30 seconds... 2018-01-22 09:56:00.874 MySensors: Serial Worker stopped... 2018-01-22 09:56:11.130 New sensors allowed for 5 minutes... 2018-01-22 09:56:43.077 MySensors: Using serial port: /dev/ttyUSB0 2018-01-22 10:02:38.123 MySensors: Serial Worker stopped... 2018-01-22 10:02:39.134 MySensors: Using serial port: /dev/ttyUSB0 2018-01-22 10:03:38.156 New sensors allowed for 5 minutes... 2018-01-22 10:04:00.048 Error: Gwx hardware (2) nothing received for more than 1 Minute!.... 2018-01-22 10:04:01.049 Error: Restarting: Gwx 2018-01-22 10:04:01.146 MySensors: Serial Worker stopped... 2018-01-22 10:04:02.157 MySensors: Using serial port: /dev/ttyUSB0 2018-01-22 10:05:30.219 Error: Gwx hardware (2) nothing received for more than 1 Minute!.... 2018-01-22 10:05:31.220 Error: Restarting: Gwx 2018-01-22 10:05:32.170 MySensors: Serial Worker stopped... 2018-01-22 10:05:33.181 MySensors: Using serial port: /dev/ttyUSB0 2018-01-22 10:07:00.204 Error: Gwx hardware (2) nothing received for more than 1 Minute!.... etc- screen shots:
-
list itemSetup->Hardware:
![Gateway settings]https://drive.google.com/file/d/1NjJZMlaM98XaZ-UCY93pyeHcKbT7ZZoh/view?usp=sharing -
list itemSetup->Hardware Gwx setup:
![Gwx Setup]https://drive.google.com/file/d/1vDVDcLGaGK_g3-uYQrl_DnlHlbvjq87Z/view?usp=sharing -
list itemSetup->Settings:
![Domoticz Settings]https://drive.google.com/file/d/15bkfnHx6rEcqRnTvLVOydwPK63dy83xe/view?usp=sharing
@mario64
one update information (Gateway)
when I press reset button on Arduino Nano board, I get one additional line on serial monitor:
0;255;3;0;2;2.1.1and on domoticz HW setup screen, I get one children of node with name: S_ARDUINO_REPEATER_NODE. see screenshot:
![ ]https://drive.google.com/file/d/1Pjqy7XKA5V9nZYmP90V8hR-pfDy26hc8/view?usp=sharing -
@mario64
one update information (Gateway)
when I press reset button on Arduino Nano board, I get one additional line on serial monitor:
0;255;3;0;2;2.1.1and on domoticz HW setup screen, I get one children of node with name: S_ARDUINO_REPEATER_NODE. see screenshot:
![ ]https://drive.google.com/file/d/1Pjqy7XKA5V9nZYmP90V8hR-pfDy26hc8/view?usp=sharing@mario64
That is normal, if you use the Log Parser (Search) you will understand the message...
Domoticz does that with nodes "S_ARDUINO_REPEATER_NODE", no need to worry.... -
maybe trying to use an "older" version for BOTH serial gateway and node. remember for the node to use the special sketch that erases/clear eeprom, as it contains the node id given from the gateway.
I
m out of good ideas -
@mario64
That is normal, if you use the Log Parser (Search) you will understand the message...
Domoticz does that with nodes "S_ARDUINO_REPEATER_NODE", no need to worry....@zboblamont
So, gateway works as repeater by default? I also expected that on reset, whole initial sequence should appear, not just 0;255;3;0;2;2.1.1. -
@zboblamont
So, gateway works as repeater by default? I also expected that on reset, whole initial sequence should appear, not just 0;255;3;0;2;2.1.1.@mario64 It does not work as a repeater, it registers via Domoticz as a node with a child ID of 255 (Internal effectively) under Setup/Hardware/Nodes, sometimes listed as a Repeater.
It baffled me originally as I have no repeaters nor a need for them, but that is what Domoticz does. Since you can activate which child sensors are active under Domoticz, you can simply ignore them anyway.
Not sure if you have figured this out yet without reading back to confirm it, but until you send a sensor reading after presentation the device will not show up within Domoticz and remains in the background....