You're welcome. I'm leaving the zip file up on the site for anyone else whose search brings them here. I used to put my PVPowered public dashboard on my weather site, would like to return it someday and would also like like to see your dashboard on your site when you get it done and up.
Thank you very much for working on this. As a non programmer I am not familiar with some of the terms. I looked up influxdb and it appears to be a cloud database.This is what I did and this is what I got.
Mike
I created a folder and put n6ac two files in that folder, edited, compiled and am getting Class not found exception on PVPowerDaily.class file? On Mac - tried setting PATH and CLASSPATH but can't get passed this error? any suggestions? thanks
My xyz.java, xyz.class and xyz.command files are located in my (Mac's) User folder, as are the written text files.
I do not recall having to set the PATH or CLASSPATH.
Hope that helps.
No programming expert here, just a diligent Googler ...
The xyz.command files are executables that look like this –
java xyz 10.0.1.72
exit 0
which get called by a timer (Task Till Dawn) at specific times
Has anyone tried to read register data from the PV Powered inverter using Modbus TCP? I was able to read registers that contain non-changing data such as serial number and inverter ID, but when I attempt to read voltages, currents, or inverter faults, I get zeroes.
I've done a bit of vibe coding with Perplexity AI. I shared the Java sample from AE that I had and Bryan's Python code that I never got working (this never would have happened without Bryan). I needed basic help with Python which GitLab is not good at and Perplexity is surprisingly good at. I now have an easier to understand Python script that starts with the system (a weather station that runs 24/7) and logs to my NAS (or wherever you set in the configuration portion). Works with all 31 AE inverters with PVM1010 interface. Put it all together in a zip file...
The package is 7.84MB. https://railroadflat.org/graphics/pvm1010_Logger.zip
I have a PVP4800 (serial PV0048ECCD0720115089, which I think makes it a 2011 unit) and a PVM1010 bought used this year. The module's UDP reply is all zeros and its blue lamp blinks short, long, short ("Serial Connection Error"). With a serial adapter on the inverter's RS232 port I can see the module asking 99 01 at 9600 8N1 every 7 seconds, and the inverter never answers. I have checked the wiring from the DB9 through the power board and the 5-wire harness up to the control board, and it is all good. The inverter's transmit pin rests at about -4.9 V during the 5-minute start-up countdown but sits near +1.7 V once the inverter is running.
Three questions for anyone with a working inverter and module:
(1) What year or serial-number range is your inverter, and does your module's UDP reply show model type 18 or 28?
(2) What firmware does your module report (the two bytes of word 12 in the UDP reply)? Mine is 1.3.
(3) Has anyone seen the short, long, short lamp and cured it?
And if anyone has a meter handy with the cover off: what DC voltage do you see between DB9 pin 5 and pin 2 while the inverter is running? That one number would tell me whether my inverter's port is faulty.
Comment