DiedB / Homey-TeslaEnergy

GNU General Public License v3.0
1 stars 3 forks source link

Added an Alarm for when Powerwall is off the Grid #21

Open jonlanceley opened 10 months ago

jonlanceley commented 10 months ago

Added an Alarm for when off the Grid image

image

Also added the Capability to use this in flows to trigger when:

Also populates an "Off Grid Alarm" tag to use in logic conditions e.g. image

Tested using the Tesla app to go off grid. Havent had a real Powercut to test with yet.

Finally so you don't have to add a flow to compensate for the Solar Power value going negative from the Tesla API, it now will set it to 0 for negative solar values.

jonlanceley commented 9 months ago

Hi @DiedB hopefully this feature can be merged but let me know if there is anything that needs changing for this PR to be accepted please.

DiedB commented 9 months ago

Hi @jonlanceley! Thanks for submitting the PR, will have a look on Sunday!

wsu-runner commented 2 months ago

Hi @DiedB any chance this can be merged? Would really be helpful to have this capability for some of my flows. Thanks for the consideration.

jonlanceley commented 2 months ago

Hi @wsu-runner if you cant wait for this to be merged you can do what i did and download thìs code, give it a new app name, build it and run it yourself in development mode.

Just disable the other tesla energy app in Homey to avoid to many login requests going to the powerwall as 2 apps will conflict.