Setting up your ESP32 Data Logger & Home Assistant

  Рет қаралды 9,720

Solar Integrations

Solar Integrations

Жыл бұрын

How I installed an ESP32 to log my inverter data into home assistant
This integration also allows for the changing of your "System Work Mode" battery settings from the Home Assistant Dashboard.
Some Useful Links:
ESP32 Dev Board
www.robotics.org.za/ESP32-DEV
RS485 Module
www.robotics.org.za/RS485-MOD
Jumper Wires
www.robotics.org.za/JUMP50-FF...
ESPHome Yaml Code
github.com/slipx06/Sunsynk-Ho...
Original Post on Powerforum by sjlouw using ESPHome
powerforum.co.za/topic/8646-m...
ESP32 Drivers for Windows
docs.espressif.com/projects/e...
ESP32 Dev Board Pinout
www.mischianti.org/wp-content...

Пікірлер: 131
@SolarIntegrations
@SolarIntegrations 7 ай бұрын
Please see the new version of this video at kzbin.info/www/bejne/e3-YeJ17l7JnnNE It includes a better explanation of the onboarding process and a new RS485 board which is much better.
@vaughanza
@vaughanza Жыл бұрын
Looking forward to the dashboards , excellent thanks
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Coming soon!
@kevinrtres
@kevinrtres Жыл бұрын
As a newbie- just want to say a great thank you to you and all the other guys on the power-forum for the hard work you've put into this - sorting out all the glitches. Now I can just copy and use without having to re-invent the wheel. *Thanks a LOT!*
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Thanks @kevinrtres I am glad you found it useful. There are a lot of smart guys on the Power Forum that did all the heavy lifting, working stuff out when there was no one else doing these things. Is definitely an organic process and everybody in the community contributes to moving it along so the way I see it the more people doing the automations and working things out the better.
@capetownkelp
@capetownkelp 10 ай бұрын
I would just like to point out that the ESP32 is a 3.3V device that is *not* 5V tolerant. Interfacing it to the 5V MAX485 chip on the recommended Microrobotics RS485 board is therefore not a "safe" option, and is likely to damage the IO buffers on the ESP32. To use these boards together, I suggest the following: Remove R1, R2, R3, and R4 (pullups to 5V). Add a series 330 ohm 0603 resistor, and mod a 680 ohm 0603 between the RO trace and GND on the back of the board (scratch off solder mask to create "pads" for this) to form a voltage divider. This could well be why so many people are having issues getting this working. I really think you need to highlight this to your audience.
@SolarIntegrations
@SolarIntegrations 10 ай бұрын
Thanks @cliffordvandyk3728 , wondering if a better option might be to look for a 3.3v ESP32, not sure if there is even such a thing
@capetownkelp
@capetownkelp 10 ай бұрын
@@SolarIntegrations the ESP32 is 3.3V, the MAX485 level translator is 5V. The solution is to implement a "level translator" between the two devices. By removing the 10k pull-up resistors on the RS485 module, you prevent the output pins of the ESP32 from being pulled up to 5V before they are configured to actively drive the MAX485, that could otherwise damage the ESP32. The MAX485 inputs can happily tolerate the 3.3V outputs of the ESP32. In the reverse direction, the RO output of the RS485 drives the ESP32 at 5V, so a simple 1:2 ratio resistor divider does the level translation. The other option is to replace the MAX485 with a 3.3V equivalent device that is footprint compatible.
@SolarIntegrations
@SolarIntegrations 10 ай бұрын
Thanks for the info @cliffordvandyk3728 , I am going to have to have a look around for a 3.3V RS485 board and see if one is available. I have however been using a MAX485 with my ESP32 for the last 18months without issue so not sure that it is a problem that has to be solved.
@capetownkelp
@capetownkelp 10 ай бұрын
@@SolarIntegrations I think it might be luck of the draw, along with subtleties of implementation, as to whether there is damage or not. I design high reliability electronics for a living. I have modified the PC board to fix the issue, rather than risk damage to the ESP32 or (very much less likely) the inverter. The fix is straightforward if you are familiar with soldering surface mount devices. Happy to send you a pic if I can figure out how!
@SolarIntegrations
@SolarIntegrations 10 ай бұрын
Thanks @@capetownkelp that would be great, I think 1st prize would be to find a 3.3V RS485 board that we can use but being able to modify a MAX485 so it would cause no issues would be a close 2nd :-)
@AA-vn2ip
@AA-vn2ip 10 ай бұрын
I hope this helps someone. Sunsynk like to play musical ports it seems. on the newer inverters (the 8kw one in my case), you cant use the RS485 port. you have to use the CMS port to the right. It is two ports in one. You can buy a splitter so you can plug your batteries in also. Note if using the orange & orange/white cable make sure the brown cables don't go to the batteries.
@jacoannandale3307
@jacoannandale3307 8 ай бұрын
Which splitter are you using? can you give more info please?
@AA-vn2ip
@AA-vn2ip 8 ай бұрын
@@jacoannandale3307 I bought a splitter but it didn’t work for some reason so I spliced together my own cable (made my own splitter) and it worked great.
@jolambinon9775
@jolambinon9775 Жыл бұрын
Really enjoy you work. I am a newby but managed to get this all working on my 8KW Sunsynk, by following you video. Please do the video on the dashboard, I have tried setting this up myself but seem to be missing a number of the required entities. They are unavailable in the ESPhome inverter data.
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Thank you Jo, I am glad you have found my video's useful. I am busy working on a Dashboard video at the moment so stay tuned, home to have it out in the next week or so, have just run into some issues with the EskomSePush part of the dashboard.
@FransStofberg
@FransStofberg Жыл бұрын
As part of the fault finding tips... I can add that last resort remove R7 resistor. I was getting erratic data until I removed it.
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi @FransStofberg, that does seem to be what most people are experiencing. I think that the inverters usually have a terminating resistor built in. I have removed the resistor on all of my installs.
@capetownkelp
@capetownkelp 10 ай бұрын
You might want to remove R1-R4 too, and replace with a voltage divider to reduce the 5V output on RO to 3V3. ESP32's are 3.3V devices that can't tolerate 5V on their I/Os.
@JasGawera
@JasGawera Жыл бұрын
Thanks for these videos, I'll be trying some of this on my sunsynk 8kW. Will using this local modbus connection prevent the sunsynk dongle working or talking to the cloud?
@SolarIntegrations
@SolarIntegrations Жыл бұрын
I am glad you are finding them useful Jas. You can definitely run and ESP32 & wifi dongle at the same time without any issue, I have them both running and like to have my data going to the cloud for backup.
@arthurbrand8107
@arthurbrand8107 11 ай бұрын
I have some questions. Where in the video is the the yaml file from slipx06 uploaded to the ESP32? What are the pin connections that match the yaml file?
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Hi @arthurbrand8107 Sorry it is not 100% clear in the video. The YAML file from Slipx06 is loaded onto the ESP32. He uses tx_pin: GPIO1 rx_pin: GPIO3 & flow_control_pin: GPIO16 as default but you can change these pins if you are using different ones.
@time4net
@time4net Жыл бұрын
Great work, thanks for the tutorials. Quick question. I have a 8k synsynk and have communications running with the Modbus board but information coming in does not match the ID's resulting in incorrect data against the headings. Any suggestions where I can find a list of register ID's
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi Tim, I am not 100% sure what could be causing that. Rgere are a number of ways you can see a full list of the entities being brought in by any Integration, have a look in the settings/integrations/ menu and then click on the relevant integration, it will list the names of all the entities it is responsible for with their name. You can also check the states/values of those entities by going to the Developers Tools menu option and then clicking on States and then filter the entities with the name of the entity you are looking for, it will show you the current value of that entity. I hope that answers your question. You can also rename entities if you want in the settings/integrations and then click entities at the top of the page, you can drill down and change names etc there.
@time4net
@time4net Жыл бұрын
@@SolarIntegrations Thanks, I'l persevere. It may just be a firmware change. fresh start with replacement clean files may help
@arthurbrand8107
@arthurbrand8107 7 ай бұрын
Hi Just an update in case someone else has the same issue. I had lots of bad data when using the 5V in power pin and not powering via USB connector. Using the 38pin ESP32-DEV-CP2102-C Wroom Type-C version. I found that the 3 ground pins are not connected internally and one of the other ground pins had an effect on my WiFi.
@SolarIntegrations
@SolarIntegrations 7 ай бұрын
Thanks Arthur, I would definitely recommend that people use that new shield for the esp32 than Heinz from smarthomeintegrations has, makes like a load easier and no issues with power/communication.
@kevinrtres
@kevinrtres 11 ай бұрын
Just a heads-up - robotics says the Dev board has been superseded by the one with a USB-C port - ESP32-DEV-CH340-C. However I see on their website there's also a ESP32-DEV-CP2102-C which is somewhat confusing since you mention one should look for the CP2102 interface when installing it. Not sure what the CH340 is for.
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Hi @kevinrtres , Thanks for pointing that out, I don't think that it makes much difference though as the only time you will use that interface is when you are onboarding the ESP32 into ESPhome. Basically you just look for the inteface that appears when you plug it in.
@mc_allstar4860
@mc_allstar4860 Жыл бұрын
your video's are good, enjoying it and getting a lot of ideas. can you not do a video on the Dashboard and how to convert the "capacity point 1 to 6" into time values with the "%" slider and then the grid toggles.
@SolarIntegrations
@SolarIntegrations Жыл бұрын
I do have a video on the Dashboard planned, I am still busy with research though and hope to have something out in the next few weeks.
@lotchetsanga6350
@lotchetsanga6350 11 ай бұрын
Hi. How does this look like once connected on the inverter? Is it outside like with the e linter dongle? does it look like a lot of cables dangling around? do you have a picture showing this connected to your inverter? will this then connect to the home assistant server via wifi?
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Connects via wifi, it is a board but you can mount it in a purchased or printed enclosure. Connects to the inverter using an Ethernet cable
@makesolareasy
@makesolareasy 10 ай бұрын
Hi @solar Integrations. I am struggling to get my windows to pick up my esp32. I did install the drivers, in my case CH340C, but still no luck. Any pointers?
@SolarIntegrations
@SolarIntegrations 10 ай бұрын
Check in your Windows device manager if it is seeing the serial port that the ESP32 is creating to connect to. Then make you select the correct port. I think I am going to have to redo this video as that part of the video is a bit confusing.
@craigarenson7036
@craigarenson7036 11 ай бұрын
Hi, is it possible to get a url to that wiring diagram? Looks blurry to me over youtube. thanks
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Hi @craigarenson7036 , You can find a wiring diagram at powerforum.co.za/topic/8646-my-sunsynk-8kw-data-collection-setup/page/3/ please remember to check the pins you connect the RS485 board to are the same ones as referred to in the YAML code that you upload to the ESP32 as you can use different pins and it really depends on which YAML code you use for the ESP32.
@vaughanza
@vaughanza Жыл бұрын
Hi I have the Sunsynk 8k Inverter and followed your video, made sure the cables are correct however the data is not coming through. ESPhome is connecting to the board and is all fine but no data ?? Removed that small chip as you said and still nothing. Do you have to enable the RS485 port on the inverter ? Thanks
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi @VaughanLundin, you don't have to enable anything on the inverter. Can I suggest having a look through the thread on the Powerforum and if you don't come right, post a message at the end of the thread with a copy of your Logs from ESPhome and we will try to help you out there? powerforum.co.za/topic/8646-my-sunsynk-8kw-data-collection-setup/page/3/
@makesolareasy
@makesolareasy 10 ай бұрын
I am using your groundwork to do this with Voltronic inverters. That said, I am a complete noob on coding and/or esp. Your DE and RE pins on the 485Max is both connected to GPI04. But I don’t see any mention of GPI04 in the code. Any advice?
@SolarIntegrations
@SolarIntegrations 10 ай бұрын
Hi @makesolareasy , Unfortunately I don't have any experience interfacing with the Voltronic but here is what I saw on Github github.com/ned-kelly/docker-voltronic-homeassistant and github.com/amishv/voltronic_ESP8266_MQTT Good luck :-)
@vaughanza
@vaughanza Жыл бұрын
I have been meaning to ask, what is the YAML code on the GITHUB page of slipx , ESPHome-8K-Sunsynk.yaml file ? for
@SolarIntegrations
@SolarIntegrations Жыл бұрын
If you use and ESP32 with an RS485 board, you load that file onto the ESP32 using ESPhome and all the entity names are correct for the cards.
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Sorry, I know that is a confusing thing about that video and other people have commented on it.
@BradsJardine
@BradsJardine 11 ай бұрын
Bought my electronics today but I think I’m am missing a step. At what stage do you unplug from the computer and into the inverter and does it need power once plugged into the inverter?
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Hi @BradsJardine , the ESP32 does need it's own power supply. I tried to house my ESP32 inside of my inverter but that did not work well and I think I picked up too much interference from the inverter. Better to have along cable from the RS485 board to the inverter. Once you have the ESP32 onboarded to ESPhome and it is connecting to your wifi network it does not need to be connected to the computer any longer and you can send updates to it over the air via wifi network. Give us a shout on the power forum if you get stuck at all.
@vaughanza
@vaughanza Жыл бұрын
Hi , when you installing ESPhome on the ESP32 board it comes up and say must ADOPT the device ? Must you do this and if not how do you ignore the Adopt ? Thanks
@SolarIntegrations
@SolarIntegrations Жыл бұрын
That is correct, you need to adopt it before you can change the code being loaded onto it.
@vaughanza
@vaughanza Жыл бұрын
Earlier in your video you said something about taking the code from slipx06 ESPHome.yaml file which you never explained or is that that the Dashboard info ?
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Ahhhh, ok. I would suggest that you load your ESP32 with the file that can be found on the Slipx06 Github page at github.com/slipx06/Sunsynk-Home-Assistant-Dash/blob/main/ESPHome-8K-Sunsynk.yaml
@vaughanza
@vaughanza Жыл бұрын
@SolarIntegrations Do you add that YAML file to Home Assistant under the configuration file ? Or do you upload to the ESP32 board? If so, how would you do it ? This is probably why the Data is not coming through to the home assistant?
@XianZA
@XianZA Жыл бұрын
Hi all, what is the prefered and neatest way to power the esp32, specifically for the use with a 5kw sunsynk inverter?
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi @XianZA, the new ones are powered by a USB Type C, I have my one inside the inverter but had all sorts of issues with signal interference, best to have a longer cable to the RS485 board and just keep it closer to the power supply I think.
@XianZA
@XianZA Жыл бұрын
Ok but are you getting power from somewhere in the inverter or from a plug socket. Reason I ask is that all my outlets are far from my inverter.
@SolarIntegrations
@SolarIntegrations Жыл бұрын
@@XianZA I get mine from a plug socket, you can make the RS485 cable quite long without an issue, up to 50mtr depending on the cable quality etc.. Would start with a short one, get everything working and then see if you can make it long enough to get to a plug, just remember it need to be a twisted pair to work.
@vaughanza
@vaughanza 11 ай бұрын
Hi, I am helping my Nephew setup this logger and wonder if there is a difference with the setup if you have two Sunsynk inverters ? Thanks
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Am actually not sure @VaughanLundin as I have never used it with a dual inverter setup. Maybe check on the Slipx06 Github as I do remember seeing something there about it.
@grahametobin5297
@grahametobin5297 9 ай бұрын
Great videos, thank you. Does anyone know or can confirm if the 8k yaml file will also work with a Sunsynk 3.6kW inverter please ? This will also need a splitter as it has a combined port. Thank you.
@SolarIntegrations
@SolarIntegrations 9 ай бұрын
It should, the Modbus queries should be the same
@SolarIntegrations
@SolarIntegrations 8 ай бұрын
Hi @grahametobin5297, were you able to confirm if it works?
@jolambinon9775
@jolambinon9775 Жыл бұрын
I have the ESP32 integration set up and running with a Sunsynck 8KW inverter. Everything seems to be working except for the grid power sensor (169). I get no readings for that. My CT clamp is installed correctly as the inverter readings and functions are perfect and so is my date in the cloud. Is anybody else experiencing this?
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi Jo, if you go to developer options and check under states, does it have a value for sensor.grid_power ?
@jolambinon9775
@jolambinon9775 Жыл бұрын
@@SolarIntegrations Hi, thank you for the reply. I removed the filters in the yaml file from those sensors and that solved the problem. I got the advice from Slipx
@jacoannandale3307
@jacoannandale3307 8 ай бұрын
Thanks. Been working through the forum, but no solution found yet.
@SolarIntegrations
@SolarIntegrations 8 ай бұрын
Am happy to have a look at it for you, I live in Kyalami, message me on the Powerforum if you are close. Otherwise post a thread on the powerforum with the YAML code you are using, what you are getting in the logs in ESPHome and some photo's of your ESP32 board, RS485 interface and the RJ45 cable connector and wiring and I will see if I can help u there
@jacoannandale3307
@jacoannandale3307 8 ай бұрын
@@SolarIntegrations Thanks. Let me post on the forum. Maybe someone has the same problems. If I dont come right, will give you a buzz.
@ivanendicott3273
@ivanendicott3273 11 ай бұрын
Got the kit all wired and its writing logs like the video suggest but I am only seen 1 entity which is the firmware. Removed the resistor but made no difference. Any ideas? I didn't get to put in the API key as suggest as it installed without asking for one, maybe this is the issue?
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Hi @ivanedndicott3273, have you installed the YAML code from Slipx06's GitHub page into your ESP32?
@ivanendicott3273
@ivanendicott3273 11 ай бұрын
​​@@SolarIntegrationsno I did miss that part out, sorry new to ESP and Home Assistant. So changed the GPIO to 016 and 017 but by default Slipx06 also has 016 for flow control which I assume needs to be changed to 04? Also the code you linked to in the video is not found, there is a similar piece for an 8kW inverter, however I am using a 5.5kW version.
@SolarIntegrations
@SolarIntegrations 10 ай бұрын
16kw, 8kw and 5kw all use the same Yaml code, it is only the 3-Phase inverters that use slightly different code
@donovankruger8131
@donovankruger8131 11 ай бұрын
Do you possibly have a link to a video for the ESP device for measuring geyser temperatures?
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Hi Donovan, if you have a look on the ESP home website it has some instructions on how to set a temperature probe up. I currently don't have a video on how to do it but will put it on my list of videos to do. Make sure you are subscribed and enable notifications and I will get one out for you when I am back in SA (will be next month)
@jplab
@jplab 9 ай бұрын
@@SolarIntegrations, very informative videos. I am also interested in the temperature probe video!
@SolarIntegrations
@SolarIntegrations 9 ай бұрын
Hi @@jplab , thanks for the reminder. I will get one out in the next few days. :-)
@georgelza
@georgelza 11 ай бұрын
... you go into installing esp home onto your HA, but did not discuss/mention how to prepare the esp32 thats remotely connected to the inverter, with no physical connection to the device running HA, can you explain please.
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Hi @georgelza, you need to install the YAML code from the slipx06 GitHub pages into the ESP32 using esphome
@georgelza
@georgelza 11 ай бұрын
@@SolarIntegrations Hi there... ok.. but how, I understand I install the ESPHome integration on my HA deployment thats on my Pi in the study. what/how do I build the ESP32 from factory. I've done the wiring on a test board... this all goes in at the inverter in the garage.
@lotchetsanga6350
@lotchetsanga6350 11 ай бұрын
these components are no longer available at Microrobotics. Where else can l find them?
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Hi @lotchetsanga6350 , still available just a new model as the new ESP32's are all with the Type C Connectors - www.robotics.org.za/ESP32-DEV-CP2102-C & www.robotics.org.za/RS485-MOD
@HeinzMeulke
@HeinzMeulke Жыл бұрын
Oh the joys, got some bad vero board, spent an afternoon soldering and de-soldering, measuring, scratching my head, good old Micro Robotics failed me badly. Test your veroboard with a multimeter! Lesson learned, sometimes the suppliers are fall for the scam and they buy factory rejects. I sent them an email so hopefully the will test and bin the e-waste. I feel sorry for someone new to this trying to figure out why things are not working. RS485 is fairly fault tolerant but you do now want to pass it too much voltage(especially if you use a buck converter to power your esp32), having the magic smoke in the inverter escape would not be fun
@SolarIntegrations
@SolarIntegrations Жыл бұрын
I don't use veroboard, is only 5 wires so I just solder them on, not pretty but it works :-)
@HeinzMeulke
@HeinzMeulke Жыл бұрын
@@SolarIntegrations I started like that, and it is fine for testing if something works. If you are going to use it in the real world then mount your boards/components on a vero/prototype board and put them in an enclosure to shield them from moisture or electrostatic discharge. A little more effort but it goes along way to protect your expensive equipment
@capetownkelp
@capetownkelp 10 ай бұрын
The provided circuit might be part of your problem. ESP32's are not 5V tolerant, so you should not be connecting them to the 5V pullups and output of the Microrobotics MAX485 board. Remove R1, R2, R3 and R4, and replace with 330R series (inline) and a 680R resistor to GND on the R0 trace to form a voltage divider.
@HeinzMeulke
@HeinzMeulke 10 ай бұрын
@@capetownkelp agreed with the 5V and not driving the rx pin with 5V. But I spent I whole afternoon chasing issues only discovered when I started measuring the strip board was linked in certain places and adjacent lines had 0 ohm resistance. Threw the leftover board in the bin. Managed to build several working circuits with vero board that I ordered from Communica.
@xavsod
@xavsod 11 ай бұрын
Hey Sir, Struggling to ge the Yaml Code for my 5KW Deye - i saw you had a Deye, do you have a working Yaml to load on the ESP32?
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Hi @xavsod , the code is the same for the DEYE & Sunsynk. U using the code from the Slipx06 Github?
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
What seems to be the problem?
@xavsod
@xavsod 11 ай бұрын
So get as far as loading the WIFI onto the board, i can also see it in HA. Should i now install the Yaml code by editing the Yaml then installing, or do i jyst edit and save? @@SolarIntegrations
@JohnBrinkman
@JohnBrinkman 11 ай бұрын
@@xavsod hi, once you have connected the esp32 to esphome in home assistant you will need to edit the code on it and add slipx06's yaml except for the bits at the start that are specific to each esp32.
@jacoannandale3307
@jacoannandale3307 8 ай бұрын
All the sensor values are unknown, tried all the suggested info. Still cant seem to get it working. Can someone please assist?
@SolarIntegrations
@SolarIntegrations 8 ай бұрын
Best is to get onto the Powerforum and check out the thread there. The ESP32 can be tricky to get working as there are a number of areas that you could be having an issue with. Would start with checking that you are connecting to the pins specified in your YAML code.
@pieteroconnell1518
@pieteroconnell1518 Жыл бұрын
Hi There, this is great video and just what I was looking for. I am trying this, but i do not know where and when to put the ESPHome-8K-Sunsynk.yaml onto the ESP32 board? I am not a programmer and need help to put the query's on the ESP32 Board to get the info from the Inverter. Any assistance would be highly appreciated
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi Pieter, can I suggest watching the video again, maybe I need to make the process more clear? You first need to add the ESP32 into you ESPhome in Home Assistant. Once you have the ESP32 connected you can update the code on it using the Edit button. You don't need to have it connected directly to your PC once it is onboarded and you can do any updates wirelessly.
@pieteroconnell1518
@pieteroconnell1518 Жыл бұрын
Thank You, I successfully connected the ESP32 to my WiFi, I then copied and pasted the yaml code in the Edit section of ESPHome. I entered my details in the #### sections of the code. But still get this error: WARNING Can't connect to ESPHome API for sunsynk.local: Error resolving IP address: [Errno -5] No address associated with hostname. Any assistance would be appreciated. Thank You...
@natiusvanderwatt3309
@natiusvanderwatt3309 Жыл бұрын
@@SolarIntegrations Great video... but the code edit part is lying on the editing room floor somhere. I blinked and your ESP came up as an Inverter device.
@SolarIntegrations
@SolarIntegrations Жыл бұрын
@@natiusvanderwatt3309 I think you are right, am going to redo this video for you guys, have two other video's I want to get out and will then get onto it
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi @@pieteroconnell1518 You need to load the Yaml code onto the ESP32 using ESPhome, you will need to keep your ESP details ie wifi etc and just copy the section from "binary sensors" down, am going to edit this video and include a new cut explaining that for you guys. Make sure all the other comments above that have your own ESP32 info included i.e. the pins you are using etc
@caswellndlhovu8990
@caswellndlhovu8990 11 ай бұрын
I have a master and slave inverter, connected my setup to master, not getting readings, flashed esp32 with slipx yaml code, logs from HA showing no readings received, using pin 1 and 3 for Tx and Rx, pulling my hair
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Hi, Check the settings in your coffee are for the pins you are using on your ESP32, check you are using a twisted pair for your connection from the rs485 board to your inverter. If you are still stuck part your loss on the powerforum along with photos of your connections and the YAML code you are using and someone may be able to spot where the problem is
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
Seeing in your YAML code, not coffee, lol
@donovankruger8131
@donovankruger8131 10 ай бұрын
Majority of my sensors are reporting as unknown. Any tips on this?
@donovankruger8131
@donovankruger8131 10 ай бұрын
Edit: all entities are available in HA however all values are ‘Unknown’. Could you possibly share your YAML file?
@SolarIntegrations
@SolarIntegrations 10 ай бұрын
Hi @donovankruger8131, Can I suggest that you get onto the ESP32 thread on the powerforum.co.za, have a look through it and if you still have no suggestions then post your Logs as well as much information on your problem as you can and members will try to help you out. powerforum.co.za/topic/8646-my-sunsynk-8kw-data-collection-setup/page/14/
@HeinzMeulke
@HeinzMeulke Жыл бұрын
Micro-Robotics is a bit sneaky, the price incl VAT is there but not very visible. So you tend to think their prices are cheaper than other suppliers. Oh the hours I have spent chasing down wires that do not make good contact, or that I accidentally soldered and is touching something else. I agree the ESP32 once it is working is a great tool
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi Heinz, is always a good idea to look around and check prices.
@solarworld1781
@solarworld1781 11 ай бұрын
SUN-5k-SG02LP1 inverter inverex 5kw made by deye possible ? error : Connection error occurred: [Errno 104] Connection reset by peer esp32 pin 17,16,D4, GND,VIN 5v -- RS485 pin: DI to 17, RO to 16, DE+RE D4 , GND to GND, VIN to VCC, A to RJ45 pin 2 and 7 - B to RJ45 pin 1 and 8 (RS485 remove for R7) please help
@XianZA
@XianZA 11 ай бұрын
Hi Im still struggling to get values from mine. But HASS sees it and its online and the code is running. But I spent the last 2 weeks figuring out my wifi. And I saw that error alot when my wifi wasnt strong enough. It hasnt happened since I got a router right next to the inverter
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
That's great @XianZA, glad you have got it working
@XianZA
@XianZA 11 ай бұрын
@@SolarIntegrations oh its only staying online and running code, but no values. Will be posting on the forum soon and see if anyone can help
@SolarIntegrations
@SolarIntegrations 11 ай бұрын
@@XianZA Ok, maybe upload the logs as well so we can see where the problem might be. Have you checked the pins on the ESP32 that you are connecting the RS485 board to are the same ones as references in the YAML file? Another thing to check is the connection to the RJ45 connector and that you are using the correct pins and then finally, have you removed the resistor on the RS4854 board, that often makes a difference as well.
@capetownkelp
@capetownkelp 10 ай бұрын
Please note that the ESP32 is not 5V tolerant, yet the circuit promotes connecting it to 5V pullups and a 5V output on the Microrobotics RS485 board. This could result in the ESP32 I/Os being damaged either immediately or over time. I have posted a potential solution further up in the comments.
@natiusvanderwatt3309
@natiusvanderwatt3309 Жыл бұрын
Anyone tried this on the 12kW Sunsyk yet?
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi @natiusvanderwatt3309 , it does work on the 3=phase inverter, there are however a number of the sensors on the 3-phase inverters that you don't have on the single phase inverters. There is a file called "DEY12k-modbus.yaml" on Slipx06's github page but I would get onto the Power Forum and confirm if that will work with the Sunsynk without any issues (should do as far as I am aware)
@natiusvanderwatt3309
@natiusvanderwatt3309 Жыл бұрын
@@SolarIntegrations yer the man. Thank you
@MS-dx1zl
@MS-dx1zl Жыл бұрын
Hi, I have a DEYE 10kw 3f. I'm using 8k-sunsync.yaml and the data loads and stands. They are not correct. Can you put a yaml that works? Thanks for your work... DEY12k-modbus.yaml is not all, and it doesn't work
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi @MS-dx1zl, I wish it was that easy :-) . The Yaml files are all based on the Modbus register which we managed to get from Sunsynk, it details which modbus address is for which value. Queries are sent to the inverter asking it for the value for a specific address, 186 for example is the address for PV1 power. Most of the Sunsynk inverters seem to use the same register and people have written the various integrations mostly built around this register. The register contains values for the single phase and 3-phase inverters and these are mostly what has been used for creating the yaml files that you have spoken about. I haven't seen a 10kw 3-p as yet but don't see any reason why they would change the register for it as it seems to be stable. My suggestion is to get onto the powerforum website at powerforum.co.za/topic/17970-home-assistant-sunsynk-power-flow-card-and-dashboard/ and have a look through the thread, if you can't find any solution, post a detailed log from the ESP32. the more information you are able to provide the more likely it is that someone will be able to assist you there. Good luck and see you on the site
@MS-dx1zl
@MS-dx1zl Жыл бұрын
thanks .... I found MODUBUS for 3F converter ----- # 672: dc/pv1/power # 673: dc/pv2/power # 676: dc/pv1/voltage # 678: dc/pv2/voltage # 677: dc/pv1/current # 679: dc/pv2/current # 529: day_energy # 534: total_energy # 514: battery/daily_charge # 515: battery/daily_discharge # 516: battery/total_charge # 518: battery/total_discharge # 590: battery/power # 587: battery/voltage # 588: battery/soc # 591: battery/current # 586: battery/temperature # 625: ac/total_power # 598: ac/l1/voltage # 599: ac/l2/voltage # 600: ac/l3/voltage # 630: ac/l1/current # 631: ac/l2/current # 632: ac/l3/current # 633: ac/l1/power # 634: ac/l2/power # 635: ac/l3/power # 520: ac/daily_energy_bought # 521: ac/daily_energy_sold # 522: ac/total_energy_bought # 524: ac/total_energy_sold # 540: radiator_temp # 541: ac/temperature # 616: ac/l1/ct/external # 604: ac/l1/ct/internal # 617: ac/l2/ct/external # 605: ac/l2/ct/internal # 618: ac/l3/ct/external # 606: ac/l3/ct/internal # 650: ac/ups/l1/power # 651: ac/ups/l2/power # 652: ac/ups/l3/power # 653: ac/ups/total_power # 644: ac/ups/l1/voltage # 645: ac/ups/l2/voltage # 646: ac/ups/l3/voltage # 526: ac/ups/daily_energy # 527: ac/ups/total_energy
A better way to connect Home Assistant to your inverter
30:40
Solar Integrations
Рет қаралды 7 М.
Can You Draw A PERFECTLY Dotted Circle?
00:55
Stokes Twins
Рет қаралды 45 МЛН
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 78 МЛН
The Best Data Logger?
12:37
Paul's Projects
Рет қаралды 7 М.
Beginners Home Assistant Solar Dashboard
20:48
Solar Integrations
Рет қаралды 9 М.
DIY Whole Home Power Monitoring with ESPHome & Home Assistant
30:39
digiblur DIY
Рет қаралды 250 М.
How to automatically switch of your Geyser when there is Load Shedding
20:48
Solar Integrations
Рет қаралды 2,3 М.
Mastering Modbus: Heat Pump Integration with Home Assistant!
21:02
ESPHome Basic Setup For All ESP Devices
44:21
Home Automator
Рет қаралды 8 М.
This is SO Much Better! Getting Started with ESPHome 2021
29:42
Everything Smart Home
Рет қаралды 327 М.
PART 52 || DIY Wireless Switch forElectronic Lights - Easy Guide!
1:01
HUBAB__OFFICIAL
Рет қаралды 52 МЛН
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 382 М.
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 684 М.
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 23 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 54 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 2,3 МЛН