better handling of new sensors and after battery change (sensors sending new battery flag) #3
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
flo/JeeLinkLogMQTT#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
LaCrosse sensors select a random ID on every battery change.
They then send a "new battery" flag for some time so that the console can be "paired" to that specific sensor by inserting their batteries.
Therefore when replacing the batteries on an existing sensor, it must be configured to it´s new ID every time.
Despite this there is another problem about this: sometimes a sensor will choose an ID that is already used by another sensor, leading to wrong published/logged data.
Enhancements:
check ID of every sensor sending the new battery flag against existing configured sensor IDs and:
send a notification whenever a new sensor with non existing ID is detected
Difficulties: