al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.4k stars 615 forks source link

Mi Home 360 camera (chuabgmi.camera.ipc019) stopped working #976

Open new-kirte opened 1 year ago

new-kirte commented 1 year ago

All of a sudden camera stopped working and I am getting the error: 2023-01-04 18:08:19.019 ERROR (MainThread) [custom_components.xiaomi_miot.camera] Play Area Camera(chuangmi.camera.ipc019): Got MiioException while fetching the state: Unable to discover the device 192.168.100.133, mapping: {'camera_control.on': {'siid': 2, 'piid': 1}, 'camera_control.image_rollover': {'siid': 2, 'piid': 2}, 'camera_control.night_shot': {'siid': 2, 'piid': 3}, 'camera_control.time_watermark': {'siid': 2, 'piid': 4}, 'camera_control.wdr_mode': {'siid': 2, 'piid': 5}, 'glimmer_full_color-2-6': {'siid': 2, 'piid': 6}, 'camera_control.recording_mode': {'siid': 2, 'piid': 7}, 'camera_control.motion_tracking': {'siid': 2, 'piid': 8}, 'stream_status-3-1': {'siid': 3, 'piid': 1}}, max_properties: 10/9

new-kirte commented 1 year ago

It seems that component setting "automatic" diverts to local, so the camera needs miot_cloud: true in customize.xml

al-one commented 1 year ago

Yes, the device is integrated via LAN by default. If it is not in the same network as HA, you need to enable the miot_cloud through customization.

new-kirte commented 1 year ago

Yes, the device is integrated via LAN by default. If it is not in the same network as HA, you need to enable the miot_cloud through customization.

Thanks, but then what is the difference between Automatic and Local in the configuration? Automatic was earning for almost 12 months and broke in the last version.

al-one commented 1 year ago