Changing Node Id of Serial Gateway
-
Hello.
Can I change Node ID of the Serial gateway? I'm using Domoticz as a controller.
I tried to change the code
gw.begin(incomingMessage, 24, true, 0);
// also tried gw.begin(incomingMessage, 24, true, 24);and changed each
serial(PSTR("0;0;%d;0;%d; .........
into
serial(PSTR("24;0;%d;0;%d;.............// also tried cahnging into serial(PSTR("24;24;%d;0;%d;.............
I made changes in the files SerialGateway and SerialGatewayUtil
The node with sensor sees SerialGateway; Domoticz showes log "Serial gateway ready", but Domoticz does not see the sensor.
-
No, you cannot. May I ask why?
-
I suppose that this could increase security a little bit. Sorry to hear that this is impossible.
-
How would it increase security?
-
Well, if one wants to steal a signal, it would be more difficult to him to understand what is happening. It is some kind of Security through obscurity.
On the other hand if something wants to pretend being a gateway, it would be more difficult to find out what node id does the node have.
I understand that this not huge security upgrade but this can cause some difficulties for intruder.
-
This thread might be of interest if you want to increase security: http://forum.mysensors.org/topic/1021/security-introducing-signing-support-to-mysensors
There is also a sniffer available to capture traffic (including node ids): https://www.mysensors.org/controller/sniffer
-
I've seen the security link, but sniffer is very interesting indeed. Thank You!
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
PJON and Minicore not working
Development • 26 days ago • Trand 26 days ago -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07