Hi,
I am running GrottServer on grott 3.2.1 alpha.
It has been more or less fine for the last few weeks, however, I have restarted grott server, and now the API does not appear to "find" my inverter and no API commands related to the inverter can be carried out.
running :5782/inverter displays my datalogger only.
{"<dataloggerid>": {"ip": "10.0.16.46", "port": 1057, "protocol": "06"}}
running :5782/inverter?command=register®ister=1109&inverter=&format=hex i get
no or no valid invertid specified
However, MQTT data sent by grott correctly contains the pvserial (inverterid) and all other information, and in debug mode I can see it decoding so I know that Grott is correctly decoding the data.
`Grott data record date/time processing started
- no or no valid time/date found, grott server time will be used (buffer records not sent!)
- Grott values retrieved:
- datalogserial : <datalogger id>
- pvserial : <inverter id>
- pvstatus : 6
- pdischarge1 : 910.0
- pcharge1 : 0.0
- vbat : 52.9
- soc : 92`
Sorry I am not great at writing code, but I can read through it and get a general idea.
I first inkling is there is something weird going on in the grottserver.py
in the code which adds the inverterid to the list, as from what I can tell, the above error is a result of checking the list and if the inverter isn't in there, it just throws that status and aborts.
Any ideas what the potential cause of this is?
As I mentioned, it was working until I restarted it, now it does not work. I had a similar issue before but it rectified itself after restarting a few times, however I have tried that and it's still not working.
Hi,
I am running GrottServer on grott 3.2.1 alpha.
It has been more or less fine for the last few weeks, however, I have restarted grott server, and now the API does not appear to "find" my inverter and no API commands related to the inverter can be carried out.
running :5782/inverter displays my datalogger only.
{"<dataloggerid>": {"ip": "10.0.16.46", "port": 1057, "protocol": "06"}}running :5782/inverter?command=register®ister=1109&inverter=&format=hex i get
no or no valid invertid specifiedHowever, MQTT data sent by grott correctly contains the pvserial (inverterid) and all other information, and in debug mode I can see it decoding so I know that Grott is correctly decoding the data.
`Grott data record date/time processing started
Sorry I am not great at writing code, but I can read through it and get a general idea.
I first inkling is there is something weird going on in the grottserver.py
grott/grottserver.py
Line 1365 in 6e0dfbe
in the code which adds the inverterid to the list, as from what I can tell, the above error is a result of checking the list and if the inverter isn't in there, it just throws that status and aborts.
Any ideas what the potential cause of this is?
As I mentioned, it was working until I restarted it, now it does not work. I had a similar issue before but it rectified itself after restarting a few times, however I have tried that and it's still not working.