Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional switch mode type for those wanting to disable the relay #418

Closed
mihalski opened this issue May 5, 2017 · 4 comments
Closed

Comments

@mihalski
Copy link

mihalski commented May 5, 2017

I use my Sonoff Pow units for the sole purpose of monitoring ALL the devices plugged in at a particular location. I VERY much do not want to accidentally turn them off. Would it make sense to have a SwitchMode that disables the switch from being linked to the relay?

Or would changing the SwitchTopic be the better solution to this?

@arendst
Copy link
Owner

arendst commented May 5, 2017

With the switch you mean the button on the Pow? In that case ButtonTopic would partly solve your problem as a single press can then be detoured. A double press still will switch the Pow though.

What about sending the power command? Should that also be impossible or is it just the button you want to disable?

@mihalski
Copy link
Author

mihalski commented May 5, 2017

The button for sure, and the toggle switch in the webui.. I once accidentally mis-clicked and brought down an entire room full of equipment. I guess disabling the power command would also be good just in case. If it's easier to implement this as a compile time option then I'd be happy with that.

There's definitely a use for power monitoring with relay to help control power usage, but I think the Sonoff Pow is equally useful for pure power monitoring (without risk of accidentally switching things off).

@arendst
Copy link
Owner

arendst commented May 5, 2017

Implemented in next release as poweronstate 4 turning relay always on and disable any relay control

arendst added a commit that referenced this issue May 5, 2017
5.0.4 20170505
* Add Sonoff Pow Energy Total up to 40 MWh
* Add command EnergyReset 1|2|3 to reset Energy counters (#406)
* Fix Domoticz Energy logging (#411)
* Add command PowerOnState 4 to keep relay always on and disabling all
power control (#418)
@mihalski
Copy link
Author

mihalski commented May 5, 2017

Thank you so much! That's fantastic.

@mihalski mihalski closed this as completed May 5, 2017
curzon01 pushed a commit to curzon01/Tasmota that referenced this issue Sep 6, 2018
5.0.4 20170505
* Add Sonoff Pow Energy Total up to 40 MWh
* Add command EnergyReset 1|2|3 to reset Energy counters (arendst#406)
* Fix Domoticz Energy logging (arendst#411)
* Add command PowerOnState 4 to keep relay always on and disabling all
power control (arendst#418)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants