How can you change the node description OTA
-
I am setting up nodes but having trouble identifying them as they all end up with the same description its because I'm a bit lazy and don't like having to change my sketch for each new node I make.
When I load a sketch if I want a different description I have to put it into the sketch and would really like to be able to set it afterwards using some sort of C_SET message.
Currently I set this in code as below
present(RTCSENSOR, S_INFO, RTCSENSOR_DESCRIPTION, false);
Does anybody have any idea where I would start. I guess i would use
void receive(const MyMessage &message)
However once my node has received the data how do I use it to update the node description?
Any suggestions or pointers on where to start would be appreciated.
1 out of 1
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Home Assistant/MySensors quirks
Development • 18 days ago • OldSurferDude 18 days ago -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
MQTT-Help me understand about the MQTT Gateway.
Development • 2 Mar 2025, 01:44 • dpcons 22 days ago -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07