Closed Alexbuehs closed 2 years ago
You need to change all the x-es to the actual values in your system: SSID, password, MQTT server IP address, userid and password.
Okay, and what about the lower part where I can configure all the IP addresses? So the area I have marked? ![Uploading 1220CF87-71E6-4289-82F6-B188F17B191A.jpeg…]()
You can leave it as it is. The ESP will just get a dynamic IP address, it will not impact how it works.
First of all, thank you very much for your help. That's exactly how I did it and the esp was flashed without any problems but when I then open the serial monitor there is always WIFI Connecting .............. and that repeats itself again and again. If the esp is flashed, the blue LED also lights up permanently, is that correct?
Yes, the blue is on until it connects to the wifi, and from that point it only flashes when reads the inverter. Can you screenshot the current settings.h file (obviously blurring out the passwords) and the full serial log? Maybe that will give me some ideas on what is going on.
I will take a screenshot of settings.h tomorrow and post here. Thanks again for your help.
Hey, I realised that the code is running. I deleted your code from the computer again. Then I re-downloaded your code again in Arduino opened the x-es replaced and flashed. The ESP now connects to the Wifi. Now I just have to see that I can do it with the broker. Do that with a raspberry and the iobroker but in the data point it only says true. Is there another way to even see if the esp receives data? I connected all this to a Growatt TL-X.
And one more question. Does the Wifi Shine X Stick have to be unplugged?
Check the serial debugger. If it is not able to read the inverter, you get some error messages (like No Response or similar). So if you see no error, the modbus is working. I think the Shine X plugs into a different port, so you can leave it. I don't have that.
How do I get the serial debugger via wifi? Or leave the esp connected to the pc and then via the serial monitor from Arduino?
Yes, use it connected to the computer and user the serial monitor from Arduino IDE.
Hey, I have everything going on now, it works perfectly. Thank you very much for your help and the great work
I am a newcomer to the field, I flashed the ESP with the code via Arduino. I made the setting under Settings.h but unfortunately the ESP does not connect to the Wifi after flashing. Can you maybe help me and tell me where exactly I have to set what in the Settings.h tab?![C7223C36-6E86-4875-AB43-B1303A20EA7C](https://user-images.githubusercontent.com/86471233/173578890-c6462c96-d5b1-414f-9036-a22a61204283.png)