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 -
NRF51-52 PA not support ???
Bug Reports • 23 Feb 2019, 16:40 • berkseo 8 Jul 2021, 11:42 -
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 -
RFM95W sleep() directly after send() often doesn't sleep radio
Bug Reports • 1 Jan 2023, 18:41 • prawnpie 8 Jan 2023, 05:36 -
Making WiFiManager compatible with MySensors 2.3.2
Bug Reports • 12 Feb 2020, 21:43 • pihome 1 Jun 2022, 16:02 -
some differences between serial- and tcp-gateways.
Bug Reports • 15 Mar 2023, 09:26 • Branther 30 Mar 2023, 15:40