I have been fighting this issue for over a month now. All my lights inside and outside just randomly turn on. the log shows turned on triggered by action Light: Turn on". I have scoured the forums, internet, reddit, even asked ChatGTP. I have looked through all my automation and scripts. the only way I have been able to stop this is turn off MQTT, which takes the light entities away. I have even uninstalled MQTT and deleted the data too. Actually I almost want to say this all started several months ago, but at that time it wasnât really random. Not like it is now. before all my lights would turn on at sunrise. I say sunrise because it wasnât the same time everyday. They would turn on between 5am and 6am everyday. If anyone can help get my sanity back it would be greatly appreciated.
I am using the new MQTT configuration. And I also use a split configuration too. Also my lights are a mix of Tasmota, ESPHome, WLED, and a few TPLink. Most are in wall switches and dimmers, but I do have some bulbs too. My switches are âMartin and Jerryâ and âWyzeâ. thank you
1 Like
Hello woodfamilynetwork,
Itâs known as ghost switching
. Search on that term to know more.
Basically you can âfixâ it by removing some of your retain statements in the MQTT entries.
I have gone through âmqtt explorerâ and removed the retained messages on the cmnd. Also searched my whole config folder for retain messages. I have got it to stop on some of my light switches by setti g them back to âreset 5â and changing their topic name. And commenting out their mqtt files and just letting tasmota intergration pull them into ha. That worked with a couple of Treatlife fan and light switches. And a martin and jerry dimmer.