You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sonoff Basic - Sonoff-Tasmota 5.12.0
I need to stop a PulseTime(x) CYCLE instantly once a switch across GPIO14 changes from N/O to N/C.
I need SwitchMode 1 behaviour plus SwitchMode 0 direct relay control as a hybrid of the 2 for safety.
I am using Domoticz and 'currently' need to use a script to see change of switch state, which then turns the relay off.
This works as desired, but is not bullet proof.. Sometimes it lags, or say what if WiFi went down.. ?
The Switch across GPIO14 is for safety so must stop relay 'locally' (Not yet safe, reason for this post)
The switch across GPIO14 is also needed to log the state change - If no change, a fault generated.
So I need Domoticz to see the Switch state change as well.
Currently I seem to be able to have one or the other, not both.. ?
I compile bins so need a source change please, what line ;)
Thanks
++++++++++++++++++++++++++++++++++++++++++++
With SwitchTopic 1 - I get my switch change from N/O to N/C & instantly cuts the relay
(BUT only with my rule in Domoticz, not internal to Sonoff, can I change something to make cutting power to relay internal ?)
SwitchTopic 0 -- gives me local relay control instantly & internally to the Sonoff, without need for WiFi.
But my external float switch triggering the relay is missing in the MQTT output..
So my confirm "Did cycle work ??" is missing -If it fails a fault state (alarm) needs to be generated.
Plus because cause it's a float switch - it rises N/C, turns relay off, then as level lowers turns back on the relay N/O.
SwitchTopic 1 - 99.9% it's great, but not when there is lag or loss of wifi..
If either happened I would not be able to stop the pump in time & things would flood over.
...........
Options please
Can I declare my basic N/O - N/C Float Switch as a different device maybe a sensor on GPIO14?
Example of a float switch, N/O if level is high, becomes N/C if level lowers
My switch is mounted 180 degrees to this example, so can be N/C to N/O - or - N/O to N/C depending on it's orientation.
The text was updated successfully, but these errors were encountered:
Oxyandy
changed the title
How to use GPIO14 as a switch & get INSTANT relay off
How to use GPIO14 as a switch & get SAFE relay off
Feb 22, 2018
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
stalebot
added
the
stale
Action - Issue left behind - Used by the BOT to call for attention
label
Jun 20, 2018
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.
Sonoff Basic - Sonoff-Tasmota 5.12.0
I need to stop a PulseTime(x) CYCLE instantly once a switch across GPIO14 changes from N/O to N/C.
I need SwitchMode 1 behaviour plus SwitchMode 0 direct relay control as a hybrid of the 2 for safety.
I am using Domoticz and 'currently' need to use a script to see change of switch state, which then turns the relay off.
This works as desired, but is not bullet proof.. Sometimes it lags, or say what if WiFi went down.. ?
The Switch across GPIO14 is for safety so must stop relay 'locally' (Not yet safe, reason for this post)
The switch across GPIO14 is also needed to log the state change - If no change, a fault generated.
So I need Domoticz to see the Switch state change as well.
Currently I seem to be able to have one or the other, not both.. ?
I compile bins so need a source change please, what line ;)
Thanks
++++++++++++++++++++++++++++++++++++++++++++
With SwitchTopic 1 - I get my switch change from N/O to N/C & instantly cuts the relay
(BUT only with my rule in Domoticz, not internal to Sonoff, can I change something to make cutting power to relay internal ?)
SwitchTopic 0 -- gives me local relay control instantly & internally to the Sonoff, without need for WiFi.
But my external float switch triggering the relay is missing in the MQTT output..
So my confirm "Did cycle work ??" is missing -If it fails a fault state (alarm) needs to be generated.
Plus because cause it's a float switch - it rises N/C, turns relay off, then as level lowers turns back on the relay N/O.
SwitchTopic 1 - 99.9% it's great, but not when there is lag or loss of wifi..
If either happened I would not be able to stop the pump in time & things would flood over.
...........
Options please
Can I declare my basic N/O - N/C Float Switch as a different device maybe a sensor on GPIO14?
Example of a float switch, N/O if level is high, becomes N/C if level lowers
My switch is mounted 180 degrees to this example, so can be N/C to N/O - or - N/O to N/C depending on it's orientation.
The text was updated successfully, but these errors were encountered: