Everything posted by lun123
-
My Sunsynk 8Kw & data collection setup
no the sensor does not show up there. No template sensors are shown, only the original "Master" and "Slave" entities Is there something i can do to show these sensors?
-
My Sunsynk 8Kw & data collection setup
It has been running like this for days now and there is no if shown on the solar. , The issue I have with the template sensor created for "sensor.sunsynk_total_day pv" is that it does not read the state. State is shown as undefined. the other sensors read correctly, however this is info taken either form the master or the slave inverter. As soon as I create ethe combines sensor template, I get the same result.
-
My Sunsynk 8Kw & data collection setup
Thanks for your reply, so after trying many different things, i have now managed to connect an esp to each inverter and can see the date of each. this part is now working perfectly. My next challenge is as follows: Not sure if you have managed to find a solution. I am using values taken from two sensors and adding them in a template sensor. sensor.sunsynk1_slave_total_load_energy (slave inverter) sensor.sunsynk_master_total_load_energy. (Master inverter) # sensor.sunsynk_total_pv_energy sunsynk_total_pv_energy: friendly_name: Sunsynk Total PV Energy value_template: "{{ states('sensor.sunsynk_master_total_pv_energy') | float + states('sensor.sunsynk1_slave_total_pv_energy') | float }}" unit_of_measurement: "kWh" I have renamed the template sensor sensor.sunsynk.total_pv_energy This value however does not display correctly on the graph and shows as “undefined” Below is the .yaml code used for the graph. type: custom:plotly-graph view_layout: grid-area: daily entities: - entity: sensor.sunsynk_total_pv_energy statistic: state name: | $fn ({ ys,meta }) => "Solar" + "🔆" + "(" +ys[ys.length - 1]+"kWh)" period: day type: bar texttemplate: '%{y}' filters: - filter: i>0 marker: color: rgb(255, 155, 48) I have tried to include device_class as per a suggestion i received on another post but it still does not read the value. However when entering the entity it shows a state in this case 9793.6. image1037×333 40.3 KB Below is the code showing device_class Does anyone know what could be the problem. # sensor.sunsynk_total_pv_energy sunsynk_total_pv_energy: friendly_name: Sunsynk Total PV Energy value_template: "{{ states('sensor.master_master_total_pv_energy') | float + states('sensor.sunsynk1_slave_total_pv_energy') | float }}" unit_of_measurement: "kWh" device_class: energy_storage
-
My Sunsynk 8Kw & data collection setup
Please assist as I am busy pulling my hair out. I am trying to pull information from two inverters (Master and slave) using esp32. Each inverter is connected separately via ESP and i have set the appropriate address. The problem is have is that I can see and pull all the information from the one inverter, however the other inverter logs shows errors with "Duplicate modbus command found: type=0x3 address=96 count=2" I have tried many ways to get the information form both inverters, however it seems as if there is address conflict. Master inverter modbus address set to 1 and slave set to 2. Sunsynk1 .yaml logs shows all data pulled from inverter Sunsynk .yaml logs shows errors with duplicate modbus address. Has anyone been able to connect using 2 inverters. Any assistance would be greatly appreciated. logs_sunsynk1_logs (2).txtlogs_sunsynk_logs (3).txt
-
Home Assistant Inverter Integration Options
Thanks Yuri, thanks for the response, will try this and let you know. Hopefully this will do the trick.
-
Home Assistant Inverter Integration Options
Is there a way to collect data from 2x 8kw sunsynk inverters using esp32. I have managed to connect to the master, but can get any info from the slave.