ok great, so its working mostly.
This morning, some of the sensors started showing up. Like:
- pet door as name Kitchen
- unlock and lock time
- curfew
- pets as their names etc
Maybe a nice improvement will be to add the following to the home assistant auto configuration:
unique_id:
An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception.
device:
You must have the same parameters for each entity
So for device it can be the device serial/nr as in the sqlite db
Unique id per mqtt item can be soemthing like device+sensor name.
You can see how someone else suggested this to me on something else I worked on at MQTT demultiplexer automatic sensor discovery for tasmota2zigbee (last post currently)
Then it will be much easier to find the sensors in the mqtt integration, I currently have MANY sensors in there, so difficult to figure out which ones are from local_pethub.