Enable/Disable Use Timer Sensor #137
Replies: 9 comments 14 replies
-
|
Hi, SENSORS += SwitchRWSensor(248, "Use Timer", on=255) Let me know if this works... You can get the list of registers from #59 |
Beta Was this translation helpful? Give feedback.
-
|
@francoisoli4 Did you ever get this right ? If so, could you explain how ? I'm looking to automate something similar |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I have added the use_timer sensor as above. Please can you explain exactly where I need to go to complete the following : I then added a template switch in my configuration.yaml file to be able to switch the timer on/off. Still new to HA so not sure under which section or how to add this toggle switch. Please can you explain. Thank you |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for getting back to me.
What do you find is better about the esp32 setup and is it easier to switch
the use_timer on and off?
Thank you
…On Mon, 01 Dec 2025, 08:22 hilt_ctn, ***@***.***> wrote:
I have added the use_timer sensor as above. Please can you explain exactly
where I need to go to complete the following : I then added a template
switch in my configuration.yaml file to be able to switch the timer on/off.
Still new to HA so not sure under which section or how to add this toggle
switch. Please can you explain. Thank you
Hi PJH-ZA
I ultimately ended up going a different route ( ESP32 with Slipx06 Sunsynk
ESPHome code ).
That said, if you've managed to successfully create a template switch per
above, the switch should be visible on your default HA dashboard / landing
page as a switch that you can toggle. From there, you use it as part of an
automation, particularly in the Action section.
So, for example : Create a new automation. The trigger can be Time ( pick
a random time ) and in the Action section at the bottom, type Switch into
the search field. You should see options like toggle, turn on, turn off
etc. You then select your template switch as the entity you want to toggle,
turn off or turn on.
—
Reply to this email directly, view it on GitHub
<#137 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BU4S45NZNQLGEBJ6HYYR7ZL37PNCLAVCNFSM6AAAAACNR7O3IKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMJSGA4DAOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Excellent. Thank you so much. Definately going to dig into the esp32 stuff
further.
Which esp32 boards did you buy?
Thanks again for getting back to me.
…On Mon, 01 Dec 2025, 19:57 hilt_ctn, ***@***.***> wrote:
Thank you for getting back to me. What do you find is better about the
esp32 setup and is it easier to switch the use_timer on and off? Thank you
… <#m_-138511377810958910_>
I had a spare Pi sitting in a drawer and I was going to use it dammit !
Hehe. Jokes aside, I had a Pi running Venus firmware for a Victron
inverter. When I moved over to Sunsynk, I wanted to reuse it to facilitate
local control. So I started researching and came across KellerZA's software
stack first. While digging into that on various forums, I noticed some
folks had cracked the secret to making the Sunsynk work with ESP32's. So I
started looking into that too. Microcontrollers were new to me at that
point, and I very quickly realised I could make them do whatever I needed
them to do ( not relying on code from good people in the interweb )...aaand
down that rabbit hole I went. There are now eight ESP32's ( and two Pi's )
scattered around the house performing various functions, and the one that
handles the Sunsynk also runs 3x PWM fans that cool the inverter in the
stinking hot garage.
Screenshot of the Timer toggle attached. As far as HA is concerned, it's
just a switch that you use as part of an automation.
Screenshot.2025-12-01.at.19.06.47.png (view on web)
<https://github.com/user-attachments/assets/1514f66e-f350-4bd4-92e4-48991c26f887>
If you feel like a bit of a tinker, ESP32 is the way to go. If you want
something a bit more straightforward, the KellerZA stack is a great option
—
Reply to this email directly, view it on GitHub
<#137 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BU4S45LTVUO6WHL7NFOFZL337R6SDAVCNFSM6AAAAACNR7O3IKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMJSG4YTCOA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much. Definately going to look into these.
Thanks for taking the time to get back to me.
…On Tue, 02 Dec 2025, 08:17 hilt_ctn, ***@***.***> wrote:
Excellent. Thank you so much. Definately going to dig into the esp32 stuff
further. Which esp32 boards did you buy? Thanks again for getting back to
me.
… <#m_-98197899673673371_>
On Mon, 01 Dec 2025, 19:57 hilt_ctn, *@*.*> wrote: Thank you for getting
back to me. What do you find is better about the esp32 setup and is it
easier to switch the use_timer on and off? Thank you …
<#m_-138511377810958910_> I had a spare Pi sitting in a drawer and I was
going to use it dammit ! Hehe. Jokes aside, I had a Pi running Venus
firmware for a Victron inverter. When I moved over to Sunsynk, I wanted to
reuse it to facilitate local control. So I started researching and came
across KellerZA's software stack first. While digging into that on various
forums, I noticed some folks had cracked the secret to making the Sunsynk
work with ESP32's. So I started looking into that too. Microcontrollers
were new to me at that point, and I very quickly realised I could make them
do whatever I needed them to do ( not relying on code from good people in
the interweb )...aaand down that rabbit hole I went. There are now eight
ESP32's ( and two Pi's ) scattered around the house performing various
functions, and the one that handles the Sunsynk also runs 3x PWM fans that
cool the inverter in the stinking hot garage. Screenshot of the Timer
toggle attached. As far as HA is concerned, it's just a switch that you use
as part of an automation. Screenshot.2025-12-01.at.19.06.47.png (view on
web)
https://github.com/user-attachments/assets/1514f66e-f350-4bd4-92e4-48991c26f887
<https://github.com/user-attachments/assets/1514f66e-f350-4bd4-92e4-48991c26f887>
If you feel like a bit of a tinker, ESP32 is the way to go. If you want
something a bit more straightforward, the KellerZA stack is a great option
— Reply to this email directly, view it on GitHub <#137 (reply in thread)
<#137 (reply in thread)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BU4S45LTVUO6WHL7NFOFZL337R6SDAVCNFSM6AAAAACNR7O3IKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMJSG4YTCOA
<https://github.com/notifications/unsubscribe-auth/BU4S45LTVUO6WHL7NFOFZL337R6SDAVCNFSM6AAAAACNR7O3IKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMJSG4YTCOA>
. You are receiving this because you commented.Message ID: @.*>
I went with a full fat ESP32 similar to this one
<https://www.robotics.org.za/ESP32-DEV?search=ESP32> along with TTL to
RS485 <https://www.robotics.org.za/RS485-MOD?search=ttl%20to%20rs485>
board. This video thread explains how to set it up
This
<https://smarthomeintegrations.co.za/product/smartdeyedonglev4-no-fw-southafrica-only/>
is less effort i.e. no soldering iron. This
<https://powerforum.co.za/topic/25195-a-much-better-way-of-connecting-home-assistant-to-your-deyesunsynk-inverter/#comment-190824>
thread explains a lot
—
Reply to this email directly, view it on GitHub
<#137 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BU4S45JAZJZXPLYJTEWFRBD37UVGJAVCNFSM6AAAAACNR7O3IKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMJTGE3TSMQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you
…On Tue, 02 Dec 2025, 09:51 Warwick Davison, ***@***.***> wrote:
@PJH-ZA <https://github.com/PJH-ZA>, The Use Timer switch entity is a
native part of the KellerZA sunsynk integration.
What are you missing that you do not have the switch entity for that?
You should see a switch entity in the MQTT sunsynk device.
"switch.sunsynk_use_timer".
From there you can integrate that switch into the SlipX sunsyn power flow
card and any of your automations you want to create.
—
Reply to this email directly, view it on GitHub
<#137 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BU4S45P3R52P2F5BACRGN4D37VAJTAVCNFSM6AAAAACNR7O3IKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMJTGI2DMOI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.





Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @kellerza
Can you please advise if there is a sensor one can use to enable/disable the "use timer" option under work mode 1?
I would like to use work mode 2 during the day and work mode 1 at night, and would like to have the timer enabled/disabled using an automation.
Thank you
(ad thank you for the great work with this integration)
Beta Was this translation helpful? Give feedback.
All reactions