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.

KellerZa Integration Installation Video

Featured Replies

Hi Everyone, 

I have done a video on the installation of the KellerZA integration from Johann. I think it is a better option than the Solarman integration as it allows for the writing of settings back to the inverter and gives you an upgrade path if you want a faster refresh. is very flexible and easy to setup. 

Please let me know what you think of the video and if you have any questions please let me know. 

Thanks for the great integration @kellerza 🙂 

 

 

  • Replies 52
  • Views 11.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Should be fixed now 

  • Hi @Bobster.  No, you are not correct.  The integration works with both DEYE and Sunsynk inverters as they use the same Modbus command set.  The integration can use the Solarman Wifi Do

  • Thanks. This makes sense, and I should have expected that, because the two brands have the same hardware. Anyway, I'm still out in the cold 🙂

Posted Images

  • Author
 

Am I right that this only works for Sunsynk? If so then it's no use to me.

Hi @Bobster. 

No, you are not correct. 

The integration works with both DEYE and Sunsynk inverters as they use the same Modbus command set. 

The integration can use the Solarman Wifi Dongle, USB-RS485 adapter or various ethernet/wifi - RS485 bridges

The integration does not work with the new Sunsynk Dongle.

There seems to be some issue with the writing of settings back to the inverter from Home Assistant using the Wifi dongle, works with some setups but not others. We are trying to establish what the issue is and if it is resolvable.  Suspecting dongle or firmware versions at the moment, if any one has any other ideas as to what the problem could be am happy to hear them. 

I am currently getting the following error in my logs:

20:18:04 INFO    Writing sensor prog1_capacity=44 Registers:{268=0x002c} 
20:18:06 ERROR   V5FrameError in read_ss: V5 frame does not contain a valid Modbus RTU frame
20:18:27 INFO    Writing sensor prog1_capacity=30 Registers:{268=0x001e} 
20:18:58 INFO    Writing sensor priority_load=ON Registers:{243=0x0001} 
20:19:02 INFO    Writing sensor priority_load=ON Registers:{243=0x0001}

You can change the sensor value in the menu's but the value on the inverter does not change and it just gets changed back. 

It is possible to change the values using the Solarman phone app, so it can be done using the Dongle. 

 

 

Hi @Bobster. 

No, you are not correct. 

The integration works with both DEYE and Sunsynk inverters as they use the same Modbus command set. 

Thanks. This makes sense, and I should have expected that, because the two brands have the same hardware.

Anyway, I'm still out in the cold 🙂

  • Author
 

Thanks. This makes sense, and I should have expected that, because the two brands have the same hardware.

Anyway, I'm still out in the cold 🙂

Why are you out in the cold? 

What is it that you want to do? 

 

Is it just me or is the sound messed up from the 4min mark? It's as if there's 2 voices speaking about different things?

  • Author
 

Is it just me or is the sound messed up from the 4min mark? It's as if there's 2 voices speaking about different things?

Nope, I am getting it as well, thanks for pointing that out, will get it sorted

 

 

Why are you out in the cold? 

What is it that you want to do? 

I don't have a Deye or a Sunsynk. I have a Goodwe, which increasingly seems to be in the minority. History. Nobody's fault.

I'll have to write my own. When I get a round tuit.

  • Author
 

I don't have a Deye or a Sunsynk. I have a Goodwe, which increasingly seems to be in the minority. History. Nobody's fault.

I'll have to write my own. When I get a round tuit.

@Bobster.  I would try connecting to it using the RS485 port and reading the register values as used by the Sunsynk/DEYE inverters.

 

Most of the manufacturers seem to have standardised on the Sunspec Alliance specifications so there does seem to be some sort of standerdisation amongst inverter communications and you may find that it just works.  

Quick one

 

Has anyone managed to get the sunsynk (not solar man) dongle to work ? I have been down the esp32 route and cannot get proper comms, I would like to set this up as it looks super keen. I have a ss dongle that's about 14months old and do see that it states about that this does not work with the "new sunsynk dongle" do older ones work or am I just reaching here ...;-)

 

Thanks

 

  • Author
 

Quick one

 

Has anyone managed to get the sunsynk (not solar man) dongle to work ? I have been down the esp32 route and cannot get proper comms, I would like to set this up as it looks super keen. I have a ss dongle that's about 14months old and do see that it states about that this does not work with the "new sunsynk dongle" do older ones work or am I just reaching here ...;-)

 

Thanks

 

If you are using the Solarman App it will work, if you are using the Sunsynk app it won't. 

Are you in Joburg @Dunc ? 

Happy to help you out with your ESP32 and check it out for you if you are stuck 

 

  • Author
 

Thanks @kellerza and @Sc00bs for your work on this!

Like @Dunc, I'd be interested in the Sunsynk Dongle option...

Is there any work being done on this? Or is there a fundamental reason why it can't work?

I am doing the easy stuff :-), @kellerza does all the heavy lifting 🙂 

Maybe just buy a USB - RS485 adapter, is dead easy to set up 

  • Author
 

Thanks @kellerza and @Sc00bs for your work on this!

Like @Dunc, I'd be interested in the Sunsynk Dongle option...

Is there any work being done on this? Or is there a fundamental reason why it can't work?

Hi @Patrick OReilly My understanding is that the Sunsynk Dongle's do not allow for direct communication with the dongle over the network.

You can only access inverter data from the cloud server using the API 

My advice to you would be to just get a USB-RS485 adapter and speak to your inverter using one of them, they are not expensive and are easy to setup. As long as you can have your home assistant box relatively close the the inverter it is not an issue, 

https://www.robotics.org.za/communication-wireless-Industrial/RS485-devices/RS485-USB/RS485-MINI 

 

Dont know why I cant reply to individual posts but massive shout out to Scoobs for the offer to come out and KellerZA for this great project, im blown away by the level of work done for the community.... I haven't managed to get ESP running but part off these projects are learning HA and some microcontroller logic/programming so went ahead and bought the RS485/USB adapter, seems far simpler, going to plug direct into my HA pc and see where I go from there.

HA has been an unbelievable find, have it running Paradox, ezviv cctv, Sonoff (obviously), now ESP32 controllers, Tuya smart DB switches (which is a truly awful integration and battles with Wifi comms from my main panel but sub DB running pool pump is solid)

Have a 5kw running 14 x 450 panels w 10kwh batteries, system is maxed out and now with predictive solar I can easily use all the available power on sunny days for pool pump and second geyser. Recon I can probably get over 30kw per day on this system, I do monitor voltages and current rates to make sure im not over safe limits...again HA is incredible for this.

 

Thanks again

Thanks again for all of the help here, a big request for assistance here, so I am still unable to communicate with my 5kw sunsynk, here is my sequence of installation:

Purchased the USB to RS485 Converter Cable, 4 Pin adaptor as recommended

Then wired a rj45 according to T568B spec as follows:

image.png.009250a016c9dbe9a936a4c4fe5c0ffd.png

Then wired the converter according to the table in the T568B table as follows:

Orange/white to B

Orange to A

Green/white to Neutral

 

image.thumb.png.16526b053822117f1e2cba785b1e190b.png

 

Went through the Youtube installation process, installing the add on etc.

As im already running Mosquito on my paradox install I used the same username and password there

Used the following settings in the configuration

image.thumb.png.141df5f01f36d3341db9505277fe510b.png

 

Then plugged the RJ45 into both the BATT485; the 485 port and neither are generating any comms the only other option appears to be the BMS CAN port which I also plugged into and all results were the same

image.thumb.png.08e2cdea44d2f5bb0c6981d2103c459c.png

all of these returned the same result as pasted below.

 

The log file fails at the initial comms:

11:07:41 INFO    Added hidden sensors as other sensors depend on it: Rated power, Serial
11:07:41 INFO    Connecting to tcp://homeassistant.local:502
11:07:41 INFO    PyModbus 3.4.1 tcp: homeassistant.local:502
11:07:41 WARNING Failed to connect Multiple exceptions: [Errno 111] Connect call failed ('172.30.32.1', 502), [Errno 111] Connect call failed ('172.30.232.1', 502), [Errno 111] Connect call failed ('192.168.68.148', 502), [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument, [Errno 22] Invalid argument
11:07:41 INFO    ############################################################
11:07:41 INFO        Could not connect to tcp://homeassistant.local:502:
11:07:41 INFO    ############################################################
11:07:41 CRITICAL This Add-On will terminate in 30 seconds, use the Supervisor Watchdog to restart automatically.

 

I have also been through as many of the online posts to try find out the reason for this but to no avail, this is my second round after getting a similar outcome on the ESP32 option. 

 

I have the usb adapter plugged directly into an intel NUC running HAOS which currently runs the cloud (nodered) sunsynk connection with slow update and no ability to write settings back to the inverter. I doubt this could be a conflict.

Somehow I suspect that it could be

1. the port settings in the config ?

2. need for separate driver install in HAOS (never outlined in any docs) ?

3. Possible faulty RJ45 termination although these were the push through type and I triple checked them before trimming ?

4. Possible mosquito username/password issue but seems to fail at base comms and have copied directly from the Mosquito config.

5. Other modbus settings I could not figure out im pretty sure

 

Really appreciate any input I can get here 

Thanks


Dunc

 

 

Edited by Dunc

  • Author

Hi @Dunc

Sorry to hear you are struggling. 

1. Have you tried disconnecting the ground? Not sure that it is necessary and may be causing issues, maybe try no 2 1st

2. Would check that you are on the correct USB port, Settings/System/Hardware/All Hardware and it will give you a list

image.thumb.png.6758ccd0ad04829bd293e2ad1df4ddf3.png

 

Thanks Scoobs

Not entirely sure as to which usb setting I should use, I think S3 was auto selected, I then selected S0 but this returned the same error, I then tried the one that stood out in syntax namely /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0

This also failed with same message

The hardware list seems to have the same entries they all seem to be appropriately initialised and have the same sequential values the only one that stands out with populated data is this below where there is a clear difference between ttyS0 and tty USB0 ? Strange

image.thumb.png.1cb46872004fce3eb888e0b51734abe3.png

I have swapped the various usb ports on the NUC with no alteration

 

I then removed the ground connection and tried again with no change

 

I then went back into the mosquito broker and double checked the usernames and passwords as im using it for my paradox alarm integration, with the following certificates and private keys...could these be an issue ?

image.thumb.png.1d5b95117069af258d112b0ea2066489.png

Thanks a ton

 

  • Author
 

Dont know why I cant reply to individual posts but massive shout out to Scoobs for the offer to come out and KellerZA for this great project, im blown away by the level of work done for the community.... I haven't managed to get ESP running but part off these projects are learning HA and some microcontroller logic/programming so went ahead and bought the RS485/USB adapter, seems far simpler, going to plug direct into my HA pc and see where I go from there.

HA has been an unbelievable find, have it running Paradox, ezviv cctv, Sonoff (obviously), now ESP32 controllers, Tuya smart DB switches (which is a truly awful integration and battles with Wifi comms from my main panel but sub DB running pool pump is solid)

Have a 5kw running 14 x 450 panels w 10kwh batteries, system is maxed out and now with predictive solar I can easily use all the available power on sunny days for pool pump and second geyser. Recon I can probably get over 30kw per day on this system, I do monitor voltages and current rates to make sure im not over safe limits...again HA is incredible for this.

 

Thanks again

Home Assistant is a great tool for leveraging your inverter's energy production to make the best use of the power you have available.

It's ability to combine data from multiple sources into one platform and then automate your energy usage decisions based on that data are pretty unique.   

By managing your household energy more efficiently you can ensure a better ROI on your solar installation and more secure energy availability when you need it.

 The community behind the whole Home Assistant thing is what amazes me the most. For the last 3+ years a large number of people have been contributing their ideas/time & expertise to the whole thing at no charge just in an effort to make everybody's systems better. I believe that, mostly as a result Energy supply issues we have been having in SA, we have become world leaders in small system energy management and have a lot of locally grown expertise. 

And it is all free 🙂 

 

Hey Scoobs, im based in Cape Town sadly !!! any chance of a video conf or Whatsap connection would be HUGELY appreciated, really keen to get this project finished

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.