Everything posted by nar60
-
Connect Home Assistant with Sunsynk
Hi @MartinViljoen, I have found my issue!! If you check in the logs I send. I did not follow the instructions correct. Sending to http://http://192.168.0.87:8123 So it never manage to send the information to HA.
-
Connect Home Assistant with Sunsynk
@MartinViljoen, in the logs I spotted: ------------------------------------------------------------------------------ Reading settings entity -> solarsynk_<inverterSN>_inverter_settings ------------------------------------------------------------------------------ /run.sh: line 560: [: ==: unary operator expected What is the issue with the run.sh here?
-
Connect Home Assistant with Sunsynk
@MartinViljoen, I am problaly doing something wrong or my HA is not setup correct. See below the Entities under the template does not seem to be responsive. I cannot see any data but If I pull the logs from the add-on it has all the correct data with the current date and time so it was just pulled. ------------------------------------------------------------------------------ -- SolarSynk - Log ------------------------------------------------------------------------------ Script execution date & time: 11/02/2025 11:17:50 Verbose logging is set to: true HTTP Connect type: http Getting bearer token from solar service provider's API. Valid token retrieved. Bearer Token length: 646 Sunsynk Server API Token: Hidden for security reasons Refresh rate set to: 300 seconds. Note: Setting the refresh rate of this addon to be lower than the update rate of the SunSynk server will not increase the actual update rate. Fetching data for serial: <> Cleaning up old data. Please wait while curl is fetching input, grid, load, battery & output data... ------------------------------------------------------------------------------ Inverter Information Brand: Deye Status: Normal Max Watts: 8000 Plant ID: <> Plant Name: DirkjLouw Inverter S/N: <> ------------------------------------------------------------------------------ Data fetched for serial <>. Enable verbose logging to see more information. If ALL values are NULL then something went wrong. battery_capacity 420.0 battery_chargevolt 53.8 battery_current -21.22 battery_dischargevolt 0.0 battery_power -1147 battery_soc 99.0 battery_temperature 30.7 battery_type 1 battery_voltage 54.1 day_battery_charge 9.4 day_battery_discharge 0.5 battery1_voltage 0.0 battery1_current 0.0 battery1_power 0.0 battery1_soc 0.0 battery1_temperature 0.0 battery1_status 1 battery2_voltage 0 battery2_current 0 battery_dischargevolt2 0 battery2_power 0 battery2_soc 0 battery2_temperature 0 battery2_status 0 day_grid_export 0.0 day_grid_import 6.3 day_load_energy 8.60 day_pv_energy 13.70 grid_connected_status 0 grid_frequency 50.0 grid_power 0 grid_voltage 238.4 grid_current 1.5 grid_power1 0 grid_voltage1 0 grid_current1 0 grid_power2 0 grid_voltage2 0 grid_current2 0 inverter_frequency 50.0 inverter_power 1063 inverter_current 4.5 inverter_voltage 239.4 inverter_power1 0 inverter_voltage1 0 inverter_current1 0 inverter_power2 0 inverter_voltage2 0 inverter_current2 0 load_frequency 50.0 load_current 0.0 load_power 1105 load_voltage 239.0 load_current1 0.0 load_power1 1105 load_voltage1 239.0 load_current2 0.0 load_power2 1105 load_voltage2 239.0 load_totalpower 1105 load_upsPowerL1 0.0 load_upsPowerL2 0.0 load_upsPowerL3 0.0 load_upsPowerTotal 1105.0 pv1_current 4.6 pv1_power 1165.0 pv1_voltage 253.0 pv2_current 4.6 pv2_power 1163.0 pv2_voltage 253.4 pv3_current 0 pv3_power 0 pv3_voltage 0 pv4_current 0 pv4_power 0 pv4_voltage 0 overall_state Normal prog1_time: 00:00 prog2_time: 05:00 prog3_time: 09:00 prog4_time: 13:00 prog5_time: 17:00 prog6_time: 21:00 prog1_charge: false prog2_charge: false prog3_charge: false prog4_charge: false prog5_charge: false prog6_charge: false prog1_capacity: 40 prog2_capacity: 35 prog3_capacity: 40 prog4_capacity: 50 prog5_capacity: 50 prog6_capacity: 40 battery_shutdown_cap: 20 use_timer: 1 priority_load: 1 dc_temp: 50.4 ac_temp: 48.7 ------------------------------------------------------------------------------ Attempting to update the following sensor entities Sending to http://http://192.168.0.87:8123 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Reading settings entity -> solarsynk_<>_inverter_settings ------------------------------------------------------------------------------ /run.sh: line 560: [: ==: unary operator expected Helper entity input_text.solarsynk_<>_inverter_settings has no value. Therefore no inverter setting will be sent for change. Clearing previously set temporary settings. Fetch complete for inverter: <> Fetching data for serial: <> Cleaning up old data. Please wait while curl is fetching input, grid, load, battery & output data... ------------------------------------------------------------------------------ Inverter Information Brand: Deye Status: Normal Max Watts: 8000 Plant ID: <> Plant Name: DirkjLouw Inverter S/N: <> ------------------------------------------------------------------------------ Data fetched for serial <>. Enable verbose logging to see more information. If ALL values are NULL then something went wrong. battery_capacity 420.0 battery_chargevolt 0.0 battery_current -1.2 battery_dischargevolt 0.0 battery_power -64 battery_soc 98.0 battery_temperature -100.0 battery_type 1 battery_voltage 53.9 day_battery_charge 4.0 day_battery_discharge 0.9 battery1_voltage 0.0 battery1_current 0.0 battery1_power 0.0 battery1_soc 0.0 battery1_temperature 0.0 battery1_status 1 battery2_voltage 0 battery2_current 0 battery_dischargevolt2 0 battery2_power 0 battery2_soc 0 battery2_temperature 0 battery2_status 0 day_grid_export 0.0 day_grid_import 5.0 day_load_energy 8.70 day_pv_energy 6.30 grid_connected_status 1 grid_frequency 50.2 grid_power 28 grid_voltage 240.0 grid_current 1.7 grid_power1 0 grid_voltage1 0 grid_current1 0 grid_power2 0 grid_voltage2 0 grid_current2 0 inverter_frequency 50.2 inverter_power 1082 inverter_current 4.6 inverter_voltage 241.2 inverter_power1 0 inverter_voltage1 0 inverter_current1 0 inverter_power2 0 inverter_voltage2 0 inverter_current2 0 load_frequency 50.2 load_current 0.0 load_power 1103 load_voltage 240.5 load_current1 0.0 load_power1 1103 load_voltage1 240.5 load_current2 0.0 load_power2 1103 load_voltage2 240.5 load_totalpower 1103 load_upsPowerL1 0.0 load_upsPowerL2 0.0 load_upsPowerL3 0.0 load_upsPowerTotal 1103.0 pv1_current 5.1 pv1_power 1264.0 pv1_voltage 252.5 pv2_current 0.0 pv2_power 0.0 pv2_voltage 2.5 pv3_current 0 pv3_power 0 pv3_voltage 0 pv4_current 0 pv4_power 0 pv4_voltage 0 overall_state Normal prog1_time: 00:00 prog2_time: 05:00 prog3_time: 09:00 prog4_time: 13:00 prog5_time: 17:00 prog6_time: 21:00 prog1_charge: false prog2_charge: false prog3_charge: false prog4_charge: false prog5_charge: false prog6_charge: false prog1_capacity: 40 prog2_capacity: 35 prog3_capacity: 40 prog4_capacity: 50 prog5_capacity: 50 prog6_capacity: 40 battery_shutdown_cap: 20 use_timer: 1 priority_load: 1 dc_temp: 52.0 ac_temp: 49.4 ------------------------------------------------------------------------------ Attempting to update the following sensor entities Sending to http://http://192.168.0.87:8123 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Reading settings entity -> solarsynk_<>_inverter_settings ------------------------------------------------------------------------------ /run.sh: line 560: [: ==: unary operator expected Helper entity input_text.solarsynk_<>_inverter_settings has no value. Therefore no inverter setting will be sent for change. Clearing previously set temporary settings. Fetch complete for inverter: <> All Done! Waiting 300 sesonds to rinse and repeat.
-
Connect Home Assistant with Sunsynk
Hi Martin, Thank you for the post. I gathered about the SolarSynk Addon that pulls information and stores it in entities and I can have a look at them there. What I am after now is to get a display like SlipX cards. From reading your post it sounds as easy as changing the name of the entity but the part I do not understand is the current SlipX flow works with Sensors setup in the configuration.yml. So I was hoping of getting a simple example of how one has setup a graphical view of the solar. Surely one do not go into settings, devices and services and then entities OR go to history and view entities.
-
Connect Home Assistant with Sunsynk
Hi JeremyLondon, So to understand you correct, I can then just check under: Settings,Devices & services, Enttities. There I find all the values and some that are unavailable. So follow up question: 1. How would I now get a nice flow chart or something similar to what Slipx has? Cause from first post in this discussion I thought I would just be able to change the name of the sensor but what I can see there is no sensor if its not configured in the configurations. So should I then add stuff in my configuration.yaml?
-
Connect Home Assistant with Sunsynk
Noob question and help needed or just comments to read a specific post further would help. So I added the add-on. Verbose logging enabled. I can see the information returned in the logs from the inverter: Please wait while curl is fetching input, grid, load, battery & output data... ------------------------------------------------------------------------------ Inverter Information Brand: Deye Status: Normal Max Watts: 8000 Plant ID: <plantID> Plant Name: <plantName> Inverter S/N: <Serial> ------------------------------------------------------------------------------ Data fetched for serial <Serial>. Enable verbose logging to see more information. If ALL values are NULL then something went wrong. battery_capacity 420.0 battery_chargevolt 53.8 battery_current -45.87 battery_dischargevolt 0.0 battery_power -2287 battery_soc 54.0 battery_temperature 28.6 battery_type 1 battery_voltage 49.9 day_battery_charge 3.0 day_battery_discharge 1.0 battery1_voltage 0.0 battery1_current 0.0 battery1_power 0.0 battery1_soc 0.0 battery1_temperature 0.0 battery1_status 1 battery2_voltage 0 battery2_current 0 battery_dischargevolt2 0 battery2_power 0 battery2_soc 0 battery2_temperature 0 battery2_status 0 day_grid_export 0.0 day_grid_import 6.9 day_load_energy 8.40 day_pv_energy 5.20 grid_connected_status 1 grid_frequency 49.86 grid_power 20 grid_voltage 238.1 grid_current 1.1 grid_power1 0 grid_voltage1 0 grid_current1 0 grid_power2 0 grid_voltage2 0 grid_current2 0 inverter_frequency 49.9 inverter_power 1147 inverter_current 4.8 inverter_voltage 239.2 inverter_power1 0 inverter_voltage1 0 inverter_current1 0 inverter_power2 0 inverter_voltage2 0 inverter_current2 0 load_frequency 49.86 load_current 0.0 load_power 1151 load_voltage 238.4 load_current1 0.0 load_power1 1151 load_voltage1 238.4 load_current2 0.0 load_power2 1151 load_voltage2 238.4 load_totalpower 1151 load_upsPowerL1 0.0 load_upsPowerL2 0.0 load_upsPowerL3 0.0 load_upsPowerTotal 1151.0 pv1_current 7.8 pv1_power 1801.0 pv1_voltage 233.3 pv2_current 7.8 pv2_power 1770.0 pv2_voltage 230.4 pv3_current 0 pv3_power 0 pv3_voltage 0 pv4_current 0 pv4_power 0 pv4_voltage 0 overall_state Normal prog1_time: 00:00 prog2_time: 05:00 prog3_time: 09:00 prog4_time: 13:00 prog5_time: 17:00 prog6_time: 21:00 prog1_charge: false prog2_charge: false prog3_charge: false prog4_charge: false prog5_charge: false prog6_charge: false prog1_capacity: 40 prog2_capacity: 35 prog3_capacity: 40 prog4_capacity: 60 prog5_capacity: 60 prog6_capacity: 45 battery_shutdown_cap: 20 use_timer: 1 priority_load: 1 dc_temp: 48.7 ac_temp: 44.4 ------------------------------------------------------------------------------ Attempting to update the following sensor entities Sending to http://http://<ip>:8123 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Reading settings entity -> solarsynk_<Serial>_inverter_settings ------------------------------------------------------------------------------ /run.sh: line 560: [: ==: unary operator expected Helper entity input_text.solarsynk_<Serial>_inverter_settings has no value. Therefore no inverter setting will be sent for change. Clearing previously set temporary settings. Fetch complete for inverter: <Serial> Fetching data for serial: <Serial> Cleaning up old data. Please wait while curl is fetching input, grid, load, battery & output data... ------------------------------------------------------------------------------ Inverter Information Brand: Deye Status: Normal Max Watts: 8000 Plant ID: <plantID> Plant Name: <plantName> Inverter S/N: <Serial> ------------------------------------------------------------------------------ Data fetched for serial <Serial>. Enable verbose logging to see more information. If ALL values are NULL then something went wrong. battery_capacity 420.0 battery_chargevolt 0.0 battery_current -18.5 battery_dischargevolt 0.0 battery_power -919 battery_soc 53.0 battery_temperature -100.0 battery_type 1 battery_voltage 49.7 day_battery_charge 0.8 day_battery_discharge 1.3 battery1_voltage 0.0 battery1_current 0.0 battery1_power 0.0 battery1_soc 0.0 battery1_temperature 0.0 battery1_status 1 battery2_voltage 0 battery2_current 0 battery_dischargevolt2 0 battery2_power 0 battery2_soc 0 battery2_temperature 0 battery2_status 0 day_grid_export 0.0 day_grid_import 5.2 day_load_energy 8.30 day_pv_energy 2.40 grid_connected_status 0 grid_frequency 49.96 grid_power 0 grid_voltage 239.6 grid_current 1.7 grid_power1 0 grid_voltage1 0 grid_current1 0 grid_power2 0 grid_voltage2 0 grid_current2 0 inverter_frequency 49.9 inverter_power 1159 inverter_current 4.8 inverter_voltage 240.8 inverter_power1 0 inverter_voltage1 0 inverter_current1 0 inverter_power2 0 inverter_voltage2 0 inverter_current2 0 load_frequency 49.96 load_current 0.0 load_power 1183 load_voltage 239.8 load_current1 0.0 load_power1 1183 load_voltage1 239.8 load_current2 0.0 load_power2 1183 load_voltage2 239.8 load_totalpower 1183 load_upsPowerL1 0.0 load_upsPowerL2 0.0 load_upsPowerL3 0.0 load_upsPowerTotal 1183.0 pv1_current 9.1 pv1_power 2208.0 pv1_voltage 245.8 pv2_current 0.0 pv2_power 0.0 pv2_voltage 2.3 pv3_current 0 pv3_power 0 pv3_voltage 0 pv4_current 0 pv4_power 0 pv4_voltage 0 overall_state Normal prog1_time: 00:00 prog2_time: 05:00 prog3_time: 09:00 prog4_time: 13:00 prog5_time: 17:00 prog6_time: 21:00 prog1_charge: false prog2_charge: false prog3_charge: false prog4_charge: false prog5_charge: false prog6_charge: false prog1_capacity: 40 prog2_capacity: 35 prog3_capacity: 40 prog4_capacity: 60 prog5_capacity: 60 prog6_capacity: 45 battery_shutdown_cap: 20 use_timer: 1 priority_load: 1 dc_temp: 47.0 ac_temp: 43.2 ------------------------------------------------------------------------------ Attempting to update the following sensor entities Sending to http://http://<ip>:8123 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Reading settings entity -> solarsynk_<Serial>_inverter_settings ------------------------------------------------------------------------------ /run.sh: line 560: [: ==: unary operator expected Helper entity input_text.solarsynk_<Serial>_inverter_settings has no value. Therefore no inverter setting will be sent for change. Clearing previously set temporary settings. Fetch complete for inverter: <Serial> All Done! Waiting 300 sesonds to rinse and repeat. So it seems to CURL correct and everything is good. Questions: 1. Do I need to configure something in the /homeassistant/configuration.yaml to be able to use any of these values? 2. Do I now add a powerFlow card like: Slipx Power Flow Cards ? I followed the Node-red and slipx but I could not get my two inverters working. Stumbled across the above implementation and just like to get an overall plain look at what my house uses and plot graphs.