Small lettersâŠ
thanks its working
Efter mÄnader av att bara funka perfekt har vissa sensorer slutat uppdatera sig. De uppdateras endast vid omstart av HA. Solcell effekt och nÀteffekt till exempel. Har det hÀnt för fler?
Yes. By using the field homevolt cmd input you can send the same commands you can send in the web-gui to homevolt battery.
I have never tried any other than help and ping command.
Iâm using the secret file with parameter homevolt_console_curl as a whitelist to restrict HASS users to only be able to send acknowledge commands.
Inte hÀnt mig. Ser du nÄgra konstigt i loggar?
Prövat att skicka curl https://192.168.1.2/params.json mot batteriet för att se att du fÄr svar?
Var visst strul med Homevolt effekt tillgÀnglig.
-
name: âHomevolt effekt tillgĂ€ngligâ
value_template: >-
{{ float(value_json.ems[0].ems_prediction.avail_ch_pwr,0) - float(value_json.ems[0].ems_prediction.avail_di_pwr,0) }}
Denna kod löste det.
Fixade till sÄ nÀsta schema visade rÀtt tid i förhÄllande till UTC:
value_template: >-
{% if value_json.schedule is defined and value_json.schedule | length > 1 %}
{{ as_datetime(value_json.schedule[1].from | int).astimezone().strftime('%H:%M') }}
{{ value_json.schedule[1].type
| replace('1', 'Ladda, uttag:')
| replace('2', 'Urladdning ')
| replace('3', 'VĂ€nta')
| replace('4', 'NĂ€t urladdning ')
| replace('5', 'NĂ€t Laddning/urladdning ') }}
{% if value_json.schedule[1].params is defined and 'setpoint' in value_json.schedule[1].params %}
{{ value_json.schedule[1].params.setpoint }}W
{% endif %}
{% else %}
Ingen schemainfo
{% endif %}
Finns det nÄgot bra sÀtt att fÄ logg till fil pÄ energi just nu per timme, frÄn och med 1 oktober Àr det kvartspriser sÄ dÄ behöver det vara var 15-minut?
I Homevolt appen kan man se staplar men jag har inte hittat nÄgot sÀtt att kunna exportera dessa vÀrden.
TÀnker att nÄgon action likande
command_line:
- notify:
command: "echo $(state) > file.txt"
eller
Bra och tack.
Nice, got this to work. Thanks!
The homevolt.yaml did have some warnings about depreciated syntax.
Also played around with the console a bit. Interesting that the ems data in the console shows the battery SoH. For now it shows 0% so wondering if it is actually workingâŠ
Hi,
great effort putting together this package⊠I installed it and it worked good for about 30 min⊠Then it intermittantly lost data and finally I could not any longer access the UI. It seemd that the polling broke the UI (I have to say that the Homevolt local intergration from HACS was active at the same time). I rebooted the battery and then started 3 sensors only.
Does anybody have an idea of how often to poll the battery is good?
Go for: GitHub - JohNan/homeassistant-homevolt-local: Home Assistant integration for locally accessing Homevolt batteries
insted.
I had the same issue with this package. But the integration works fine. Could have multiple integrations at the same time running when developing. Next year I hope to implement the schedule as a service.