Solis S6 to Home Assistant Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2023
  • Solis S6 solar inverter to Home Assistant integration. This is a quick overview of how I've setup my Solis S6 solar inverter to communicate with my Home Assistant setup using ModBus protocol and MQTT.
    Parts List:
    - RS-485 Connector for Solis Inverter: Exceedconn EC04681-2023-BF Female connector
    - ALMOCN 2 Pack TTL to RS485 Adapter Module 3.3V 5V 485 to TTL Signal Single Chip Serial Port Level Converter Board with RXD, TXD Indicator
    - ESP8266 D1 Mini clone
    - Four core cable
    Link to ESPHome script:
    github.com/DeveloperDIY/solis...
    Link to wiring diagram:
    github.com/DeveloperDIY/solis...
    #energy #homeassistant #solis #solarpanels #esphome #esp8266 #rs485
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 43

  • @spadari000
    @spadari000 หลายเดือนก่อน +1

    Yes, this is a simplest way to integrate inverter with Home Assistant. Works also with S5-GR3P(3-20)K inverter and does not require any configuration on inverter side. If MAX485 chip -based RS485 adapter is used, YAML needs to have flow_control_pin -option in modbus section. As a connector, 7-pin DIN female can also be used, but it needs to be cut down and is definitely NOT waterproof. Thanks a lot!

    • @DeveloperDIY
      @DeveloperDIY  หลายเดือนก่อน

      Thanks for the additional information.

  • @huplim
    @huplim 6 หลายเดือนก่อน +1

    Thank you for this!
    I’ve been looking for videos like this and glad I finally stumbled onto yours.
    Thank you!

    • @DeveloperDIY
      @DeveloperDIY  6 หลายเดือนก่อน

      Glad it was helpful!

  • @ricobass0253
    @ricobass0253 4 หลายเดือนก่อน +1

    Is it the ESP8266 which sends data and receives commands to and from the inverter via wifi?
    Am I right in thinking that in not having the original dongle means you can't communicate with the Solicloud via browser or iPhone app any more? If so, could the original dongle be run in parallel with your box to maintain Soliscloud functionality?

    • @DeveloperDIY
      @DeveloperDIY  4 หลายเดือนก่อน +1

      Yes, the ESP8266 microcontroller sends data via the wifi to your home assistant server. If you still want to use the cloud and the App then I’d recommend sticking with the official dongle and look for an API based solution to read data from the cloud. In theory you could try and run them in parallel but I’d imagine there would be lots of issues.

    • @pr5991
      @pr5991 หลายเดือนก่อน

      You can use solarman integration for solis, also ask the cloud people to change the data upload frequency from 5min to 1 min.

  • @miketargaryen1210
    @miketargaryen1210 17 วันที่ผ่านมา

    Hey great video, I'm currently using my 5kwh hybrid inverter with a EASTRON SDM230 meter to tell the inverter to kick in faster as I found the CT clamp that came with it was just rubbish (very inaccurate and slow)
    My question is can I continue to use this and implement what you have done. Also are you able to control the inverter from the point of weather the following day and if it should / shouldn't charge based on sun forecast the following day?
    This is what I would like to achieve.

    • @DeveloperDIY
      @DeveloperDIY  17 วันที่ผ่านมา +1

      Great question.
      I don’t have batteries or a hybrid inverter so I don’t have any experience with trying to manage charging schedules etc. My integration is purely read only, I didn’t have any need to send commands to the inverter.
      You could add this though. You would need to wire up the TXD to the TX for the RS485 to the D1 Mini and the add the sending of commands within the ESPHome script.
      Sorry I can’t be of more help, It sounds like an interesting addition to make setup changes based on weather predictions. Let me know if you get something working.

    • @miketargaryen1210
      @miketargaryen1210 17 วันที่ผ่านมา

      @@DeveloperDIY thanks for the reply I do have a waveshare RS485 to ethernet powered over Poe but I have zero experience or idea on how this works or would wire up to what you've done. Is there any chance you could help with the physical wiring part as I have no idea what I am doing. I can follow instructions but sadly this is all very bespoke and there don't appear to be anyone who has done this before me (that I can find.) I have found several that are similar but not the same!

    • @DeveloperDIY
      @DeveloperDIY  17 วันที่ผ่านมา

      @@miketargaryen1210 that’s a completely different beast to the simple esp8266 microcontroller. I wouldn’t know exactly how to set that up. All I can offer is my thoughts. If you use my diagram from the video then RS485 A and B would go to your waveshare device into the respective A & B connections. You may need ground and 5v, I’m not sure. It may work without. I’m guessing you would then have to communicate with the waveshare via MQTT into Home Assistant. You wouldn’t be able to use my scripts for this. You would need to write something new. If you’re not 100% sure, it’s probably best not to experiment and wait for someone who has already done an integration to share.

  • @jonath6369
    @jonath6369 7 หลายเดือนก่อน +1

    Hi! Your video is really interesting! I've got a Solis S5, do you think the code is the same? And you don't have a battery? I don't see a sensor for the battery data in the code. Thanks

    • @DeveloperDIY
      @DeveloperDIY  7 หลายเดือนก่อน +1

      Yes it should work, the original scripts were for the S5. The main thing is that the Modbus registers are correct.
      Here is a full list for Solis Inverters www.scss.tcd.ie/Brian.Coghlan/Elios4you/RS485_MODBUS-Hybrid-BACoghlan-201811228-1854.pdf
      I don’t have a battery yet so you’ll need to add the extra registers to the script. Examples here - community.home-assistant.io/t/solis-inverter-modbus-integration/292553
      Hope this helps.

    • @jonath6369
      @jonath6369 7 หลายเดือนก่อน

      @@DeveloperDIY Great! Thanks for your help, I'm going to try that!

    • @jonath6369
      @jonath6369 7 หลายเดือนก่อน +1

      I have one more question: is it possible to keep the wifi stick in parallel? To compare the data. I'd say yes if you only connect A+ and B-? Can you confirm this? Best regards.

    • @DeveloperDIY
      @DeveloperDIY  7 หลายเดือนก่อน +1

      I could not say for sure, I don’t have a WiFi stick. You will need all four cables to provide the 5v power to the microcontroller and ground. I would not advise wiring them both together, it may work but I’d be concerned with possible conflicts activating commands on the inverter and changing settings. You could just access the values directly using the Solis LCD interface to verify data. Let me know how you get on.

    • @DeveloperDIY
      @DeveloperDIY  7 หลายเดือนก่อน +1

      It seems like parallel connections on the RS-485 is not uncommon so maybe it will work fine. The wires are short so there shouldn’t be issues there. Let me know how it goes.

  • @yoshidis4
    @yoshidis4 5 หลายเดือนก่อน

    How did you got gas measurements? Also I was wondering, as I am currently searching for myself, if you have a smart meter (SMETS2) connected to Home Assistant

    • @DeveloperDIY
      @DeveloperDIY  5 หลายเดือนก่อน +1

      I replaced my CAD display with a Glowmarkt Smets2 CAD which then allows me to listen to the encrypted Zigbee network that the Smets boxes use and broadcast the energy data to my home assistant MQTT server. It sounds way more complicated that is really is. Just buy the new display either Smets1 or Smets2 then enter a username and password from your home assistant and that’s it.
      I have a short showing the CAD here th-cam.com/users/shortsp9wYQgjUFaA

    • @DeveloperDIY
      @DeveloperDIY  5 หลายเดือนก่อน +1

      Here is the CAD I bought shop.glowmarkt.com/products/display-and-cad-combined-for-smart-meter-customers

    • @DeveloperDIY
      @DeveloperDIY  5 หลายเดือนก่อน +1

      I started by using the free Bright app (which you will need) to test if the data could be collected and my meters were compatible. glowmarkt.com/bright
      Hope this helps.

    • @yoshidis4
      @yoshidis4 5 หลายเดือนก่อน

      @@DeveloperDIY That's very helpful. Thanks a lot!

  • @HermanWillems
    @HermanWillems 20 วันที่ผ่านมา

    Can you dynamically limit your Solis S6 with percentage 0-100% over modbus? With functioncode 6?

    • @DeveloperDIY
      @DeveloperDIY  20 วันที่ผ่านมา

      No, I only read information from the Solis S6. My integration does to send any commands to the inverter. In theory you could change the script to both read and send commands, you’d have to research that though as I’ve got no experience. Let me know if you get it working, I’m sure others would be interested.

  • @qz5ogsx9
    @qz5ogsx9 หลายเดือนก่อน

    Do we need to add some custom mqtt code? Where are you setting those details?

    • @DeveloperDIY
      @DeveloperDIY  หลายเดือนก่อน +1

      The line that says ‘api:’ instructs esp_home to handle the MQTT automatically for you. See esphome.io/components/mqtt.html

    • @qz5ogsx9
      @qz5ogsx9 หลายเดือนก่อน +1

      Ohhh, I _think_ that piece you mention enables esp to push data to home assistant using their API
      In order to have MQTT working seems more code is required, MQTT is nice but not strongly required unless you want to decouple from home assistant or if you want to have multiple _listeners_ for the data.
      Simplicity is king and the API integration looks great!

    • @DeveloperDIY
      @DeveloperDIY  หลายเดือนก่อน +1

      @@qz5ogsx9 Yes you are right, I think I just assumed it would connect via MQTT behind the scenes. I have a few of these microcontrollers for connecting power monitors, Epever off grid charge controller and Victron smart-shunt. All the code kind of blurs into one after a while. I like the simple solutions that I can just fit and forget. Using the api is the simplest.
      Thanks for the extra info, I’m sure it will help others.

  • @ketohable
    @ketohable 25 วันที่ผ่านมา

    Is it gonna work with afore inverters? 4 pin hole look the same

    • @DeveloperDIY
      @DeveloperDIY  25 วันที่ผ่านมา

      I couldn’t say for sure but I would imagine the principle would be the same assuming it is using Modbus. I would expect the Modbus registers would be different though. Try a Google for Afore Modbus and see if you can get the correct registers. Sorry I can’t be of more help.

    • @ketohable
      @ketohable 24 วันที่ผ่านมา

      @@DeveloperDIY@DeveloperDIY ye, I got registers from the manufacturer and connected it to the home assistant via reading wifi dongle, but there was a 20-second delay. Gonna try your method, but I can't find such parts in Europe, can I replace it with something else?

    • @DeveloperDIY
      @DeveloperDIY  24 วันที่ผ่านมา

      @@ketohable I get a lot of my parts from AZ-Delivery which are based in Germany. I buy through Amazon. The connector came from Germany. The RS485 module should be easy to find too. Which part are you struggling to find?

    • @ketohable
      @ketohable 23 วันที่ผ่านมา

      @@DeveloperDIY I was looking for it in my local stores in Bulgaria:) There is nothing or not listed on the internet. And Amazon de won't shit item here. Gonna check other sources

  • @ricobass0253
    @ricobass0253 5 หลายเดือนก่อน

    Good info, shame about the terrible muffled sound made worse by unnecessary background music. Worth re-editing with a plain voiceover.

    • @DeveloperDIY
      @DeveloperDIY  5 หลายเดือนก่อน

      My video editing skills are a work in progress. I’m sure all of these early videos will be removed in a few years time when I figure it all out.