Hi, I know it doesn’t belong right here, but I have a question about the rules in tasmota. Maybe someone here knows about it and can help me.
First of all briefly explained:
I built a second Wifi like this example (to extend my Wifi on my area only for ESP‘s.) Now I have a Wemos Pro with external antenna and tasmota firmware. This should be in the car later. I want to find out later with the Wemos if the car is precent and if it is locked.
The problem, a presence detection over the IP of the Wemos does not work. Because there are two Wifi networks.
Now I want to use a rule in tasmota (Wemos) to send a mqtt message when the Wemos is in the Wifi. It doesn’t matter which Wifi it is, I think. The rule should only trigger a WS2812 LED.
After this command:
Rule1 on Wifi#connected do publish -h 192.168.178.31 -t cmnd/node1/led19 -m '060600' endon
I become this in the console, but without result on LED.
stat/wemos/RESULT = {"Rule1"": "ON", "Once": "OFF", "Free":428, "Rules": "on Wifi#connected do publish -h 192.168.178.31 -t cmnd/node2/led19 -m '060600' endon"}
I probably have an error in the rule. It doesn’t work that way. Can anyone help me here? Maybe there’s someone here who knows about it.