merdok/homebridge-miot

Support for Linptech Human Presence sensor

Closed this issue · 6 comments

Device model
linp.sensor_occupy.hb01

Device name
Linptech human presence sensor

Does the device require a MiCloud connection?
It seems that. Without Mi cloud, device was not recognized by Homebridge.

Anything special about the device?
By using MiCloud connection, sensor was added.
But, presence property was not shown properly.

Thanks, for the request! Will check it out!

I configured property monitor like below.
By doing this, occupancy-sensor:occupancy-status can be seen as presence in Homekit.
But, state is not correct. All the time absence.
Presence sensor

This is the same issue as in your other device. Need to modify config.json manually.

Thanks a lot. It works perfectly.

How is the modification?Same issue and the json config is below.

        "propertyMonitor": [
            {
                "property": "occupancy-sensor:occupancy-status",
                "value": "1",
                "valueOperator": "equal"
            }
        ]

@fbi007130 value should be 1 as number, so it would look like this:
"value": 1,
unfortunately you have to be careful about the values types...
using the ui, it will always put it is a a string, so you have to do that entries manually in the config.json