aaronmelton / solark_monitor

A Python script to read memory register(s) from Sol-Ark Inverters and insert them into a database.
12 stars 3 forks source link

Another change to database file needed #9

Open TheGuruOfNothing opened 1 month ago

TheGuruOfNothing commented 1 month ago

The line generator_side_relay_status tinyint(3) unsigned DEFAULT NULL, needs to be changed to smallint(6) to fix an OUT OF RANGE error when the generator relay is triggered. No real idea what the proper syntax for that really should be but I tested using the smallint(6) and it works. Shot in the dark kind of thing. I will leave this issue open for a bit just in case I come across any more oddities.