|
发表于 2017-9-25 18:28:27
|
显示全部楼层
大神,
按照教程成功了,但是HOMEKIT不显示PM2.5的数据要怎么设置?
HB的日志如下
Received event: {"event_type": "state_changed", "data": {"entity_id": "sensor.pm25", "old_state": {"entity_id": "sensor.pm25", "state": "12", "attributes": {"unit_of_measurement": "\u00b5g/m\u00b3", "friendly_name": "PM2.5", "homebridge_name": "\u7a7a\u6c14\u8d28\u91cf", "homebridge_hidden": false}, "last_changed": "2017-09-25T09:54:09.124716+00:00", "last_updated": "2017-09-25T09:54:09.124716+00:00"}, "new_state": {"entity_id": "sensor.pm25", "state": "11", "attributes": {"unit_of_measurement": "\u00b5g/m\u00b3", "friendly_name": "PM2.5", "homebridge_name": "\u7a7a\u6c14\u8d28\u91cf", "homebridge_hidden": false}, "last_changed": "2017-09-25T09:55:09.220623+00:00", "last_updated": "2017-09-25T09:55:09.220623+00:00"}}, "origin": "LOCAL", "time_fired": "2017-09-25T09:55:09.220794+00:00"} |
|