randomfool
Members
-
Joined
-
Last visited
Reputation Activity
-
randomfool got a reaction from cp2023 in SunSynk Logger Integration into Home AssistantUpdated version of the Octopus Agile tariff automation working with @Gary Waterworth new version 2.
Made an adjustment to set sstimer1 to nearest 30 minute segment in the past to avoid throwing node warnings and align with the new version 2; sstimer2 is set to 23:30 at all times unless sstimer1 is also 23:30 in which case it changes sstimer2 to 00:00 to avoid issues, the trade off is it will not control the inverter for the last 30 minutes of the day.
For my own personal version I have modified Gary's script slightly so that it accepts 23:55 as an input. If you care enough about controlling the inverter automatically for the last 25 of the 30 minute window between 23:30 and 00:00 you could copy this logic also to avoid any node warnings.
Sunsynk Automation V4.json
-
randomfool got a reaction from Sc00bs in SunSynk Logger Integration into Home AssistantOk here goes; caveats to begin with - I am no HA expert, in fact I only discovered HA a few weeks ago through Gary's post and his subsequent links to slip06x dashboard, so my ability to provide "support" will be limited. I am more than happy for any of this work to be updated and improved upon and added to any github to help others as needed. I will be making many other changes to suit my specific needs (e.g. integrating Octupus Agile automations and cards); have left this largely vanilla so you can customise to your own specific requirements.
All of that said; attached is the modified slip06x Sunsynk dashboard; I have made a few changes:-
Removed load shedding as it's not applicable to the UK Moved some of the cards around; dropped the energy cards from the bottom as I felt they were a duplication although I may add them back in at a later date. Today's graph focuses on last 6 hours; not 24 hour period (scroll still enabled). I'm still playing around with this and may change to 12 hours but for the UK a 24 hour period didn't look right to me. Integrated Gary's Time Left to Discharge - this requires the Sunsynk automation flows Gary provided on his github. Added the event card and integrated the timer card; note the "Override Mode" currently does nothing; and I will probably change this around in the coming months to better suit my needs. Only 2 grid layouts; desktop (I am using 2560x1440 and it aligns perfectly) and mobile/tablet 800px - you will need to modify to suit your needs. You will need to add the additions below to your configuration.yaml or equivalent. - sensor: - name: "Sunsynk PV Today" state_class: total_increasing unique_id: "sensor.sunsynk_pv_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_input', 'etoday')|float}} - sensor: - name: "Sunsynk Battery etodaychg" state_class: total_increasing unique_id: "sensor.sunsynk_battery_etodaychg" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_battery', 'etodayChg')|float}} - sensor: - name: "Sunsynk Battery etodaydischg" state_class: total_increasing unique_id: "sensor.sunsynk_battery_etodaydischg" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_battery', 'etodayDischg')|float}} - sensor: - name: "Sunsynk Grid Export Today" state_class: total_increasing unique_id: "sensor.sunsynk_grid_export_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_grid', 'etodayTo')|float}} - sensor: - name: "Sunsynk Grid Today" state_class: total_increasing unique_id: "sensor.sunsynk_grid_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_grid', 'etodayFrom')|float}} - sensor: - name: "Sunsynk Grid Export Total" state_class: total_increasing unique_id: "sensor.sunsynk_grid_export_total" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_grid', 'etotalTo')|float}} - sensor: - name: "Sunsynk Load Today" state_class: total_increasing unique_id: "sensor.sunsynk_load_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_load', 'dailyUsed')|float}} Screenshots (Monthly Production missing from screenshots below but it is included on the dashboard, there is just no data as yet so I have not posted it):-
Sunsynk.yaml
-
randomfool got a reaction from slipx in SunSynk Logger Integration into Home AssistantHere you go. Also posted a few pages back the full dashboard with this in.
-
randomfool reacted to slipx in SunSynk Logger Integration into Home AssistantThe monthly card should update each day but you need to use the right sensor i.e daily totals. It fetches HA statistics, calculating the delta between the daily totals of two consecutive days and then summing them.
- entity: sensor.daily_load_power_kwh statistic: sum name: | $fn ({ ys,meta }) => "Load" + "⚡" period: month type: bar filters: - delta texttemplate: '%{y}' marker: color: rgb(95, 182, 173)
-
randomfool got a reaction from gimme_power in SunSynk Logger Integration into Home AssistantI am making good progress on converting slip06x excellent dashboard to work with Gary's brilliant work on gathering the data from the latest Sunsynk inverters remotely.
Will publish the dashboard below for others to use when I have ported all of the sensors and fixed the various layout issues and CSS irregularities. I have integrated the Automation and Events card on the right hand side. Still need to fix the System Timer and some other parts but will get on to that.
-
randomfool got a reaction from Byraff in SunSynk Logger Integration into Home AssistantOk here goes; caveats to begin with - I am no HA expert, in fact I only discovered HA a few weeks ago through Gary's post and his subsequent links to slip06x dashboard, so my ability to provide "support" will be limited. I am more than happy for any of this work to be updated and improved upon and added to any github to help others as needed. I will be making many other changes to suit my specific needs (e.g. integrating Octupus Agile automations and cards); have left this largely vanilla so you can customise to your own specific requirements.
All of that said; attached is the modified slip06x Sunsynk dashboard; I have made a few changes:-
Removed load shedding as it's not applicable to the UK Moved some of the cards around; dropped the energy cards from the bottom as I felt they were a duplication although I may add them back in at a later date. Today's graph focuses on last 6 hours; not 24 hour period (scroll still enabled). I'm still playing around with this and may change to 12 hours but for the UK a 24 hour period didn't look right to me. Integrated Gary's Time Left to Discharge - this requires the Sunsynk automation flows Gary provided on his github. Added the event card and integrated the timer card; note the "Override Mode" currently does nothing; and I will probably change this around in the coming months to better suit my needs. Only 2 grid layouts; desktop (I am using 2560x1440 and it aligns perfectly) and mobile/tablet 800px - you will need to modify to suit your needs. You will need to add the additions below to your configuration.yaml or equivalent. - sensor: - name: "Sunsynk PV Today" state_class: total_increasing unique_id: "sensor.sunsynk_pv_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_input', 'etoday')|float}} - sensor: - name: "Sunsynk Battery etodaychg" state_class: total_increasing unique_id: "sensor.sunsynk_battery_etodaychg" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_battery', 'etodayChg')|float}} - sensor: - name: "Sunsynk Battery etodaydischg" state_class: total_increasing unique_id: "sensor.sunsynk_battery_etodaydischg" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_battery', 'etodayDischg')|float}} - sensor: - name: "Sunsynk Grid Export Today" state_class: total_increasing unique_id: "sensor.sunsynk_grid_export_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_grid', 'etodayTo')|float}} - sensor: - name: "Sunsynk Grid Today" state_class: total_increasing unique_id: "sensor.sunsynk_grid_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_grid', 'etodayFrom')|float}} - sensor: - name: "Sunsynk Grid Export Total" state_class: total_increasing unique_id: "sensor.sunsynk_grid_export_total" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_grid', 'etotalTo')|float}} - sensor: - name: "Sunsynk Load Today" state_class: total_increasing unique_id: "sensor.sunsynk_load_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_load', 'dailyUsed')|float}} Screenshots (Monthly Production missing from screenshots below but it is included on the dashboard, there is just no data as yet so I have not posted it):-
Sunsynk.yaml
-
randomfool got a reaction from mzezman in SunSynk Logger Integration into Home AssistantOk here goes; caveats to begin with - I am no HA expert, in fact I only discovered HA a few weeks ago through Gary's post and his subsequent links to slip06x dashboard, so my ability to provide "support" will be limited. I am more than happy for any of this work to be updated and improved upon and added to any github to help others as needed. I will be making many other changes to suit my specific needs (e.g. integrating Octupus Agile automations and cards); have left this largely vanilla so you can customise to your own specific requirements.
All of that said; attached is the modified slip06x Sunsynk dashboard; I have made a few changes:-
Removed load shedding as it's not applicable to the UK Moved some of the cards around; dropped the energy cards from the bottom as I felt they were a duplication although I may add them back in at a later date. Today's graph focuses on last 6 hours; not 24 hour period (scroll still enabled). I'm still playing around with this and may change to 12 hours but for the UK a 24 hour period didn't look right to me. Integrated Gary's Time Left to Discharge - this requires the Sunsynk automation flows Gary provided on his github. Added the event card and integrated the timer card; note the "Override Mode" currently does nothing; and I will probably change this around in the coming months to better suit my needs. Only 2 grid layouts; desktop (I am using 2560x1440 and it aligns perfectly) and mobile/tablet 800px - you will need to modify to suit your needs. You will need to add the additions below to your configuration.yaml or equivalent. - sensor: - name: "Sunsynk PV Today" state_class: total_increasing unique_id: "sensor.sunsynk_pv_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_input', 'etoday')|float}} - sensor: - name: "Sunsynk Battery etodaychg" state_class: total_increasing unique_id: "sensor.sunsynk_battery_etodaychg" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_battery', 'etodayChg')|float}} - sensor: - name: "Sunsynk Battery etodaydischg" state_class: total_increasing unique_id: "sensor.sunsynk_battery_etodaydischg" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_battery', 'etodayDischg')|float}} - sensor: - name: "Sunsynk Grid Export Today" state_class: total_increasing unique_id: "sensor.sunsynk_grid_export_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_grid', 'etodayTo')|float}} - sensor: - name: "Sunsynk Grid Today" state_class: total_increasing unique_id: "sensor.sunsynk_grid_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_grid', 'etodayFrom')|float}} - sensor: - name: "Sunsynk Grid Export Total" state_class: total_increasing unique_id: "sensor.sunsynk_grid_export_total" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_grid', 'etotalTo')|float}} - sensor: - name: "Sunsynk Load Today" state_class: total_increasing unique_id: "sensor.sunsynk_load_today" device_class: energy unit_of_measurement: kWh state: > {{state_attr('sensor.sunsynk_load', 'dailyUsed')|float}} Screenshots (Monthly Production missing from screenshots below but it is included on the dashboard, there is just no data as yet so I have not posted it):-
Sunsynk.yaml
-
randomfool got a reaction from alex71 in SunSynk Logger Integration into Home AssistantI am making good progress on converting slip06x excellent dashboard to work with Gary's brilliant work on gathering the data from the latest Sunsynk inverters remotely.
Will publish the dashboard below for others to use when I have ported all of the sensors and fixed the various layout issues and CSS irregularities. I have integrated the Automation and Events card on the right hand side. Still need to fix the System Timer and some other parts but will get on to that.
-
randomfool got a reaction from -cK- in SunSynk Logger Integration into Home AssistantI am making good progress on converting slip06x excellent dashboard to work with Gary's brilliant work on gathering the data from the latest Sunsynk inverters remotely.
Will publish the dashboard below for others to use when I have ported all of the sensors and fixed the various layout issues and CSS irregularities. I have integrated the Automation and Events card on the right hand side. Still need to fix the System Timer and some other parts but will get on to that.
-
randomfool got a reaction from Sc00bs in SunSynk Logger Integration into Home AssistantI am making good progress on converting slip06x excellent dashboard to work with Gary's brilliant work on gathering the data from the latest Sunsynk inverters remotely.
Will publish the dashboard below for others to use when I have ported all of the sensors and fixed the various layout issues and CSS irregularities. I have integrated the Automation and Events card on the right hand side. Still need to fix the System Timer and some other parts but will get on to that.
-
randomfool got a reaction from Gary Waterworth in SunSynk Logger Integration into Home AssistantI am making good progress on converting slip06x excellent dashboard to work with Gary's brilliant work on gathering the data from the latest Sunsynk inverters remotely.
Will publish the dashboard below for others to use when I have ported all of the sensors and fixed the various layout issues and CSS irregularities. I have integrated the Automation and Events card on the right hand side. Still need to fix the System Timer and some other parts but will get on to that.
-
Removed the temp graph data that is retrieved from the website.
Created 2 new sensors so that historical data will get updated normally
Changed AC DC Temperature card.
In case you have extra data ( Should be purged after 10 days anyway ) . Install the SQLLite Web addon
Then run this query
DELETE FROM states WHERE entity_id="sensor.sunsynk_temp_data"; -
Actually Found a very quick answer for you using Apex Charts
Try this example. The long term statistics are available.
I dont see the point in making a parrallel system
Documentation : https://github.com/RomRider/apexcharts-card
type: custom:apexcharts-card graph_span: 20day stacked: true yaxis: - id: first decimals: 1 min: 0 span: end: day header: show: true title: 20 Day Graph show_states: true colorize_states: true all_series_config: stroke_width: 4 opacity: 1 group_by: func: diff duration: 1day show: legend_value: false color_list: - cyan - blue - red series: - entity: sensor.sunsynk_grid_total type: column name: Grid - entity: sensor.sunsynk_pv_total type: column name: PV - entity: sensor.sunsynk_load_total type: line name: Load Edit : Added some more params so day = cal day
-
Yes those forever totals are best for the energy graphs
There are daily and weekly totals as well in the main sensors in the attributes. Will have to try see how those graphs are being generated.
There are also ways to pull in the sunsynk graph data as well. Same as what I did for the temperature data.
Will look at it when I have some time
-
Yeah it is a pain here
Just keep in mind that all of this is done on my own and not approved by sunsynk/e-linter
-
Sure , but credits go to slipx for all his good work.
https://github.com/gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk/blob/main/Gather Files/Sample Card for Power flow based on work by slipx on powerforum.co.za.txt
-
Added a whole lot of sample cards in
https://github.com/gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk/tree/main/Gather Files
Pretty much the core of everything I use
-
randomfool reacted to slipx in SunSynk Logger Integration into Home AssistantI've been working on a "lite" version if you don''t need Aux or Non-Essential
Uploaded to GitHub if you want to give it a try
-
randomfool reacted to slipx in SunSynk Logger Integration into Home Assistant@-cK- you can find the latest power flow card here https://github.com/slipx06/Sunsynk-Home-Assistant-Power-Flow-Card
I've added some animations and other improvements.
If you want some Dashboard ideas https://github.com/slipx06/Sunsynk-Home-Assistant-Dash
-
randomfool got a reaction from RocketBoy in SunSynk Logger Integration into Home Assistantslight cleanup - i'll export the json here when finished if anyone wants a copy
-
Sure, please post the json when you are ready. Will be useful to someone, even as a reference
This is the route I went using apexcharts and mushroom
-
randomfool reacted to -cK- in SunSynk Logger Integration into Home AssistantNice
Still need to delft into Grafana and InfuxDB myself (got it installed but that is where that ended for now)
Just made a few custom cards at this point to give me what I want at a glance and got my geyser of so many automation it ain't funny just to try and not use any Eskom power 😅. There is probably and more elegant way of doing all of those automations I have but heck if it works it works is my motto...
-
randomfool got a reaction from mzezman in SunSynk Logger Integration into Home Assistantslight cleanup - i'll export the json here when finished if anyone wants a copy
-
randomfool got a reaction from lcj in SunSynk Logger Integration into Home AssistantJust wanted to say thank you for pulling this together. I was about to pull the trigger on an RS485-USB and Pi4 to setup HA following this guide GitHub - kellerza/sunsynk: Sunsynk Inverter Python library and Home Assistant OS Addon but looks like this will give me the basics for now, will contribute more as I learn.