- This topic has 2 replies, 2 voices, and was last updated 2 years, 8 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Home › Forums › The projects hosted on the site › ABB (ex Power One) Aurora Web Inverter Monitor (WIM) › Wim for two inverters
Tagged: ABB Inverter
Hi Renzo,
I appreciate very much your work!! Very impressive to me. I thank you for this efforts! My SolarLog has gone after a lightining so I built your logger and it works well (sometimes recordings on SD cards is blocking, I investigate…).
I have two inverters so I’m going to modify your firmware to gather data from inverters one and two.
I developed a small React application (now only on PC, I’m new on this enviroment) to show the data-graph. My question is: how is possible to address the REST server from webApp without put in the code a fixed ip?
Maybe I’m asking trivial question – I’m not a professional programmer!
Hi Francesco,
I think the fastest and simple solution is to modify the current version of the web interface, you can find It on GitHub.
For the IP remember that when installing It on the device you can use the relative path, so if you use, in your code, an address like /pippo
the result becomes HTTP://indirizzo/pippo
.
In the code I shared you can find a settings.json
file, inside there is a static IP used when I develop the web interface from a PC, but when I generate the package to install on the device I don’t copy the settings.json
file, It will be generated by the Arduino firmware without the IP, so all the path will be relative.
Bye Renzo
Great! I didn’t know the WebApp sources were public! At least I learned how to build a SPA with REACT and g2Plot graph (but I don’t know REDUX)! Now I’ll have to study your code … it will not be easy!
Thank you a lot again!
More