20 - Build a Waveshare Modbus Interface - Home Assistant Tutorial - Solax Solis Growatt Sofar

Поделиться
HTML-код
  • Опубликовано: 14 дек 2024

Комментарии • 98

  • @hiddeboner
    @hiddeboner 8 месяцев назад

    Perfect explanation JW, worked like a charm for my growatt SPH-BHUP.

  • @ninocass
    @ninocass Год назад +1

    Thanks for this, I ordered a waveshare yesterday morning so the timing of this video is perfect!

  • @lgg4doru430
    @lgg4doru430 6 месяцев назад +1

    Hello, today with the help of your video I managed to integrate Solax in H.A. with Waveshare Modbus. I personally thank you very much. A good day.

    • @JWSolar
      @JWSolar  6 месяцев назад

      Thank you!

  • @VaidotasDargis
    @VaidotasDargis 7 месяцев назад +1

    Today i have finished my little project following your video step by step. It worked without any issues. Thank you very much!

  • @wimdsock9419
    @wimdsock9419 Год назад +1

    Excellent tutorial. Looking forward to building my own now. Many thanks once again Janik!

  • @IlConteVince
    @IlConteVince Год назад +2

    OMG thank you sooo much! ❤
    First I’ve been using the Solax integration with the dongle but it would stop working every other day.
    Then found out about the Waveshare which I bought a couple of months ago and since then I’ve been trying to make it work but always unsuccessfully, I almost gave up until today!
    Your video is super clear and easy to follow.
    In the next days I will also add the enclosure and make it nice to look rather than just functional 😅

    • @JWSolar
      @JWSolar  Год назад +1

      Thanks for the coffee!

    • @typxxilps
      @typxxilps 8 месяцев назад

      many words but the key message is missing: what had you done wrong before , where did you overlook something cause that is what we could learn from.
      thx

  • @hainesy_uk
    @hainesy_uk 5 месяцев назад +1

    Thanks for this - I'd have spent *ages* dicking around trying to get my Waveshare unit up and running without it!

  • @ecjsmith
    @ecjsmith 3 месяца назад

    Great video, for anybody setting this up on a Solis inverter the default baud rate is 9600 not 19200 as set for the Solax above, it left me scratching my head for a while.

  • @Waveshare_Ruan
    @Waveshare_Ruan 4 месяца назад +1

    Thank Jw for putting so much effort into creating and sharing this video with everyone. This video provides a wealth of information for Home Assistant project users and offers detailed guidance for Waveshare RS485 to ETH (B) customers in their practical applications. I believe Waveshare should offer you the greatest discounts on products, or even provide them for free. If you have any ideas about incorporating other new Waveshare products in your future videos, I will certainly provide you with the greatest support!

    • @JWSolar
      @JWSolar  4 месяца назад +1

      @@Waveshare_Ruan Thank you!

  • @alpachino468
    @alpachino468 11 месяцев назад +1

    I'm going to try this with my FoxESS inverter

  • @perfoperfo9910
    @perfoperfo9910 11 месяцев назад +1

    Great tutorial, thanks. I've ordered a wave share module. Any suggestions as to what the setting would be for a sunsynk inverter? I get the data from the cloud at the moment but as you correctly mentioned this is prone to problems if there are any server outages or other internet related issues and even when it works it can be more than a minute between refreshes.. (yes I have increased the update time on the sunsynk to 60 seconds (default is 300). So if I can get this to work on my three sunsynk inverters I'll be more than a little please...

  • @orbepa
    @orbepa 9 месяцев назад

    Brilliant video - thank you

  • @typxxilps
    @typxxilps 8 месяцев назад +1

    So in order to get 3 of these modbus devices talk to each other like a growatt inverter, a Wallbox like Pulsar Plus and a eastron 3 phase smart meter I would need rather 3 of these modbus rs 485 to rj45 connectors ?
    Would be easier to order 3 instead of 1 by one considering that those machines are distributed across the house with an inverter somewhere, the smartmeter in the grid connection point cabinet and the charger / wallbox in the garage.
    I hope you can help me regarding this topic !
    Or is there any wifi connection or bridge from the usual shine wifi x or s stick to the modbus ?
    I had tried that first by installing the modbus for the ip of the inverter / stick. But I got no entities as you did.
    And you had mentioned that wifi modbus wouldl be possible but not so reliable and dependent on the internet.
    Thanks

  • @Kiloptero
    @Kiloptero 11 месяцев назад

    Wow! amazing.. Can you share the image where to put the RJ cable (to the inverter)

    • @JWSolar
      @JWSolar  11 месяцев назад

      In the comm/lcd port

  • @richardcav
    @richardcav Год назад +1

    Great tutorial, I’d love to use those with my Solax x1 boost, but I’m not sure I have a comm/ct port free? I have an TS458 port that’s in use for the power meter to tell my inverter how much power the house needs, is my inverter not compatible?

    • @typxxilps
      @typxxilps 8 месяцев назад

      I guess you meant 485 right ?
      And you would need a modbus proxy which allows to connect 1 device with several others like the power meter talking to your inverter and also to your home assistant and maybe even wallbox / charger which would mean that your meter would be connected to HA where the proxy addon would do the magic to connect all the slaves with this master.

  • @billabongpoo
    @billabongpoo Год назад +2

    Hi there,
    Thank you so much for the video it is very much appreciate.
    I'm having trouble with only being able to see 4 entities.
    I have set the static IP on my router and in Vircom
    I have checked the IP in my browser and have full access
    I have reset the device and router and it keeps the same ip address
    I have changed the port to 502
    I have changed it to Modbus TCP protocal
    I have changed the Baud rate to 19200 and check the inverter setting to make sure this is correct
    In advanced setting I have changed it to simple modbus to TCP and RTU
    In HA I have changed the polling to 10
    Selected Parallel Mode as I have my inverters in parallel
    Input the ip address exactly as I get access to it through a browser
    TCP port is 502
    I have rebooted HA, and power cycled the batteries.
    But still only 4 entities, any idea what I'm doing wrong here?

  • @Bananaskin1
    @Bananaskin1 6 месяцев назад +1

    Has anyone tried to install this in Home Assistant in a Docker container? I've repeatedly tried but failed to get HA to talk to the Modbus I/F not sure whether it is a network or python issue in the container☹

  • @wolfgangliegl5781
    @wolfgangliegl5781 Год назад

    Thank You for this tutorial. How can I connect the waveshare to the inverter when an EV Charger is also connected to the com port

    • @JWSolar
      @JWSolar  Год назад

      Which inverter do you have? Does the car charger use modbus? If it doesn't, you can connect it to the same port using different pins.

    • @wolfgangliegl5781
      @wolfgangliegl5781 Год назад +1

      @@JWSolar Sorry not enough information: I use a X3 Hybrid G4 15k and the Solax EV Charger 11kW connected via RS485 to the inverter on the com port. I have contacted the support and they told me I can use a R45 y plug at the inverter side.

  • @gopikrishnayogarajah
    @gopikrishnayogarajah 8 месяцев назад

    Thanks . I have a solis and Solax inverter ..is it possible for this integration to work with both inverters ...they are independent on different arrays but on the same LAN network,

  • @franzkahr7344
    @franzkahr7344 11 месяцев назад

    Thank you for your video.
    Can I also use this on my DEYE 12K hybrid inverter?

    • @JWSolar
      @JWSolar  11 месяцев назад

      Sorry, I'm not familiar with Deye.

    • @typxxilps
      @typxxilps 8 месяцев назад

      yes, if that is supporting the modbus too via rs 485.

  • @MrPaulj123
    @MrPaulj123 5 месяцев назад

    Thanks for the guide - my inverter (Solax X1 G4 7.5D) user manual COM PIN Definition just has pin 4 and pin 5 labelled as 485A&B. Crosses are marked in all other pins, assuming this means they are dead and I need to find an external power supply for the Waveshare? If so, does the "ground" pin on the waveshare not need the link wire from -ve?

    • @JWSolar
      @JWSolar  5 месяцев назад

      @@MrPaulj123 No, they are not dead, the manual is just showing the meter connections so it doesn't confuse people. The other pins are still active and connected.

  • @arthurvonrotz7887
    @arthurvonrotz7887 Год назад

    Thanks for the nice explanation in the video
    Are there people who have already managed to get it working with a Solis inverter?
    I have followed all the steps and measured the cables, but for me the act LED does not flash. I have the poe version because my voltage from the inverter is only 5 volts. I have also tried the baterite on 9600 but no success. If something else is connected to a data logger, the RS485 connection works fine.
    Does anyone have any tips?

  • @martinkulin5163
    @martinkulin5163 19 дней назад

    Very grateful but I cant find on the HA integration SolaX Inverter Modbu, all i get is integration for the regular Solax , can you please point me to the right place

    • @JWSolar
      @JWSolar  19 дней назад

      @@martinkulin5163 You need to install it from HACS

  • @micklebring
    @micklebring 11 месяцев назад

    Worked my way through most of this after getting fed up with the wifi dongle dying and finally got it working. Beware the modbus adapter doesn't appear to work at anything other than 10m ethernet, which seems to be a problem for my Omada switches. I've worked around it with an old switch I had but just be aware if the ethernet doesn't come up it could be that.

    • @JWSolar
      @JWSolar  11 месяцев назад

      Thanks for letting us know.

    • @typxxilps
      @typxxilps 8 месяцев назад

      it most likely rather depends on the cable - cuase the growatt mention in the manual a 15 m or 25 m total length, but they do even work with up to 100 m CAT 7 cable.

  • @dougle03
    @dougle03 5 месяцев назад

    Great video, but mine is still not working. I have the POE version so not using power from my X1 Mini G4. I was missing a ground connection so used pin 3 (In my manual it's listed as 'Heatpump -' On checking it's a direct reference to the chassis ground of the inverter. I get the red power light and the blue status light, but HA refuses to talk to it. The adding process just freezes at the initialisation stage. - Any ideas? Is there a setting in the inverter that needs changing (I've got the installer password). Thanks,

  • @neilfuller9348
    @neilfuller9348 8 месяцев назад

    Hi, Just ordered waveshare to connect to 2 x Solis S5-EH1P3.6K-L. Also ordered correct 4 pin RS485 plugs for inverters. Any advice about how to connect/use terminating resistors would be very helpful, Will S says these will be needed.

    • @JWSolar
      @JWSolar  8 месяцев назад +1

      Sorry, you're better asking Will.

  • @MrPhilgr
    @MrPhilgr Год назад

    Great set of videos - TY
    I have a small problem you might be able to help resolve - currently communicating withHA via the SolaX Modbus integration via the wifi dongle - all entities present, switch over to the Waveshare interface and im only getting 4 entities, have tried deleting, rebooting - switch back to the wifi dongle IP and all entities present again ?

    • @JWSolar
      @JWSolar  Год назад

      It's usually an error in the waveshare setup, or something wrong with the IP address scheme. Check both these very carefully.

    • @MrPhilgr
      @MrPhilgr Год назад

      @@JWSolar thanks for the reply - does the Vircom software have to be running on a host PC ?, or is that just used for setup

    • @JWSolar
      @JWSolar  Год назад +1

      @@MrPhilgr It's just for setup.

  • @gajduso
    @gajduso Год назад +1

    Hi , I like your videos, I have followed the tutorial with Wifi connection. All connected, all running well , but I have only 4 entities available.
    something like temperature and not important data. I am missing basically all entities about the power, V,A etc.
    I have sent you an email, but no answer so far :(
    I have Solax X1 Boost G3.2 - is this a problem ?
    I mean the connection works well, but I dont have any Data that could use. is it because my inverter is not offering them , or I have problem somewhere else ?
    I would like to try this RS485 as well, but I dont know if it make sense
    could you please answer
    thx
    f

    • @JWSolar
      @JWSolar  Год назад

      Hi, I'm not familiar with the G3.2, but on the G4, the inverter firmware must be higher than V1.48 for all the entities to show. I appologise for not responding to your email, it ended up in the spam folder.

    • @gajduso
      @gajduso Год назад

      thank you, can I send you an email now ?
      I was thinking to simplify the issue, buy a Shelly 3em to measure power , is this gonna help me ?
      @@JWSolar

    • @JWSolar
      @JWSolar  Год назад

      @@gajduso I'm not really familiar with the shelly devices.

    • @richardcav
      @richardcav Год назад

      You may need to upgrade your inverter firmware as the HA integration will only work with the up to date version - I had the same issue.

  • @paulwightman4014
    @paulwightman4014 17 дней назад

    Great video, very nearly there I think. I've been using the solax modbus integration for HA for a few months mostly successfully via the Solax Pocket WiFI ( I have a Solax X1 Gen4 Hybrid Inverter), but due to the occasional drop and all entities disappearing I thought I would buy the Waveshare RS485 POE version. Managed to get red power, green link light and flashing green/blue act on the waveshare when pointing the HA addon at it but no solid blue link light (Just every few minutes for a second or so) and only 4 entities in HA.
    Also swapped the CAT5e cable and did a continuity test on each wire from the rj45 to the terminals on the Waveshare, all good. Does anyone know if the x1 gen4 is supported on the waveshare or am i just limited to the pocket wifi modbus?
    Any help greatly appreciated

    • @paulwightman4014
      @paulwightman4014 17 дней назад

      Ah, just found a few clues in the log after turning on debugging in HA<
      Logger: custom_components.solax_modbus.plugin_solax
      Source: custom_components/solax_modbus/plugin_solax.py:66
      Integration: SolaX Inverter Modbus (documentation, issues)
      First occurred: 11 November 2024 at 10:23:35 (66 occurrences)
      Last logged: 16:30:16
      SolaX: reading serial number from address 0x0 failed; other address may succeed
      SolaX: reading serial number from address 0x300 failed; other address may succeed
      AND
      Logger: custom_components.solax_modbus.plugin_solax
      Source: custom_components/solax_modbus/plugin_solax.py:5958
      Integration: SolaX Inverter Modbus (documentation, issues)
      First occurred: 11 November 2024 at 10:23:35 (33 occurrences)
      Last logged: 16:30:16
      unrecognized inverter type - serial number : unknown
      Perhaps my X1 is not supported?

  • @Prodromos-m5u
    @Prodromos-m5u 11 месяцев назад

    Hi, nice tutorial! How many devices can I connect to this Waveshare's device? I have 20 modbus devices(thermostats) and im trying to find a modbus to MQTT converter. Does Waveshare provide any product?

    • @JWSolar
      @JWSolar  11 месяцев назад

      I'm sorry, I've no idea.

  • @perfoperfo9910
    @perfoperfo9910 11 месяцев назад

    I see you are powering the wave share module from the rj45 rs485 port on the inverter. Do you know if this is common on these ports or particular to your type ? I have sunsynk inverters do you know if these will also provide power via the rj45 ? If not would you have any idea how I could find out ? I've searched for details on google but haven't found anything. I can find a version of the Modbus protocols etc but not the physical set up (pinouts etc) . Maybe I went for the wrong inverter this seems so easy to set up on the solax. Thanks.

    • @JWSolar
      @JWSolar  11 месяцев назад

      It's inverter specific, you'd have to look in the manual. Thanks.

    • @perfoperfo9910
      @perfoperfo9910 11 месяцев назад

      @@JWSolar Thanks for the reply. I was hoping it would be an rs485 standard. The manual doesn't seem to cover these ports at all.

  • @chrisfarmer5260
    @chrisfarmer5260 7 месяцев назад

    Hi you mentioned in the vidoe that you made this for a customer do you make these for other people? i have a solis inverter and a wireless dongle

    • @JWSolar
      @JWSolar  7 месяцев назад

      Only for Solax I'm afraid. Thanks.

    • @chrisfarmer5260
      @chrisfarmer5260 7 месяцев назад

      @@JWSolar thanks for the response to the question i appreciate it. Im assuming the pin out of the solis inverter is different

  • @Extragonk
    @Extragonk Год назад

    I've got mine setup and configured, its getting power from teh inverter but it seems to never poll the inverter, the activity light doesnt blink at all, i'm guessing the blue wires did not terminate correctly.

    • @Extragonk
      @Extragonk Год назад

      changing the modbus integration to the waveshare ip makes HA mega laggy, where it takes 2-3 seconds to load and register clicks, change it back to point at the dongle and HA goes back to normal speed

    • @JWSolar
      @JWSolar  Год назад

      @@Extragonk Never heard of that before, normally it's quicker. What's you update interval?

    • @Extragonk
      @Extragonk Год назад

      @@JWSolar it was set to 10 as per the video, but it doesnt seem to matter what it is, i'm going through a full HA update cycle now to get everything at latest and will start experimenting with disconnecting the inverter com and see if its the waveshare or the inverter link thats causing HA to (assume) time out and lag

    • @Extragonk
      @Extragonk Год назад

      As a follow up on this, I finally got it working, 1st the cable was not terminated with one of the blue pins not having continuity - poor quality network ends :(, second i found that there are two settings on by default on the Advanced page which need to be cleared to make it work: "send MAC when TCP establish" and "Detect net using Ping". I turned both of these off and it worked. The integration and the whole of HA was really laggy for about 3 minutes but after that the system stabilised - i assume this is it serially querying the entities and having some wait timer in there per entity.
      all good now though, thanks for the video, it was invaluable!

  • @MRE-hs4oi
    @MRE-hs4oi 11 месяцев назад

    Hello, thank you for the great video clip! I have tried to follow all the steps, everything looks good, the blue LED light is on, and I have TCP connectivity with the Modbus to ETH server. I have downloaded the Modbus Solax program on Home Assistant and entered the IP, bandwidth, etc., for the Growatt inverter, but no device or entities are showing up. Also, the blue light on ACT is not blinking every 10 seconds as I have configured in the Solax Modbus program. Does anyone have any tips, in exchange for some coffee cups? :)

    • @JWSolar
      @JWSolar  11 месяцев назад

      The Growatt inverters will have different settings to the Solax demonstration in the video. Have a look in the manual for baud rates, pin outs, etc.

  • @SteveBond-x8b
    @SteveBond-x8b 9 месяцев назад

    Thanks so much for this walkthrough, I've learnt so much
    However, I have an issue with connecting to my X1AC.
    I've managed t wire it up (pins 6,7 and 8) and it's powered externally with a 12v power supply. I have a red power light and a green link light, which is great.
    However, when I configure the WaveShare via VirCom, I can't get the link light to turn blue (and HA doesn't see the inverter, so no device or entities).
    Do you know if there are any specific settings that I need to apply via Vircom to an X1 AC inverter, in order to make this work?
    I'm really close to getting this working so if you (or anyone else) has any additional config information, it would be greatly appreciated.
    Many thanks in advance.

    • @JWSolar
      @JWSolar  9 месяцев назад +1

      Hi, any chance you could join the 'Solax Support UK' Facebook group and post your question there? Thanks.

    • @SteveBond-x8b
      @SteveBond-x8b 9 месяцев назад

      @@JWSolar Of course, thanks very much

  • @tomaszbonkowski1938
    @tomaszbonkowski1938 11 месяцев назад

    Hi, is it possible to use the Modbus interface if the RS485 is already used for the Solax EV Wallbox?

    • @JWSolar
      @JWSolar  11 месяцев назад

      Yes, you can split it.

    • @tomaszbonkowski1938
      @tomaszbonkowski1938 11 месяцев назад

      @@JWSolar are you sure there will be no communication errors? Inverter will be master and the modbus and EV Wallbox will be slave?

    • @JWSolar
      @JWSolar  11 месяцев назад

      I can't be sure as I haven't tried it, but other people I know have done it with modbus car chargers.

  • @StuartIngram
    @StuartIngram Год назад

    Hi, I have a question. If I were to add this Waveshare Modbus Interface to my Home Assistant system, how do keep my historical data from the wireless setup that I have already?

    • @JWSolar
      @JWSolar  Год назад +1

      You just need to update the IP Address in the Solax Modbus Integration configuration and all your data and entities will be retained, it's a seamless switchover.

    • @StuartIngram
      @StuartIngram Год назад +1

      Thank you for your reply and thanks for the great videos. Please keep them coming.

  • @harryaiken7168
    @harryaiken7168 11 месяцев назад

    I have a solax x1ac inverter, it has network socket labelled 485, can I connect to that?

    • @JWSolar
      @JWSolar  11 месяцев назад +1

      Yes, but the pin layout is different and there's no 13v power provided. You'll need a DC adapter to power the waveshare, and check your manual for the 485A and 485B pins.

    • @harryaiken7168
      @harryaiken7168 11 месяцев назад

      Found it in manual can you please advise how to continue?

    • @harryaiken7168
      @harryaiken7168 11 месяцев назад

      Sorry can't figure how to attack screenshot but it's pins 7 & 8 on the inverter

  • @meb3105
    @meb3105 Год назад

    Nice video but one thing confuses me.
    In your video '07 - Configure Modbus Integration - Solax Solar Home Assistant Tutorial' you state that during the HA configuration you should enter in the ip address of the Solax dongle. In this video you said you should enter in the ip address of the Waveshare Modbus adapter. Which is correct?
    When I enter the Waveshare ip address I can only see 4 entities yet when I enter the WiFi dongle ip address I can see the full 257 entities. I have followed the vids to the letter and all matching baud rates etc but no luck with the Modbus ip.
    I have a X1 Gen4 and according to Solax they updated all my software and firmware two weeks ago before I embarked on this.
    Any help would be appreciated. Thanks

    • @JWSolar
      @JWSolar  Год назад +1

      They are both correct. Video 07 is for the dongle, but I was asked to do the Waveshare too, so that was added later on. If you only have a few entities with the Waveshare, it's probably not configured properly the IP Address scheme is wrong, or the wiring is incorrect.

    • @meb3105
      @meb3105 Год назад

      @@JWSolar Thanks for the reply. What do you mean by the IP scheme?
      I have a static ip set on the same subnet as my main network. The SolaX dongle is on a VLAN but I can connect to both the modbus and the dongle using local ip’s no problem and the Waveshare act light lights up green when I try to wake battery etc but there is no response from the inverter back to the modbus…

    • @JWSolar
      @JWSolar  Год назад

      @@meb3105 Have you checked the wiring between the inverter and waveshare. I've had a few enquiries over the past few days that were wired to the wrong pins, had a faulty cat5 cable, or even plugged into the wrong port, resulting in exactly what you're experiencing.

    • @meb3105
      @meb3105 Год назад

      @@JWSolar ok thanks. I will double check that tomorrow.
      Can I just confirm the modbus only requires the SolaX dongle to set or confirm the baud rate and com port etc? Once this is set the dongle is no longer required for operation via modbus?
      Thank You

    • @JWSolar
      @JWSolar  Год назад +1

      @@meb3105 Correct, although keep it connected for firmware updates and to update the Solax cloud if required.

  • @Cromargan
    @Cromargan Год назад

    First: thx so much for your tutorials! Question: if Wifi-Dongle is not stable, would the Pocket LAN-Interface V3.0 be the better choice? My issue: DTSU666 is connected to my COM-Port, so using home assistant via Modbus is no option 😞

    • @JWSolar
      @JWSolar  Год назад

      What's connected to the meter/CT port? That's normally where the DTSU666 or CT clamp goes. Sorry, I haven't tested it with the lan dongle.

    • @Cromargan
      @Cromargan Год назад

      @@JWSolar meter/CT = CTs; DTSU666 is connected to COM-Port (RS485, Pin 4/5) - its a X3 G4 Hybrid

    • @JWSolar
      @JWSolar  Год назад

      @@Cromargan On a X3 G4 Hybrid, the meter connects to pins 4/5 of the meter/ct port (rs485) leaving the Comm Port available for external equipment such as Home Assistant. It looks like yours is in the wrong place, please check the manual.

    • @Cromargan
      @Cromargan Год назад

      @@JWSolar You are right, i was wrong 🫣: DTSU666 is connected Meter/CT. But the Solax Charger is connected to COM. Guess need to try LAN-Interface🤷🏻‍♂️

    • @TylerSolax
      @TylerSolax Год назад +1

      @@Cromargan Hi Cro, you can set the modbus address of the EV charger and inverter. You can use a RJ45 Y splitter to create a parallel RS485 connection, the control device you are using for home assistant will be able to tell the difference between the inverter and charger by the modbus address

  • @MRE-hs4oi
    @MRE-hs4oi 11 месяцев назад

    Hello, thank you for the great video clip! I have tried to follow all the steps, everything looks good, the blue LED light is on, and I have TCP connectivity with the Modbus to ETH server. I have downloaded the Modbus Solax program on Home Assistant and entered the IP, bandwidth, etc., for the Growatt inverter, but no device or entities are showing up. Also, the blue light on ACT is not blinking every 10 seconds as I have configured in the Solax Modbus program. Does anyone have any tips, in exchange for some coffee cups? :)

    • @JWSolar
      @JWSolar  10 месяцев назад

      Sorry, I limited help with Growatt as I don't have one. Maybe you could check Wills Modbus wiki and Github for answers.