Relay on MQTT Gateway 2.0 error
-
Hi,
I have installed relays (and other sensors) on the MQTT Gateway, I a using the latest version of MySensors development branch, HomeAssistant 11 and 12 (I think this shouldn't matter, since use MQTT). If the CHILD_ID use the same number on the Gateway as any of nodes, the relay on the gateway react also when I use the relay on the node! When command direct the relay on the gateway, they works fine.
So, the relays on the gateway react if their CHILD_ID is the same with any nodes in the network, the gateway switches doesn't look for the NODE_ID.
Should I insert something special in the gateway sketch when use sensors/switches, like check the node number?
-
Until the problem will be solved, the solution is to use other range numbers for gateway relays, I go for single numbers in nodes (1, 2 ...) and high range for the gateway (101, 102...). I also have updated my examples on GitHub and use this approach to my project very close to final stage.
Suggested Topics
-
Code for beta-testing?
Controllers • 24 Mar 2014, 20:48 • andriej 9 Aug 2014, 10:44 -
ACK -aka ECHO beeing missed by Serial Gateway with RF24 radios. V2.3.2
Bug Reports • 15 Apr 2023, 06:27 • GaryStofer 21 Apr 2023, 17:34 -
ESP32 + Signing fails after xxx msg as result of memory leak
Bug Reports • 6 Apr 2020, 18:43 • Technovation 7 Mar 2022, 10:37 -
Boards esp8266 v3.1.0 or Newer Doesn't Work with MySensors
Bug Reports • 21 Feb 2023, 01:55 • d-smes 25 Feb 2023, 19:37 -
sleep(0) in V2.1 doesn't sleep indefinitely anymore. Used to powerdown and sleep in V1.5
Bug Reports • 22 Nov 2019, 00:35 • GaryStofer 15 Apr 2023, 05:50 -
Sensor presentation failure
Bug Reports • 31 Jul 2016, 19:23 • Sergio Rius 3 Mar 2021, 18:48