Rule1 on switch2#state=1 do publish2 stat/SW_Garage/POWER2 Open endon on switch2#state=0 do publish2 stat/SW_Garage/POWER2 Closed endon
Where is the Switch connected to? Have you configured it in Configuration?
Sent from Mail for Windows 10
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/d3fa8b66-b360-4d27-b3f4-85ed2330e90e%40googlegroups.com.
OK. In Console type WebLog 3. Operate the reed switch and see what you get
Regards
Phil K
From: Thomas Pagel
Sent: 23 May 2020 15:42
To: TePeBox; TasmotaUsers; Philip Knowles
Subject: Re: Re: Garage Door Controller - POWER topic
Not sure where it's connected to, it comes from factory connected...
Holen Sie sich Outlook fr Android
![]()
Am Samstag, 23. Mai 2020 15:18:43 UTC+2 schrieb Thomas Hbner:
Have you activated the rules as described in the description?
Rule1 on switch2#state=1 do publish2 stat/SW_Garage/POWER2 Open endon on switch2#state=0 do publish2 stat/SW_Garage/POWER2 Closed endon
A good example for programming a garage door is described her: https://tasmota.github.io/docs/Rules/#garage-door-opener
Also Open and Close commands should work by publishing "Event Open/Close/Stop" to the cmnd topic (never tried it so far).
It uses two reed switches for the end-positions, so the rules will not fit for you.
Am Samstag, 23. Mai 2020 14:14:02 UTC+2 schrieb TePeBox:Hi,
sorry, I'm a beginner, I need some help...
I have bought the following device: https://templates.blakadder.com/garage_door_controller.html. I flashed it OTA with the newest Tasmota, used the provided template, installed a MQTT broker, iobroker, NodeRed and everything, but I'm now struggling with the information passed via MQTT. Basically what happens is like that:
Someone switches power on, after 2 seconds the power is reverted back to off automatically. The POWER topic reports that nicely.
But what is strange is the behaviour of the attached reed switch which is there to monitor the status of the garage door. It reports the status of the door in the POWER topic as well as On/Off. So you never can differentiate if someone just initated the motor to start, if the relais of the device switches off after 2 seconds automatically or if the door just closed by reading the sensor. Pretty much useless.
At the end of the instructions here https://templates.blakadder.com/garage_door_controller.html it's already said that somehow the POWER topic needs to be separated from the reading from the reed switch. But I have absolutely no clue how to do that.
Anyone out there who can help me with that?
The idea is very simple: I want to control the state of the garage door, so I want to have a command like "on" and "off" (open / close) and when I set it to on and the door is already open it's doing nothing. If the door is closed I want to open it so the ralais should be switched on for 2 seconds and then off again (like pressing the button on the garage door motor). Same with closing it. If it's already closed it should do nothing, if it's open it should be closed by starting the motor.
Doesn't sound so fancy but I didn't find anything like that "ready to be reused" so I'm trying to build that on my own with NodeRed but for that I need Tasmota to report the status correctly and independent for the power switch and the reed sensor...
THANIS for any help...
Thomas
To unsubscribe from this group and stop receiving emails from it, send an email to sonof...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to sonof...@googlegroups.com.
I’d guess that the Switch is set as switch1 which is why the rule isn’t triggering
Thomas
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonof...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/d3fa8b66-b360-4d27-b3f4-85ed2330e90e%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/7f82a32b-9445-450f-ad56-20cb04b7fe5b%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/7f82a32b-9445-450f-ad56-20cb04b7fe5b%40googlegroups.com.
I think you need to read this page.
https://tasmota.github.io/docs/TuyaMCU/
It explains how to use the Tuya MCU and you may need to set the items listed in the template
fnId=2 is set for dpId=101
fnId=11 is set for dpId=1
fnId=0 is set for dpId=7
fnId=0 is set for dpId=7
Tried that, no success...
Rule1 on switch2#state=1 do publish2 stat/SW_Garage/POWER2 Open endon onswitch2#state=0 do publish2 stat/SW_Garage/POWER2 Closed endon
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/7f255f2b-b60c-4e8e-85ba-d36f638787b0%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/7f255f2b-b60c-4e8e-85ba-d36f638787b0%40googlegroups.com.