Replies: 1 comment 5 replies
-
Hi Mariusz, Is this occuring for all of your lights or just one light specifically? What kind of relays are you using? Ik suppose the MQTT messages aren't indicating that the light is switching on and off rapidly? It's not really my area of expertise but I think you are experiencing an electrical problem caused by 'back emf' on the relays. Some googling on 'back emf' should ellaborate it more and provide possible solutions. Ik believe wiring a diode in should fix your problem. Let me Know how things go. Best regards, |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have started using your e!Cockpit project and I am happy with results. I use Wago PLC (PFC200) to control my home. I have utilized the mqtt messages to control my lights from Home Assistance. It works pretty good, but I have one a problem. Sometimes when I try to switch off one of my lights using a phisical switch than the light starts flicking. A control relay is flicking until I press the switch again. It happens rarely (ones a day or every couple days) for random lights. I use the function block FB_OUTPUT_SWITCH_MQTT to control my lights.
What am I doing wrong? What should I check?
Thank you for your assistance.
Kindly regards,
Mariusz
Beta Was this translation helpful? Give feedback.
All reactions