DiedB / Homey-TeslaEnergy

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

Energy tab: home consumption is missing #7

Open alechenne opened 1 year ago

alechenne commented 1 year ago

Dear Support,

thanks for upgrading your app to the new SDK3 for Homey Pro 2023. IT works fine.

my only concern is that the energy consumption is missing in the Energy tab (summary of all devices energy) of the Homey App.

Kind regards

petebitt99 commented 1 year ago

Hi alechenne. Would you be able to help me with issue 3 below seeing you have been able to successfully connect to your Tesla Gateway. I am obviously missing something and haven't been able to get any response to my post on the Homey Community forum.

alechenne commented 1 year ago

Hi @petebitt99, sure if I can help you, I’ll do it.

I’m not sure to which issue you are talking: the issue #3 I opened is closed. Is it that one?

Currently I migrated today from Homey 2019 to Homey 2023 / 10.0.0rc99. My Powerwall device was migrated / automatically and has worked without to do anything. The Tesla Energy app version is 1.1.4 Experimental.

Please describe me more precisely what is your problem.

PS. It’ 1am44 in Switzerland, I’ll go sleeping. I’ll read your reply tomorrow and reply to it tomorrow evening.

petebitt99 commented 1 year ago

You are right, it is issue #6 . I think you may have identified my problem. I probably installed the wrong version of the Tesla Energy App thinking that if it installed then it was compatible. But please read my issue #6 to see what I’m having problems with just in case I’m missing something else. I will go away to see how to install the experimental version.

jonlanceley commented 6 months ago

Hi as @alechenne suggested seeing the powerwall energy data in homey pro would be a great feature to add.

e.g so it appears in here: https://support.homey.app/hc/en-us/articles/360010187820-Saving-energy-with-Homey-Energy

jonlanceley commented 6 months ago

I will answer my own question. You cant unless you create virtual devices one for each value from the powerwall device.

You can then set these virtual devices so they populate homey energy e.g Screenshot_20240115_225101_Homey

20240115_212159

I used the device capabilities app

Solar and battery configured like this Screenshot_20240115_224033_Homey

Screenshot_20240115_224059_Homey

Home use configured as Screenshot_20240115_224659_Homey

Screenshot_20240115_224726_Homey

Grid use is also class: Other default Screenshot_20240115_224928_Homey

And setup a simple flow like this for all 4. Screenshot_20240115_223711_Homey

Note unless i did something wrong there is a bug in homey energy which ive reported which adds solar panel entries to the house total. So to counter this ive added 1 more virtual device which subtracts it using an advanced flow. Which works most of the time but im still trying to sort out a bug in the flow.

Cc @alechenne