Replies: 3 comments 4 replies
-
my first impuls would be using rules. trigger on switch state and action sends mqtt topic of remote relay |
Beta Was this translation helpful? Give feedback.
-
Not an expert on rules, but here is the documentation: https://tasmota.github.io/docs/Rules With a quick look at the page I guess you probably need something like
Probably also need to define a set of rules once connected (ON mqtt#connected DO ...) to set the initial state If you don't have a broker (bad choice...) probably some kind of websend [ip/hostname of remote] power1 %value% instead of publish and wifi#connected for mqtt#connected Finally enable the rule1 with rule1 1 All above untested and taken from above docs. Lots of examples there with exact syntax... |
Beta Was this translation helpful? Give feedback.
-
I finally resolved this problem. I created 5 switches on different pins and created rules
All is working fine and smoothly. I stick to the principle that such simple controls should work without any need for additional infrastructure like MQTT Broker, HA etc. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
-
Hi!
I need to create such a configuration.
One module with keypad (5 switches)
Every switch controls the separate remote relay module.
When switch1 is closed then remote relay1 is ON.
When switch2 is closed then remote relay2 is ON.
And so on.
I can achieve this for one link Switch1/Relay1 by using the same GroupName for the keypad module channel 1 and remote Relay1.
But it needs a keypad module local Relay1 pin to be also configured. In this case link Switch1->Relay1 is working fine.
But there are problems
What is the best approach to achieve the configuration I described? Is it even possible?
Please guide me in the right direction.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions