I recently bought an “Orein Smart Motion Security Light” partly because a Mr Bruce R Cleghorn wrote in a positive review on Amazon that “it Integrates with Home Assistant perfectly”.
It works perfectly with the AiDot app on Android on the same network.
I have added the “AiDot Home Assistant Integration” version v1.2.0 via HACS and I have set up the integration with my country, username and password. The integration found my light with the name I had given it in the AiDot app (Stable Door Security Light)
I have a new light icon with a switch in my HA overview.
This switch kind of controls the light.
The first time I slide the switch to the “on” position the light comes on, but a few seconds later the switch turns “off” but the light stays on for the pre-set 30 seconds.
Subsequent attempts to turn the light on usually works but produces an error message:
Failed to perform the action light/turn_off.light.stable_door_security_light (<class ‘custom_components.aidot.light.AidotLight’>) set to unsupported color mode rgbw, expected one of {ColorMode,BRIGHTNESS:‘brightnes’>}
The only way I have found to turn the light off is do so during the two seconds or so that the swich stays in the “on” position.
I am trying to control the light using node-red. Within the HA Action node I am using Action light.turn_on and light.turn_off this works occasionally. To turn the light off I have send a turn on immediately followed by a turn off.
Has anybody got (other than Mr Cleghorn ) got this working properly. I am quite new at this and may have misunderstood things. Thanks for any help.