pihome-shc / pihome

PiHome - Smart Heating, Ventilation and Air Conditioning (HVAC)
http://www.pihome.eu
Other
52 stars 25 forks source link

MySensors Nodes without ID #321

Open pihome-shc opened 3 years ago

pihome-shc commented 3 years ago

right now there isnt any option of way to assign nod id to any nodes when Node iD isnt hardcoded into the sketch.

twa127 commented 3 years ago

Are you thinking of something like a sonoff?

pihome-shc commented 3 years ago

@twa127 I was testing mysensors and realised we don’t have anyway to assigning id broadcasters nodes, i.e if node don’t have id hard coded in sketch.

On 12 Jul 2020, at 09:25, twa127 notifications@github.com wrote:

Are you thinking of something like a sonoff?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

pihome-shc commented 3 years ago

@twa127 i think my approach is little bit wrong, right now gateway look for records in node_id table and assign next available node id. i think better way would be if it look for highest number id in node table and assign next id this way user dont need to enter all 0 to 254 number in node_id table.