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 -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
MQTT-Help me understand about the MQTT Gateway.
Development • 2 Mar 2025, 01:44 • dpcons 12 Mar 2025, 23:39 -
PJON and Minicore not working
Development • 26 days ago • Trand 26 days ago -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59