items:
Number Room_Climate_Temp "Температура в комнате [%.1f °C]" <temperature> (gHistory) {channel="mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:temperature"}
Number Room_Climate_Humi "Влажность в комнате [%.0f %%]" <humidity> (gHistory,gLastUpdate) {channel="mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:humidity"}
Number Room_Climate_Press "Давление [%.0f кПа]" <pressure> (gHistory,gLastUpdate) {channel="mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:pressure"}
Number Room_Climate_Battery "Климат в комнате [%d%%]" <battery> (gHistory,gMinLevelBattery) {channel="mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:batteryLevel"}
Switch Room_Climate_BatteryLow "Климат в комнате [%s]" <lowbattery> (gHistory,gBatteryLow) {channel="mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:lowBattery"}
DateTime Room_Climate_Temp_Update "Обновлено [%1$tH:%1$tM %1$td.%1$tm]" <time> (gRestore) {channel="mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:temperature" [profile="timestamp-update"]}
DateTime Room_Climate_Temp_Change "Изменено [%1$tH:%1$tM %1$td.%1$tm]" <time> (gRestore) {channel="mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:temperature" [profile="timestamp-change"]}
DateTime Room_Climate_Humi_Update "Обновлено [%1$tH:%1$tM %1$td.%1$tm]" <time> (gRestore)
DateTime Room_Climate_Humi_Change "Изменено [%1$tH:%1$tM %1$td.%1$tm]" <time> (gRestore)
DateTime Room_Climate_Press_Update "Обновлено [%1$tH:%1$tM %1$td.%1$tm]" <time> (gRestore)
DateTime Room_Climate_Press_Change "Изменено [%1$tH:%1$tM %1$td.%1$tm]" <time> (gRestore)
DateTime Room_Climate_Battery_Update "Обновлено [%1$tH:%1$tM %1$td.%1$tm]" <time> (gRestore) {channel="mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:batteryLevel" [profile="timestamp-update"]}
DateTime Room_Climate_Battery_Change "Изменено [%1$tH:%1$tM %1$td.%1$tm]" <time> (gRestore) {channel="mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:batteryLevel" [profile="timestamp-change"]}
log:
2020-08-20 11:22:08.373 [DEBUG] [internal.handler.XiaomiBridgeHandler] - Adding item listener for device 158d0001d36b65
2020-08-20 11:22:08.379 [TRACE] [internal.handler.XiaomiBridgeHandler] - Received message {"cmd":"get_id_list_ack","sid":"286c07fa22a3","token":"ZLNCOTQltYV8rhrr","data":"[\"158d0001e56c1c\",\"158d0001b7b5c1\",\"158d0001b7acc7\",\"158d0001b91d19\",\"158d00014cec71\",\"158d00015afb4b\",\"158d000159c0f2\",\"158d0001d36b65\",\"158d000149d797\",\"158d0001832cf4\",\"158d00010c14aa\",\"158d000319bfaf\",\"158d000302c566\",\"158d00023915a3\",\"158d00020598b3\",\"158d0001291464\"]"}
2020-08-20 11:22:08.403 [DEBUG] [rnal.handler.XiaomiDeviceBaseHandler] - Device 158d0001d36b65 on channel mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:humidity received command REFRESH
2020-08-20 11:22:08.403 [DEBUG] [rnal.handler.XiaomiDeviceBaseHandler] - Device 158d0001d36b65 on channel mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:temperature received command REFRESH
2020-08-20 11:22:08.403 [DEBUG] [rnal.handler.XiaomiDeviceBaseHandler] - Device 158d0001d36b65 on channel mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:pressure received command REFRESH
2020-08-20 11:22:08.412 [DEBUG] [rnal.handler.XiaomiDeviceBaseHandler] - Device 158d0001d36b65 on channel mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:batteryLevel received command REFRESH
2020-08-20 11:22:08.412 [DEBUG] [rnal.handler.XiaomiDeviceBaseHandler] - Device 158d0001d36b65 on channel mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65:lowBattery received command REFRESH
2020-08-20 11:22:08.446 [DEBUG] [internal.handler.XiaomiBridgeHandler] - Send to bridge mihome:bridge:286c07fa22a3: {"cmd": "read", "sid": "158d0001d36b65"}
2020-08-20 11:22:08.450 [TRACE] [.mihome.internal.socket.XiaomiSocket] - Sending message: {"cmd": "read", "sid": "158d0001d36b65"} to /192.168.203.140:9898
2020-08-20 11:22:08.710 [TRACE] [internal.handler.XiaomiBridgeHandler] - Received message {"cmd":"read_ack","model":"weather.v1","sid":"158d0001d36b65","short_id":60013,"data":"{\"voltage\":2865,\"temperature\":\"2170\",\"humidity\":\"6216\",\"pressure\":\"96066\"}"}
2020-08-20 11:22:08.712 [TRACE] [internal.handler.XiaomiBridgeHandler] - Updated "last time seen" for device 158d0001d36b65
2020-08-20 11:22:08.726 [DEBUG] [internal.handler.XiaomiBridgeHandler] - Device 158d0001d36b65 honored read request
2020-08-20 11:22:08.726 [DEBUG] [rnal.handler.XiaomiDeviceBaseHandler] - Item got update: {"cmd":"read_ack","model":"weather.v1","sid":"158d0001d36b65","short_id":60013,"data":"{\"voltage\":2865,\"temperature\":\"2170\",\"humidity\":\"6216\",\"pressure\":\"96066\"}"}
events:
2020-08-20 11:22:06.410 [hingStatusInfoChangedEvent] - 'mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2020-08-20 11:22:07.462 [hingStatusInfoChangedEvent] - 'mihome:bridge:286c07fa22a3' changed from INITIALIZING to ONLINE
2020-08-20 11:22:07.505 [hingStatusInfoChangedEvent] - 'mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
2020-08-20 11:22:08.381 [hingStatusInfoChangedEvent] - 'mihome:gateway:286c07fa22a3:286c07fa22a3' changed from INITIALIZING to ONLINE
2020-08-20 11:22:08.384 [hingStatusInfoChangedEvent] - 'mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65' changed from INITIALIZING to OFFLINE
2020-08-20 11:22:08.727 [hingStatusInfoChangedEvent] - 'mihome:sensor_weather_v1:286c07fa22a3:158d0001d36b65' changed from OFFLINE to ONLINE
2020-08-20 11:22:08.729 [vent.ItemStateChangedEvent] - Room_Climate_Humi changed from NULL to 62.16
2020-08-20 11:22:08.733 [vent.ItemStateChangedEvent] - Room_Climate_Temp_Change changed from NULL to 2020-08-20T11:22:08.730+0800
2020-08-20 11:22:08.738 [vent.ItemStateChangedEvent] - Room_Climate_Temp changed from NULL to 21.7
2020-08-20 11:22:08.742 [vent.ItemStateChangedEvent] - Room_Climate_Temp_Update changed from NULL to 2020-08-20T11:22:08.739+0800
2020-08-20 11:22:08.746 [vent.ItemStateChangedEvent] - Room_Climate_Battery changed from NULL to 41
2020-08-20 11:22:08.749 [vent.ItemStateChangedEvent] - Room_Climate_Battery_Update changed from NULL to 2020-08-20T11:22:08.746+0800
2020-08-20 11:22:08.753 [vent.ItemStateChangedEvent] - Room_Climate_Battery_Change changed from NULL to 2020-08-20T11:22:08.749+0800
2020-08-20 11:22:08.761 [vent.ItemStateChangedEvent] - Room_Climate_BatteryLow changed from NULL to OFF
2020-08-20 11:22:08.762 [vent.ItemStateChangedEvent] - Room_Climate_Press changed from NULL to 96.066
2020-08-20 11:22:14.777 [vent.ItemStateChangedEvent] - Room_Climate_Press_Change changed from NULL to 2020-05-15T09:50:06.000+0800
2020-08-20 11:22:15.021 [vent.ItemStateChangedEvent] - Room_Climate_Humi_Change changed from NULL to 2020-05-15T09:50:16.000+0800
2020-08-20 11:22:15.057 [vent.ItemStateChangedEvent] - Room_Climate_Humi_Update changed from NULL to 2020-08-20T10:56:06.000+0800
2020-08-20 11:22:15.143 [vent.ItemStateChangedEvent] - Room_Climate_Press_Update changed from NULL to 2020-08-20T10:56:06.000+0800