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.

Sunsynk + Hubble > Home Assistant or MQTT

Featured Replies

Recently got a sunsynk 5 and Hubble AM2 battery installed to help with loadshedding. Planning to add some PV's later when the budget allows for it.

I'm an avid fan of all things automation, and have been toying with Home Assistant, Node Red, MQTT, Arduino, Raspberry PI's and the likes, for years.

 

What would be the simplest way to get basic information from the Inverter/Battery to my Home Assistant setup? At the moment, I'm interested in only a few options, such as determining whether the house is running off the inverter/battery or off the grid, plus some graphing of voltages/wattages/frequencies.

 

I have a few PI's and Arduinos lying around the house, but preferred would be to somehome poll directly from the Wifi Data Logger.

Any advice would be appreciated!

You will need a USB-RS485 adapter and a suitable Raspberry Pi/Intel Nuc or similar to run things on.

Node Red, Influx DB & Grafana works very nicely

You connect directly from the RPI to the inverter using the RS485 port. 

Would use the Flows posted by Bloubul7 if you want to be able to change the settings on the inverter or if you just want to monitor, then you can use the flows on my system post that are modified Bloubul7  ones with all the extra stuff removed 

Is a bit daunting at first but once you have the hang of it is relatively easy to customise to however you want it to look

  • Author

Interesting, thank you! Will check it out. So I'm assuming there's no way to poll it natively over TCP/IP from the data logger web-interface?

My Hubble AM2 lithium battery cable will only be installed next week. I'm assuming that if this uses the modbus port, I'm stuck?

Battery usually uses the Modbus port, RPI/Nuc uses the RS485 port, there is one of each on the inverter. 

You can also use a RS485 - Ethernet converter and access the Inverter over the network if you don't want to have the RPI next to the inverter or want to run off something else perhaps. 

Not saying that it is impossible bit nobody has worked out a way of polling the data from the wifi adapter that I have seen. 

Using the RS485 interface also has the advantage of being able to write data to the inverter to change the mode it is working in etc.

Worth having a look at Bloubul7's post and the original poost that started the whole connection to the inverter thing off. 

 

 

 

 

  • Author

I already have Home Assistant, MQTT, Node Red and Grafana running on a dedicated rPI for home automation.

If I install another Pi next to the inverter, will this run a separate dedicated instance of Node Red? 

What OS image should I be using on this Pi as a platform?

21 hours ago, jacauc said:

I already have Home Assistant, MQTT, Node Red and Grafana running on a dedicated rPI for home automation.

If I install another Pi next to the inverter, will this run a separate dedicated instance of Node Red? 

What OS image should I be using on this Pi as a platform?

Yes, the Pi next to the inverter will run a dedicated instance Node Red.  The flows in Node Red will publish the information to your Home Assistant Pi via MQTT.

OS - You can run the official Pi OS.

 

  • 10 months later...

Hi!

I am new to the forum and read a lot how you managed to poll data from the Sunsynk. I have a Waveshare RS485 to ETH converter and would like to get the data now in my Smart Home PI400. How can I do this? I can set it up as a TCP Server but then I am lost how to send data to that server and what to send to get data from the Sunsynk.

Alternatively I have a PI Zero lying around and could use this. Can I install your node-red scripts on it and use it as an MQTT Broker and if so is there a walkthrough available? I am just a little familiar with Linux...

Thanx for the help!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.