Failsafe HEMS Use Case with Keba p30 and Watchdog + Shelly/Tasmota #32937
Unanswered
heresiarch
asked this question in
General
Replies: 1 comment
|
I created a dummy charger in This works for the following use cases:
The ProblemI need to access the currently active EEBUS LPC limit from my scripting logic. The logic I need is essentially: How can I access the current EEBUS LPC limit value in the scripting logic in Is there a way to retrieve or expose the currently active LPC value so that I can use it in this logic? I don't see another way to implement this behavior, but I don't know how to access the current LPC value from the scripting logic. chargers:
- name: tasmota-watchdog
type: custom
status:
source: const
value: C
maxcurrent: # dummy
source: js
script: |
var res = 8;
2 * res; // returns 16
enabled:
source: const
value: true
enable:
source: watchdog
timeout: 60s
initial: 1
set:
source: http
uri: "http://192.168.178.6/cm?cmnd=Event%20heartbeat%3D1"
method: GET
auth:
type: basic
user: "admin"
password: "XXX"
timeout: 5s
`` |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a Keba WV p30x with a Shelly Mini 1 Gen4 with Tasmota firmware connected to X1 contact of the Keba.
On the Tasmota Device runs a simple Rule which sets the Relay to OFF, if no Heartbeat is received within 60 seconds. This will disable the Wallbox charging (X1 contact could be configured that way).
I would like to run the watchdog from within evcc (simple HTTP url to the tasmota device.)
So I could make sure that if connection to evcc is lost, the wallbox will be off. Watchdog requests will be stopped. So that I have always a failsave behavior. It would also be great, if EEBUS communication to controlbox is not working or an EEBUS LPC limit below a value like 4200W is active, that the watchdog stops. This is what the script is doing (iobroker): https://github.com/FernetMenta/ioBroker.eebus-go/blob/main/doc/manual-lpc-example.js
What is the evcc way for such a use case?
All reactions