Closed matt1aw closed 10 months ago
it might be a micloud only device. You need specify your micloud credentials and set the forceMiCloud flag to true in the config and check if that helps.
MiCloud
credentials and forceMiCloud
flag have been set, only a Switch accessory is generated this time.
Homebridge Log
[14/07/2023, 09:09:20] [miot] Initializing devices
[14/07/2023, 09:09:20] [miot] [空氣檢測儀MIOT] Got device configuration, initializing device with name: 空氣檢測儀MIOT
[14/07/2023, 09:09:20] [miot] [空氣檢測儀MIOT] Model known: cgllc.airmonitor.s1 !
[14/07/2023, 09:09:20] [miot] [空氣檢測儀MIOT] Initializing device!
[14/07/2023, 09:09:22] [miot] [空氣檢測儀MIOT] Fetching device miot spec by model: cgllc.airmonitor.s1
[14/07/2023, 09:09:25] [miot] [空氣檢測儀MIOT] Initializing device services
[14/07/2023, 09:09:25] [miot] [空氣檢測儀MIOT] Device services: [
"generic-switch"
]
[14/07/2023, 09:09:25] [miot] [空氣檢測儀MIOT] Initializing device properties
[14/07/2023, 09:09:25] [miot] [空氣檢測儀MIOT] Device properties: [
"generic:on"
]
[14/07/2023, 09:09:25] [miot] [空氣檢測儀MIOT] Initializing device actions
[14/07/2023, 09:09:25] [miot] [空氣檢測儀MIOT] Device not supported! Using a generic device with limited properties! Consider requesting device support!
[14/07/2023, 09:09:25] [miot] [空氣檢測儀MIOT] Initializing accessory!
[14/07/2023, 09:09:25] [miot] [空氣檢測儀MIOT] Accessory successfully initialized!
[14/07/2023, 09:09:25] [miot] [空氣檢測儀MIOT] Registering 1 accessories!
[14/07/2023, 09:09:25] [miot] [空氣檢測儀MIOT] Everything looks good! Initiating property polling!
[14/07/2023, 09:09:25] [miot] [空氣檢測儀MIOT] Log in to MiCloud!
[14/07/2023, 09:09:26] [miot] [空氣檢測儀MIOT] Successfully connected to MiCloud! Setting up miot device from MiCloud connection!
[14/07/2023, 09:09:27] [miot] [空氣檢測儀MIOT] Connected to device: cgllc.airmonitor.s1
[14/07/2023, 09:09:27] [miot] [空氣檢測儀MIOT] Doing initial property fetch.
[14/07/2023, 09:09:27] [miot] [空氣檢測儀MIOT] Starting property polling.```
Then you have a typo somewhere probably in your model.
You are right... There are some spaces in the model. I will further check the status of the accessories later. Many thanks anyway!
Device model cgllc.airmonitor.s1
Device name Qingping Air Monitor
Does the device require a MiCloud connection? Do not know
Anything special about the device? Does it already work with the plugin with a limited scope (can be controlled using the auto created switch)? No, though Air Quality Sensor, Carbon Dioxide Sensor, Temperature Sensor, Humidity Sensor & Battery Service accessories are generated, the readings or status seems to be wrong or show as 0 or 1
Homebridge Log