December 4, 20241 yr Good day It is possible to add more than 1 inverter to the SolarSynk as i have multiple inverters i am needing to add to a dashboard? Regards Marcus
December 7, 20241 yr Author On 2024/12/04 at 11:59 AM, mkotschan said: Good day It is possible to add more than 1 inverter to the SolarSynk as i have multiple inverters i am needing to add to a dashboard? Regards Marcus Yes ,just put multiple serial numbers in the serial field separating them with a semicolon ; I.E 12345;54321
January 3, 20251 yr Hello, i hope everyone is well and if you had a break, that it was a great one. i am a noob with HAS, and finding my way around - and am very happy so far with it all. i have installed both the SolarSynk part from @MartinViljoen as indicated in the begining of this topic, as well as the the part from @slipx. Thank you for great work. i followed the installation instructions from the GitHub pages, and i have the SolarSynk entities and can see the populated with values. so far so good. when i am trying to build a card like @MartinViljoen showed using @slipx, i get an error. what i did was go to my dashboard, click on the edit button on the top right, and then clicked on Add Card. when i try to build the custom card at the begining of this topic, using: type: custom:sunsynk-power-flow-card i get an error message of: Custom element doesn't exist: sunsynk-power-flow-card. please can you guide me as to what i am doing wrong? regards Marc
January 3, 20251 yr 10 minutes ago, vdpollm said: Hello, i hope everyone is well and if you had a break, that it was a great one. i am a noob with HAS, and finding my way around - and am very happy so far with it all. i have installed both the SolarSynk part from @MartinViljoen as indicated in the begining of this topic, as well as the the part from @slipx. Thank you for great work. i followed the installation instructions from the GitHub pages, and i have the SolarSynk entities and can see the populated with values. so far so good. when i am trying to build a card like @MartinViljoen showed using @slipx, i get an error. what i did was go to my dashboard, click on the edit button on the top right, and then clicked on Add Card. when i try to build the custom card at the begining of this topic, using: type: custom:sunsynk-power-flow-card i get an error message of: Custom element doesn't exist: sunsynk-power-flow-card. please can you guide me as to what i am doing wrong? regards Marc i just removed it, rebooted and started over, and it works. thank you @slipx and @MartinViljoen for your great work
January 21, 20251 yr Hi, I think there has been a regression with the latest update. My battery SOC is often reporting as 0 I've disabled my battery full notification for now
January 24, 20251 yr Hi All Has something changed recently ? I have redone my HA instance on new hardware and now I am getting this in the logs /run.sh: line 545: [: ==: unary operator expected Its also not detecting my inverters anymore Inverter Information Brand: null Status: null Max Watts: null Plant ID: null Plant Name: null Inverter S/N: null Thanks
January 24, 20251 yr Hi All Since the last Sunsynk cloud outage last week, the SolarSynk app returns all values as zeroes randomly on the curl fetch. In the last 30min(6 rotations of the script) 4 x it returned values, 2 x it returned all zeroes. Anyone else seeing this behavior ?
January 25, 20251 yr Author 18 hours ago, DoubleP said: Hi All Since the last Sunsynk cloud outage last week, the SolarSynk app returns all values as zeroes randomly on the curl fetch. In the last 30min(6 rotations of the script) 4 x it returned values, 2 x it returned all zeroes. Anyone else seeing this behavior ? It should be fixed now in the new update, the sunsynk server issues is still causing the auth token to not be handed out reliably. But to fix this I added a check in place for the script to keep retrying until the server gives a valid token.
January 25, 20251 yr 18 hours ago, DoubleP said: Hi All Since the last Sunsynk cloud outage last week, the SolarSynk app returns all values as zeroes randomly on the curl fetch. In the last 30min(6 rotations of the script) 4 x it returned values, 2 x it returned all zeroes. Anyone else seeing this behavior ? why not get your data direct from the inverter?
January 25, 20251 yr Hi Thanks for the response, I have only had my solar for about 6 months, so still a noob with all this stuff, but I am learning as I go along . I have been doing some reading up on getting the data directly from the inverter rather than the cloud.
February 4, 20251 yr Firstly thank you - I now have the invert information in Home Assistant. Did you ever find a way to update settings that was compliant with the length of a helper? I have tried a few things below all with error 500 - the inverter serial has been edited. If there are a set number of parameters that needs to be sent do you know the minimum set ? If the minimum set exceeds the HA text limit did you fine a work around ? I just need to decide if I top up batteries on a cheap tariff on Time period 3 and 5 or not. So I would be ether setting those parameters to charge or not based on the battery state of charge. So enable Time 2 and Change the SOC2 to 100 to charge or Disable Time 2 and set SOC2 to 10 to continue discharge Thank you Updating Helper: input_text.solarsynk_x_inverter_settings with: "cap1": "80", "cap2": "80", "cap3": "80", "cap4": "80", "cap5": "80", "cap6": "80" { "code": 500, "msg": "Internal Server Error", "data": null, "success": false } Clearing previously set temporary settings. Fetch complete for inverter: x Updating Helper: input_text.solarsynk_x_inverter_settings with: "genTime1on": false, "time1on": true, { "code": 500, "msg": "Internal Server Error", "data": null, "success": false } Clearing previously set temporary settings. Fetch complete for inverter: x
February 4, 20251 yr As a minor update by.adding the curly brackets I got the battery capacity to change. other settings which I have tried in various combinations return the errors
February 5, 20251 yr 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.
February 5, 20251 yr Having installed this yesterday 1. Just look in entities and you will find them all. You don't need to do anything. 2 there is no need to install the card but it does look nice. my issue is writing changes to the system which I think it a little picky ( the Sunsynk end ) and hopefully someone will share their method
February 6, 20251 yr 20 hours ago, JeremyLondon said: Having installed this yesterday 1. Just look in entities and you will find them all. You don't need to do anything. 2 there is no need to install the card but it does look nice. my issue is writing changes to the system which I think it a little picky ( the Sunsynk end ) and hopefully someone will share their method 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?
February 6, 20251 yr Author I'm not 100% sure what you mean. How would I now get a nice flow chart or something similar to what Slipx has? Are you having problems installing the SlipX card via HACS ? 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? You dont have to fiddle with the configuration.yaml The SolarSynk Addon will send which ever values it found to a predefined entity. The naming convention is Example sensor.solarsynk_[INVERTERSERIAL]_battery_power1 You cannot rename them, unless you clone the repository and edit the run.sh file. But I dont see any reason to do that. The SlipX card and the SolarSynkv2 Addon are totally 2 different developments and are not directly related in any way. SolarSynk Addon - Fetches information from your Sunsynk Cloud Account and then populates entities with values. Doesnt do anything else. SlipX Card - Is used to graphically display the entity information on a nice looking card on your HA dashboard. You dont have to use the slipX card there are some of the boring default HA cards you can also use.
February 7, 20251 yr 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.
February 7, 20251 yr Author I think I know what you mean now. Since the original post further developments were made. On the SlipX card there is now a GUI, all you do go to each datapoint and search for the entity you want in order to link it. You can also offcoarse opt to manually edit the SlipX configuration yaml file if you wanted to. (Not to be confused with Home assistant's configuration file) I.E What I meant in the first post was I named the entities to be similar to the slipx card (On a developer level) so its easy to map them. As a user you cannot change them. The naming of both addon and card also later changed slightly so its not relevant anymore. Edited February 7, 20251 yr by MartinViljoen
February 7, 20251 yr @MartinViljoen did you manage to find a way to post the system mode settings whilst respecting whatever combination the api needs and the length of the helper ?
February 7, 20251 yr Author Unfortunatly not. I havent realy given it thought yet, I dont use this addon anymore I make use of modbus over serial.
February 7, 20251 yr Ok thanks. I will have a play but may do the same thing. It is a shame as the manipulation required is nominal and it would be nice and simple. Jeremy
February 11, 20251 yr @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.
February 25, 20251 yr @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?
February 25, 20251 yr Author Not quite sure. This is bash script and i dont have much error control in it so when ever there is an unexpected string or int encountered it will give this kind of error. But looking at your log I suspect you have a semicolon at the end of your inverter serilal numbers. I.E Serial1;Serial2; Serial1;Serial2 , So its parsing Serial1 Serial2 then a blank serial ? Seeing there are many request for better error control , sending settings ect I decided to re-create the addon using python which will be much better. Its almost done i'm in the process of testing it and adding the ability to send settings then I will make it available. instead of
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.