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.
Hi Joe –
Here is the response from my PVP4800+PVM1010 on this wet, cloudy day ...
~ % /Users/me/PVPower.command ; exit;
Sending Packet to: 10.0.1.72
Response Packet size: 40
Inverter Information
Type: 28
Status: Online
DC Voltage 270 V
AC Voltage 236 V
AC Power: 831 W
Temperature: 28 C 83 F
Total: 132669 kWh
Mon Nov 30 13:26:08 PST 2026
Saving session...
...copying shared history...
...saving history...truncating history files...shell_session_save_history:21: failed to write history file /Users/me/.zsh_history.new: permission denied
[Process completed]
Thanks, n6ac, that is a real help. Type 28 and Online tells me a PVP4800 does work with this module today, so the trouble is on my end.
Two things would narrow it down, if they are easy to get:
(1) What year is your inverter, or what serial number is on its label? Mine is PV0048ECCD0720115089, which I read as 2011. I am trying to learn whether yours and mine are the same generation.
(2) Do you know what firmware your PVM1010 runs? Mine reports 1.3. It is in the UDP reply but your program may not print it, so no worry if it is not handy.
Thanks again.
Comment