-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pick up on automatically assigned node ID's #22
Comments
Woohoo! I will test it! |
It works. However, the node name does not come through yet. They are all called "new node" in the JSON. I don't know if that matters.
|
Since we are creating the node during child sensor's presentation message - I couldn't determine the node name. This can be altered using a put request. For the sensors I like the idea of keeping the description in presentation message as sensor name. I'll work on that. For node name I was depending on the Firmware request message (which we get when the MySensorBootloader is used). Now we need to see if there is another presentation message by the (parent) node and use it. |
Wouldn't the "sendSketchInfo" call be the logical place to get the name? sendSketchInfo(F("Gentle alarm clock"), F("1.6")); Dec 10 15:20:30 DEBUG TSF:MSG:READ,15-15-0,s=255,c=3,t=11,pt=0,l=18,sg=0:Gentle alarm clock |
I'll look into it. |
In MySensors node ID's are often generated automatically.
As discussed, the MySController-rs software could pick up on these ID's.
Here's a typical ID message:
Nov 20 09:06:07 DEBUG TSF:MSG:READ,15-15-0,s=255,c=3,t=11,pt=0,l=21,sg=0:SMS & password relays
Here's another one from a temperature-humidity-barometer node (using the popular Bosch BME280 sensor).
The text was updated successfully, but these errors were encountered: