Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

randomfool

Members
  • Joined

  • Last visited

  1. hi what's better to use this node-red integration or the "Sunsynk v3 addon" implementation with a dual inverter setup? thanks
  2. Gary can you add the ability to set "sysWorkMode" please. (0 is export, 2 is Zero-Export + Limit to Load Only). I think with this I can get away with just performing some basic weather checks and other pieces then either simplify my JavaScript or potentially remove it entirely and just create a yaml automation.
  3. Superb advice thank you will look into this tomorrow.
  4.    cp2023 reacted to a post in a topic: SunSynk Logger Integration into Home Assistant
  5. Updated 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
  6. Purged recorder Removed flows Rebooted HA Followed full install procedure again Fixed
  7. Started working, I deleted the the entire node-red configuration and re-imported and everything is up now. I purged all old entries and shut down HA prior to doing this, not sure if this made any difference but either way it's all looking good now!
  8. @Gary Waterworth I am trying to switch over to version 2. Followed all the steps in the quick guide. Obtained my serial number and plantid, got a long life token. I can see raw data being obtained as shown below:- however it failing here: Also Calc Last Update Time & General Status Check has error "11/01/2024, 20:10:46node: Calc Last Update Time & General Status Checkfunction : (error) "Logger Not Online - Error With Data ""
  9. Hi, Hi Gary, in the 3 months I have been running with this timer configuration it has worked flawlessly for me. It sets the timer1 value to the nearest 5 minutes before the current time e.g. 16:23 becomes 16:20 timer2 is always set to 23:55, so the inverter only ever needs to look at timeslot 1; therefore all other time slots can be set to 00:00. I will download your new script and re-factor mine to take advantage, thank you for all of your hard work.
  10. I have had a few requests from UK users for an updated version of the Octopus Agile script I created a few months ago which automates various parts of charge/discharge and wanted to share this with the community for anyone to use as they see fit. I hope it is of some use to others Here is a summary of what the script does and the attached JSON file. // This script attempts to charge the battery by controlling the inverter throughout a 24 hour period // Firstly it performs an overnight check based on weather conditions from openweathermap // For example if it is rainy we charge the battery higher than if it were partlycloudy // Further, it should only charge the battery at the cheapest price points overnight so use // (https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy) and create custom target sensors that turn on during the cheapest price periods // In this script they are referenced as timer1 (overnight) and timer2 (daytime) // As the battery can run low (particularly in winter) during the day time timer2 charges the battery to the value of the variable "timer2_target" before the peak period (peak period is usually 4-7pm) // Finally, a third target sensor import_highprice is used to identify edge cases where the battery SOC is below 30% but it is a peak price period. In this case allow the battery to deplete as low as 10% // ** As an override to all of the above, if the import_current_price is less than import_current_price_target the inverter will sell back to the grid to take advantage of preferential export prices // This can run at any point and will ensure the battery charges/discharges on a loop between the 70 to 80% range ** // This script automatically accounts for daylight savings // It will automatically ensure timer1 is always up to date, ensure all other timers on the inverter are removed Sunsynk Octopus Agile Automation Version 3.json
  11. Today I started getting a lot of errors in node red, example below from debug messages:- 11/10/2023, 17:36:00node: Update SunSynk Load msg : string[88] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_load, statusCode 400" 11/10/2023, 17:36:06node: Update SunSynk Battery msg : string[91] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_battery, statusCode 400" 11/10/2023, 17:36:06node: Sunsynk Input Data function : (error) "TypeError: Cannot read properties of undefined (reading 'ppv')" 11/10/2023, 17:36:06node: Sunsynk Grid function : (error) "TypeError: Cannot convert undefined or null to object" 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Logger Not Online - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Logger Not Online - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " 11/10/2023, 17:36:06node: Update SunSynk Battery msg : string[91] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_battery, statusCode 400" 11/10/2023, 17:36:06node: Sunsynk Grid function : (error) "TypeError: Cannot convert undefined or null to object" 11/10/2023, 17:36:06node: Sunsynk Input Data function : (error) "TypeError: Cannot read properties of undefined (reading 'ppv')" 11/10/2023, 17:36:06node: Update SunSynk Load msg : string[88] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_load, statusCode 400" 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Logger Not Online - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:06node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " 11/10/2023, 17:36:06node: Update SunSynk Battery msg : string[91] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_battery, statusCode 400" 11/10/2023, 17:36:07node: Update SunSynk Load msg : string[88] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_load, statusCode 400" 11/10/2023, 17:36:07node: Sunsynk Grid function : (error) "TypeError: Cannot convert undefined or null to object" 11/10/2023, 17:36:07node: Sunsynk Input Data function : (error) "TypeError: Cannot read properties of undefined (reading 'ppv')" 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Logger Not Online - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Logger Not Online - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " 11/10/2023, 17:36:07node: Update SunSynk Battery msg : string[91] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_battery, statusCode 400" 11/10/2023, 17:36:07node: Sunsynk Input Data function : (error) "TypeError: Cannot read properties of undefined (reading 'ppv')" 11/10/2023, 17:36:07node: Update SunSynk Load msg : string[88] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_load, statusCode 400" 11/10/2023, 17:36:07node: Sunsynk Grid function : (error) "TypeError: Cannot convert undefined or null to object" 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Logger Not Online - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Data last updated more than 3 minutes ago. Should be minimum less than a minute - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Logger Not Online - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " 11/10/2023, 17:36:07node: Update SunSynk Battery msg : string[91] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_battery, statusCode 400" 11/10/2023, 17:36:07node: Update SunSynk Load msg : string[88] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_load, statusCode 400" 11/10/2023, 17:36:07node: Sunsynk Input Data function : (error) "TypeError: Cannot read properties of undefined (reading 'ppv')" 11/10/2023, 17:36:07node: Sunsynk Grid function : (error) "TypeError: Cannot convert undefined or null to object" 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Data last updated more than 3 minutes ago. Should be minimum less than a minute - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Logger Not Online - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Logger Not Online - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:07node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " 11/10/2023, 17:36:07node: Update SunSynk Battery msg : string[91] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_battery, statusCode 400" 11/10/2023, 17:36:07node: Sunsynk Grid function : (error) "TypeError: Cannot convert undefined or null to object" 11/10/2023, 17:36:07node: Update SunSynk Load msg : string[88] "hass-post: API call http://localhost:8123/api/states/sensor.sunsynk_load, statusCode 400" 11/10/2023, 17:36:07node: Sunsynk Input Data function : (error) "TypeError: Cannot read properties of undefined (reading 'ppv')" 11/10/2023, 17:36:10node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:10node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:10node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " 11/10/2023, 17:36:55node: Calc Last Update Time & General Status Check function : (error) "Input(Input) - Error With Data " 11/10/2023, 17:36:55node: Calc Last Update Time & General Status Check function : (error) "Input(Grid) - Error With Data " 11/10/2023, 17:36:55node: Calc Last Update Time & General Status Check function : (error) "Input(Load) - Error With Data " Most of my automations now don't work including slip06x card. Some data is still pulling through for example Sunsynk Settings. I am still region 1 awaiting region 2 migration. Has anyone else experienced issues? The app works fine as does the web site.
  12. For anyone interested here is my latest update to the dynamic pricing automation which has been running perfectly now for 2+ months (I use Octopus Agile in the UK where we receive 30 minute import/export price changes so it can be very beneficial to pick the right times to import/export). I have added an export functionality which sets the sysWorkMode to 0; in my case this looks at a helper which turns on/off based on the target rate sensors used in this integration (HomeAssistant-OctopusEnergy/_docs/setup_target_rate.md at develop · BottlecapDave/HomeAssistant-OctopusEnergy · GitHub). I use the Power Flow Card by slip06x to be able to toggle it on/off manually or you can setup a simple automation and it will use this to export to the grid when the battery soc > 80% and price is preferential to do so. As before it is calibrated to continually update timer1 to the current hour (depending on your locale from HA) and has various checks for weather, pricing, time etc. I don't suggest you just copy and paste mine (unless you are a UK user and want to reverse engineer a few sensors) but can be used as a guide for anyone wishing to automate their SS inverter based on dynamic pricing from your provider. Most of the config is defined as variables so it's relatively easy to adjust to your needs. Hope this helps someone. Sunsynk Dyanmic Pricing Automation.json
  13. it's been a while since I did this and no longer use it but from memory I followed this guide:- InfluxDB - Home Assistant (home-assistant.io) there is a section for how the configuration.yaml should be setup; the rest can be done in the InfluxDB Addon
  14. After having multiple issues with the temperamental Octopus Agile API used by Sunsynk messing up the timer values and subsequently not functioning as required I have created an entirely new script, this is much improved and having run it now a few days so far working well for me. Maybe this will be of use to someone else? Do not enable Live Price in the Sunsynk UI; You will need to provide a sensor where the script can pull the current price from, a key difference is this can be any energy supplier who provides dynamic pricing, and not restricted to Octopus providing you can get sensor data. I would recommend cleaning any existing timer values you have setup before running this. The script will automatically update timer1 to be the current hour every hour based on the system locale defined in HA. It will check your price sensor and in my case; when the sensor is ON it will set the SOC/V based on the weather and enables Grid Charge. When the sensor is OFF it changes SOC/V to 25% and disables Grid Charge effectively forcing it to use the battery. As noted above I have also included the weather check in this script so that the SOC charge % is variable. All of this can adjust to your needs. With this script you should be able to set and forget if you are lucky enough to receive dynamic pricing. Sunsynk automation Dynamic Pricing.json
  15. This looks like it might still be an issue, just spoke with one of their support team as had a few issues with it not charging despite being set correctly. This is odd though as when you turn on "Live Price" it automatically starts adjusting timer1 to the current hour so you would have thought this would have been tested. In other news, the final stage of the Region 2 DC move looks to be going ahead this weekend.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.