Replies: 3 comments 4 replies
-
The Logbook would be a better place to see where it is coming from than the log, I think. |
Beta Was this translation helpful? Give feedback.
-
perhaps you can also try to only trigger your automation using the state of the light from "off" to "on" instead of just triggering by "on" |
Beta Was this translation helpful? Give feedback.
-
Update, I have disabled the Alexa Media integration and these random calls have all gone away except for 1 ceiling fan+light device, the light continues to haunt me. If the Alexa integration was causing the random calls, I am not aware why? When looking into the Alexa settings in the app, there are no hunches activated, automations set and the Alexa app activity log does not show anything. I will give it some time and enable the integration to see if the random lights reappear. I have looked through the automations and to the best of my ability to understand all this I am not identifying any problems. Thanks for your help! |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am looking for some help or insight why I have random lights turning on for unknown reasons.
Below is some of the log for "galley 11" light. It has a "Event call_service[L]: domain=light, service=turn_on" entry but have no idea where this originated from or why? This is just one example, I have other lights that have the same behavior with the same log entries, sometimes it is only one or two lights that turn on and the next time it could be other lights. I think there is something in the log but do not know how to dig into this??
I am running tuya-local in HA along with the SmartLife app on my phone. On the app, I have turned off "allow to run in the background". In the Tuya local set up I have entered the device IP and set the protocol.
Any help, insight or advice is greatly appreciated!!
2024-02-06 14:00:44.401 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Living room 2
2024-02-06 14:00:44.401 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Living room 2 to 3.4
2024-02-06 14:00:44.490 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=binary_sensor.c400xg_ping_test, old_state=<state binary_sensor.c400xg_ping_test=on; round_trip_time_avg=1.551, round_trip_time_max=1.74, round_trip_time_mdev=, round_trip_time_min=1.363, device_class=connectivity, friendly_name=C400XG PING TEST @ 2024-02-05T13:16:16.745493-07:00>, new_state=<state binary_sensor.c400xg_ping_test=on; round_trip_time_avg=1.55, round_trip_time_max=1.785, round_trip_time_mdev=, round_trip_time_min=1.315, device_class=connectivity, friendly_name=C400XG PING TEST @ 2024-02-05T13:16:16.745493-07:00>>
2024-02-06 14:00:45.032 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.galley_11, transition=900.0, profile=relax>
2024-02-06 14:00:45.034 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.034 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.034 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.035 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.035 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.035 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.036 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.036 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.036 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.036 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.037 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.037 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.037 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 22 value from 1000 to 255.10204081632654
2024-02-06 14:00:45.037 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 22 value from 1000 to 255.10204081632654
2024-02-06 14:00:45.038 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.039 DEBUG (MainThread) [custom_components.tuya_local.light] Setting color as R:144,G:103,B:44,H:35,S:69,V:144
2024-02-06 14:00:45.040 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.040 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.041 DEBUG (MainThread) [custom_components.tuya_local.device] Galley 11 new pending updates: {"24": {"value": "002402b60235", "updated_at": 1707253245.0412784, "sent": false}, "20": {"value": true, "updated_at": 1707253245.0412784, "sent": false}}
2024-02-06 14:00:45.043 DEBUG (MainThread) [custom_components.tuya_local.device] Galley 11 sending dps update: {"20": true, "24": "002402b60235"}
2024-02-06 14:00:45.215 DEBUG (MainThread) [custom_components.tuya_local.device] Galley 11 received {"20": true, "full_poll": true}
2024-02-06 14:00:45.216 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.216 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.216 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.217 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.217 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.217 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.218 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.218 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.218 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.219 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.219 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.219 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.220 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.220 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 22 value from 1000 to 255.10204081632654
2024-02-06 14:00:45.220 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 22 value from 1000 to 255.10204081632654
2024-02-06 14:00:45.220 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.221 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.221 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.222 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.223 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.224 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.224 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.galley_11, old_state=<state light.galley_11=off; min_color_temp_kelvin=2700, max_color_temp_kelvin=6500, min_mireds=153, max_mireds=370, effect_list=['Scene', 'Music'], supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>], color_mode=None, brightness=None, color_temp_kelvin=None, color_temp=None, hs_color=None, rgb_color=None, xy_color=None, effect=None, scene_data=000e0d0000000000000000c80000, rhythm_mode=AAAAAAA=, sleep_mode=AAA=, wakeup_mode=AAA=, friendly_name=Galley 11, supported_features=4 @ 2024-02-06T13:37:31.181448-07:00>, new_state=<state light.galley_11=on; min_color_temp_kelvin=2700, max_color_temp_kelvin=6500, min_mireds=153, max_mireds=370, effect_list=['Scene', 'Music'], supported_color_modes=[<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>], color_mode=hs, brightness=144, color_temp_kelvin=None, color_temp=None, hs_color=(36, 69), rgb_color=(255, 184, 79), xy_color=(0.511, 0.413), effect=None, scene_data=000e0d0000000000000000c80000, rhythm_mode=AAAAAAA=, sleep_mode=AAA=, wakeup_mode=AAA=, friendly_name=Galley 11, supported_features=4 @ 2024-02-06T14:00:45.224755-07:00>>
2024-02-06 14:00:45.226 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Considering mapping for range of value
2024-02-06 14:00:45.226 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Considering mapping for range of value
2024-02-06 14:00:45.226 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Considering mapping for step of value
2024-02-06 14:00:45.226 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Step for value is 60 with scale 60
2024-02-06 14:00:45.227 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 26 value from 0 to 0.0
2024-02-06 14:00:45.229 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 26 value from 0 to 0.0
2024-02-06 14:00:45.229 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] option values: ['Night', 'Read', 'Working', 'Leisure', 'Soft', 'Colorful', 'Dazzling', 'Gorgeous']
2024-02-06 14:00:45.230 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] option values: ['Night', 'Read', 'Working', 'Leisure', 'Soft', 'Colorful', 'Dazzling', 'Gorgeous']
2024-02-06 14:00:45.349 DEBUG (MainThread) [custom_components.tuya_local.device] Galley 11 received {"24": "002402b60235", "full_poll": false}
2024-02-06 14:00:45.349 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.350 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.350 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.350 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.351 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.351 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.351 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.352 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.352 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.352 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.353 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.353 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.353 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.353 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 22 value from 1000 to 255.10204081632654
2024-02-06 14:00:45.353 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 22 value from 1000 to 255.10204081632654
2024-02-06 14:00:45.354 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.354 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.354 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.356 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.356 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.357 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.358 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Considering mapping for range of value
2024-02-06 14:00:45.358 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Considering mapping for range of value
2024-02-06 14:00:45.358 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Considering mapping for step of value
2024-02-06 14:00:45.358 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Step for value is 60 with scale 60
2024-02-06 14:00:45.358 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 26 value from 0 to 0.0
2024-02-06 14:00:45.359 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 26 value from 0 to 0.0
2024-02-06 14:00:45.359 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] option values: ['Night', 'Read', 'Working', 'Leisure', 'Soft', 'Colorful', 'Dazzling', 'Gorgeous']
2024-02-06 14:00:45.359 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] option values: ['Night', 'Read', 'Working', 'Leisure', 'Soft', 'Colorful', 'Dazzling', 'Gorgeous']
2024-02-06 14:00:45.475 DEBUG (MainThread) [custom_components.tuya_local.device] Galley 11 received {"20": true, "21": "colour", "22": 1000, "23": 0, "24": "002402b60235", "25": "000e0d0000000000000000c80000", "26": 0, "34": false, "41": true, "full_poll": false}
2024-02-06 14:00:45.475 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.476 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.476 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.476 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.477 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.477 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.477 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.478 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.478 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.478 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.479 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.479 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.479 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.479 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 22 value from 1000 to 255.10204081632654
2024-02-06 14:00:45.480 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 22 value from 1000 to 255.10204081632654
2024-02-06 14:00:45.480 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.481 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.482 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] format of >HHH found
2024-02-06 14:00:45.482 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.483 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 21 value from colour to hs
2024-02-06 14:00:45.484 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] color_mode values: ['color_temp', 'hs', 'Scene', 'Music']
2024-02-06 14:00:45.485 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Considering mapping for range of value
2024-02-06 14:00:45.485 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Considering mapping for range of value
2024-02-06 14:00:45.485 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Considering mapping for step of value
2024-02-06 14:00:45.485 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Step for value is 60 with scale 60
2024-02-06 14:00:45.485 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 26 value from 0 to 0.0
2024-02-06 14:00:45.485 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] RGBCW Lightbulb: Mapped dps 26 value from 0 to 0.0
2024-02-06 14:00:45.486 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] option values: ['Night', 'Read', 'Working', 'Leisure', 'Soft', 'Colorful', 'Dazzling', 'Gorgeous']
2024-02-06 14:00:45.486 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] option values: ['Night', 'Read', 'Working', 'Leisure', 'Soft', 'Colorful', 'Dazzling', 'Gorgeous']
Beta Was this translation helpful? Give feedback.
All reactions