Home Automation - Smartkit

PsYTraNc3

Expert Member
Joined
Jan 4, 2012
Messages
3,565
The receiver has nothing to do with it.

There will be a BT (button) contact which you can wire the SV to so it’s a push button like a wall switch. If you have a physical wired button already you can just bridge it in there.

I did this and documented it many many posts ago in this thread, so you’d need Google it to find it.
I think my receiver is currently wired to that contact.

Will search for your post, thanks!
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,842
I’m losing my patience with the Sonoff Pow R2 + Tasmota + Home Assistant.

There is a deep lack of proper documentation and so I can manage to get it to count the energy usage because....

1. It loses the data when it turns off and Sensorretain just doesn’t save for some reason.

2. The data that comes into HA isn’t added up by the Utility Meter platform, but this may very well relate to problem 1.

So far the Pow has been nothing but a pain in my ass.
 

xrapidx

Honorary Master
Joined
Feb 16, 2007
Messages
40,308
You mean when it looses power completely? It shouldn't loose the info when it turns off.
 

Goobie

Expert Member
Joined
May 22, 2004
Messages
1,571
Complete noob here with a question.

The input of my garage door motor is connected to an ET receiver.
I would like to add a Sonoff SV or similar without disconnecting the ET receiver.
Has anyone done something similar who can post a how-to?

Before you go through the trouble of building yourself a garage door opener around the Sonoff, check to see what the SV model does when it power cycles (like during load shedding). I built a door opener around the Sonoff inching/self-locking model and it bounces the relay when power cycled, meaning it opened the door after load shedding. Itead acknowledges this behaviour but did not fix it in a firmware. I had to install a timer delay circuit that waits 10sec after bootup before sending the signal to the door.
 

xrapidx

Honorary Master
Joined
Feb 16, 2007
Messages
40,308
Before you go through the trouble of building yourself a garage door opener around the Sonoff, check to see what the SV model does when it power cycles (like during load shedding). I built a door opener around the Sonoff inching/self-locking model and it bounces the relay when power cycled, meaning it opened the door after load shedding. Itead acknowledges this behaviour but did not fix it in a firmware. I had to install a timer delay circuit that waits 10sec after bootup before sending the signal to the door.

My paradox alarm is connected via pgm to the garage door - and it does exactly this randomly - I actually want to replace it with a SV.
 

Tinuva

The Magician
Joined
Feb 10, 2005
Messages
12,474
Before you go through the trouble of building yourself a garage door opener around the Sonoff, check to see what the SV model does when it power cycles (like during load shedding). I built a door opener around the Sonoff inching/self-locking model and it bounces the relay when power cycled, meaning it opened the door after load shedding. Itead acknowledges this behaviour but did not fix it in a firmware. I had to install a timer delay circuit that waits 10sec after bootup before sending the signal to the door.
I have power cycled my SVs on Tasmota, and they don't bounces the relay when power cycled.
Ask me how I know, they have once or twice dropped off wifi, where I needed to power cycle them. I have since updated the tasmota version to a more stable version.
 

TedLasso

Expert Member
Joined
Feb 23, 2016
Messages
3,757
I have power cycled my SVs on Tasmota, and they don't bounces the relay when power cycled.
Ask me how I know, they have once or twice dropped off wifi, where I needed to power cycle them. I have since updated the tasmota version to a more stable version.
I have not had this issue with my Sonoff SVs for gate and garage doors and we had power issues/cycles. Using tasmota on them. 9 months so far.
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,842
Before you go through the trouble of building yourself a garage door opener around the Sonoff, check to see what the SV model does when it power cycles (like during load shedding). I built a door opener around the Sonoff inching/self-locking model and it bounces the relay when power cycled, meaning it opened the door after load shedding. Itead acknowledges this behaviour but did not fix it in a firmware. I had to install a timer delay circuit that waits 10sec after bootup before sending the signal to the door.

Erm, this is configurable.

PowerStateOn has a few configuration options for various needs and requirements.

It’s not a problem with the hardware.

No need for any timer delay circuits or any such over engineering.
 

Goobie

Expert Member
Joined
May 22, 2004
Messages
1,571
Erm, this is configurable.

PowerStateOn has a few configuration options for various needs and requirements.

It’s not a problem with the hardware.

No need for any timer delay circuits or any such over engineering.

Using the stock firmware I have been through all the settings (on the 2 units I have, both does this). It is not configurable. Perhaps it is with Tasmota, but I'm reluctant to go there.
 

xrapidx

Honorary Master
Joined
Feb 16, 2007
Messages
40,308
Yes. Which is every time the geyser goes off.

Yeh -that's odd - mine doesn't do that with HA - it does however loose the readings if it looses complete power. (the original POW doesn't do it). Maybe its the Tasmota version?
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,842
Yeh -that's odd - mine doesn't do that with HA - it does however loose the readings if it looses complete power. (the original POW doesn't do it). Maybe its the Tasmota version?

On the latest Tasmota.

But it loses full power every time and I anticipated it would lose the settings, but expected the MQTT broker to take the retained setting.

Then again it would probably just replace it with the latest reading so I’m not sure how to let HA do the math.

How is yours setup?
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,842
Using the stock firmware I have been through all the settings (on the 2 units I have, both does this). It is not configurable. Perhaps it is with Tasmota, but I'm reluctant to go there.

Oh I forget that exists.

Your problem seems like a perfect reason to go Tasmota and doing that is much simpler than adding secondary timer circuit and all that stuff.
 

xrapidx

Honorary Master
Joined
Feb 16, 2007
Messages
40,308
On the latest Tasmota.

But it loses full power every time and I anticipated it would lose the settings, but expected the MQTT broker to take the retained setting.

Then again it would probably just replace it with the latest reading so I’m not sure how to let HA do the math.

How is yours setup?

Why does it loose full power though? Think the problem is it's overwriting the MQTT broker with the new reading, I don't think retain will work.

I'll check mine at home - but if I loose full power - I also loose the readings. (this was only a problem with loadshedding)
 

ebendl

Expert Member
Joined
Sep 27, 2004
Messages
4,891
Oh I forget that exists.

Your problem seems like a perfect reason to go Tasmota and doing that is much simpler than adding secondary timer circuit and all that stuff.

Agreed. There's so many guides on flashing these and it really is simple to do. Just a bit of YouTube and reading.

The only situation where I wouldn't flash is if you are not actually going to be connecting it to a home automation system but still want remote access. Perhaps then a Shelly is more suitable, seeing that the Shelly 1 has isolated relays and can run off low voltage?
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,842
Why does it loose full power though? Think the problem is it's overwriting the MQTT broker with the new reading, I don't think retain will work.

I'll check mine at home - but if I loose full power - I also loose the readings. (this was only a problem with loadshedding)

Sits after the Geyserwise which turns it on and off.

Seems a good reason to keep the standard firmware then as it kept it just fine on that.
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,842
Agreed. There's so many guides on flashing these and it really is simple to do. Just a bit of YouTube and reading.

The only situation where I wouldn't flash is if you are not actually going to be connecting it to a home automation system but still want remote access. Perhaps then a Shelly is more suitable, seeing that the Shelly 1 has isolated relays and can run off low voltage?

Shelly has built in MQTT so also no need to flash but is more expensive as single units.

Tasmota’s new recommended flash tool makes it so simple if you just do it from .bin files.

You really just need that link and nothing else even.
 

patrick123

Expert Member
Joined
Apr 10, 2005
Messages
2,894
On the latest Tasmota.

But it loses full power every time and I anticipated it would lose the settings, but expected the MQTT broker to take the retained setting.

Then again it would probably just replace it with the latest reading so I’m not sure how to let HA do the math.

How is yours setup?

Have a look at the HA Utility Meter.
 
Top