CoolKit-Technologies / ha-addon

Apache License 2.0
253 stars 117 forks source link

Can't control Brightness or Temperature of Sonoff B02-F-A60 #113

Open LuigiPapino opened 1 year ago

LuigiPapino commented 1 year ago

I have three bulbs Sonoff B02-F. I can control them fine from the app or the ewelink page inside HomeAssitant. While controlling from Homessistant directly, I can turn on/off but can't control temperature or brightness. Simply nothing happens.

My main use case is to be able to control the bulbs from add-ons like AdaptiveLightning that will change the temperature an brightness during the day to match the sunlight.

image

I'm attaching the logs from homeassistant.log and the logs from the add-ons page of eWeLink when trying to change brightness.

2023-01-09 16:54:44.442 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137b970, light.100137c132, light.100137c8fe or it is/they are currently not available
2023-01-09 16:54:46.142 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137c132 or it is/they are currently not available
2023-01-09 16:54:47.870 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137c132 or it is/they are currently not available
2023-01-09 16:54:59.017 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137c132 or it is/they are currently not available
2023-01-09 16:55:18.082 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137c132 or it is/they are currently not available
2023-01-09 16:55:21.910 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137c132 or it is/they are currently not available
2023-01-09 16:55:54.553 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137c132 or it is/they are currently not available
2023-01-09 16:55:55.973 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137c132 or it is/they are currently not available
2023-01-09 16:56:14.445 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137b970, light.100137c132, light.100137c8fe or it is/they are currently not available
2023-01-09 16:56:26.895 WARNING (MainThread) [homeassistant.components.automation.bedroom_motion_lights] Bedroom - Motion Lights: Already running
2023-01-09 16:57:44.449 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137b970, light.100137c132, light.100137c8fe or it is/they are currently not available
2023-01-09 16:59:14.452 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137b970, light.100137c132, light.100137c8fe or it is/they are currently not available
2023-01-09 17:00:44.451 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137b970, light.100137c132, light.100137c8fe or it is/they are currently not available
2023-01-09 17:02:14.455 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137b970, light.100137c132, light.100137c8fe or it is/they are currently not available
2023-01-09 17:03:44.470 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137b970, light.100137c132, light.100137c8fe or it is/they are currently not available
2023-01-09 17:04:20.146 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137c132 or it is/they are currently not available
2023-01-09 17:04:47.020 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.100137c132 or it is/they are currently not available
2023-01-09T17:04:45.468Z [INFO] HA emit call_service event: {"domain":"light","service":"turn_off","service_data":{"entity_id":["light.bedroom_2","light.bedroom_3","light.bedroom_1"]}}
2023-01-09T17:04:47.020Z [INFO] HA emit call_service event: {"domain":"light","service":"turn_on","service_data":{"entity_id":"light.100137c132","brightness_pct":89}}
2023-01-09T17:04:52.138Z [INFO] Found LAN multi-color lamp
2023-01-09T17:04:52.149Z [INFO] Get double color bulb message, params: {"switch":"on","ltype":"computer","computer":{"br":20,"ct":255},"sequence":"123456789","selfApikey":""}
2023-01-09T17:04:52.238Z [INFO] Found LAN multi-color lamp