Setting up your ESP32 Data Logger & Home Assistant

  Рет қаралды 12,811

Solar Integrations

Solar Integrations

Күн бұрын

Пікірлер: 133
@SolarIntegrations
@SolarIntegrations Жыл бұрын
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.
@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.
@vaughanza
@vaughanza Жыл бұрын
Looking forward to the dashboards , excellent thanks
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Coming soon!
@capetownkelp
@capetownkelp Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Which splitter are you using? can you give more info please?
@AA-vn2ip
@AA-vn2ip Жыл бұрын
@@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.
@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 Жыл бұрын
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.
@kevinrtres
@kevinrtres Жыл бұрын
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 Жыл бұрын
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.
@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.
@craigarenson7036
@craigarenson7036 Жыл бұрын
Hi, is it possible to get a url to that wiring diagram? Looks blurry to me over youtube. thanks
@SolarIntegrations
@SolarIntegrations Жыл бұрын
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.
@georgelza
@georgelza Жыл бұрын
... 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 Жыл бұрын
Hi @georgelza, you need to install the YAML code from the slipx06 GitHub pages into the ESP32 using esphome
@georgelza
@georgelza Жыл бұрын
@@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.
@jacoannandale3307
@jacoannandale3307 Жыл бұрын
Thanks. Been working through the forum, but no solution found yet.
@SolarIntegrations
@SolarIntegrations Жыл бұрын
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 Жыл бұрын
@@SolarIntegrations Thanks. Let me post on the forum. Maybe someone has the same problems. If I dont come right, will give you a buzz.
@arthur5234z
@arthur5234z Жыл бұрын
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 Жыл бұрын
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.
@arthur5234z
@arthur5234z Жыл бұрын
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 Жыл бұрын
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.
@jacoannandale3307
@jacoannandale3307 Жыл бұрын
All the sensor values are unknown, tried all the suggested info. Still cant seem to get it working. Can someone please assist?
@SolarIntegrations
@SolarIntegrations Жыл бұрын
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.
@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.
@makesolareasy
@makesolareasy Жыл бұрын
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 Жыл бұрын
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.
@lotchetsanga6350
@lotchetsanga6350 Жыл бұрын
these components are no longer available at Microrobotics. Where else can l find them?
@SolarIntegrations
@SolarIntegrations Жыл бұрын
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
@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.
@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
@Ivan.endicott
@Ivan.endicott Жыл бұрын
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 Жыл бұрын
Hi @ivanedndicott3273, have you installed the YAML code from Slipx06's GitHub page into your ESP32?
@Ivan.endicott
@Ivan.endicott Жыл бұрын
​​@@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 Жыл бұрын
16kw, 8kw and 5kw all use the same Yaml code, it is only the 3-Phase inverters that use slightly different code
@lotchetsanga6350
@lotchetsanga6350 Жыл бұрын
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 Жыл бұрын
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
@xavsod
@xavsod Жыл бұрын
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 Жыл бұрын
Hi @xavsod , the code is the same for the DEYE & Sunsynk. U using the code from the Slipx06 Github?
@SolarIntegrations
@SolarIntegrations Жыл бұрын
What seems to be the problem?
@xavsod
@xavsod Жыл бұрын
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 Жыл бұрын
@@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.
@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?
@makesolareasy
@makesolareasy Жыл бұрын
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 Жыл бұрын
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 :-)
@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
@caswellndlhovu8990
@caswellndlhovu8990 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Seeing in your YAML code, not coffee, lol
@schwarzimker5257
@schwarzimker5257 2 ай бұрын
Hello, can I use one esp32 to connect three converter TTL to RS485. Thanks for answer
@SolarIntegrations
@SolarIntegrations 2 ай бұрын
Hi @schwarzimker5257, I assume you have three inverters you want to connect? To be totally honest, I am not 100% sure but I think that you might be able to just daisy chain the RS485 connection to each of the inverters, query each inverter individually based on their addresses on the RS485 bus and avoid having to buy 3 x RS485 board. I would strongly recommend using the ESP32 Shield as they have a LOT less problems with installation. Is featured in my video, "a better way to connection Home Assistant". Maybe have a chat to the guys on the Powerforum as there are a load of people there with more experience than me in RS485 connections.
@BradsJardine
@BradsJardine Жыл бұрын
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 Жыл бұрын
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.
@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.
@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.
@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/
@vaughanza
@vaughanza Жыл бұрын
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 Жыл бұрын
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.
@donovankruger8131
@donovankruger8131 Жыл бұрын
Do you possibly have a link to a video for the ESP device for measuring geyser temperatures?
@SolarIntegrations
@SolarIntegrations Жыл бұрын
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 Жыл бұрын
@@SolarIntegrations, very informative videos. I am also interested in the temperature probe video!
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi @@jplab , thanks for the reminder. I will get one out in the next few days. :-)
@grahametobin5297
@grahametobin5297 Жыл бұрын
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 Жыл бұрын
It should, the Modbus queries should be the same
@SolarIntegrations
@SolarIntegrations Жыл бұрын
Hi @grahametobin5297, were you able to confirm if it works?
@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 Жыл бұрын
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 Жыл бұрын
@@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.
@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
@donovankruger8131
@donovankruger8131 Жыл бұрын
Majority of my sensors are reporting as unknown. Any tips on this?
@donovankruger8131
@donovankruger8131 Жыл бұрын
Edit: all entities are available in HA however all values are ‘Unknown’. Could you possibly share your YAML file?
@SolarIntegrations
@SolarIntegrations Жыл бұрын
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/
@solarworld1781
@solarworld1781 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
That's great @XianZA, glad you have got it working
@XianZA
@XianZA Жыл бұрын
@@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 Жыл бұрын
@@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 Жыл бұрын
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.
@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.
@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
@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.
@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
Home Assistant ETHERNET Bluetooth Proxy How To - Lilygo POE ESP32
21:46
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
A better way to connect Home Assistant to your inverter
30:40
Solar Integrations
Рет қаралды 11 М.
Stop Coding ESP32 Sensors! Do THIS Instead... (ESPHome)
14:54
Setting up ESPHome for Home Assistant - ESP32 SMART Home Made EASY!
5:24
Learn Fast Make Things
Рет қаралды 68 М.
Built-in and Custom Energy & Power Cards in Home Assistant
13:24
BeardedTinker
Рет қаралды 62 М.
Getting started with ESPHome
15:24
Let's Automate
Рет қаралды 58 М.
#deye mit homeassistant per W-Lan verbinden Teil2
12:52
SonnenEnergie
Рет қаралды 2,8 М.
Home Assistant Solar Integration Comparison
13:31
Solar Integrations
Рет қаралды 4,8 М.