Simple socket control not working

Moderator: leecollings

Post Reply
Pahkis
Posts: 11
Joined: Thursday 23 November 2017 9:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Simple socket control not working

Post by Pahkis »

First blocky tests are done but can't find reason why it's not working. I have 433 Mhz wall switch and socket, I have reached both and I can control socket from Domoticz software ON and OFF. Also wall switch can be found with Domoticz.

I made simple blocky code than when Switch is ON then set socket ON.
I have also added if else block, where if switch is OFF then socket OFF.

None of these are working.. Do I even need blocky code or can this simple control be done more easily?

So socket should be on only when switch is pressed
Post Reply