Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

Add the 'Status' to the API. States are 'Working' 'Waiting' 'Error' #11

Open
JohnVerbruggen opened this issue Nov 18, 2020 · 1 comment

Comments

@JohnVerbruggen
Copy link

Please add the 'Status' to the API. States are 'Working' 'Waiting' 'Error'
Especcially state 'Error' would be interesting! (e.g. when the mains are disconnected).
Thanks in advance.

@JanJaapKo
Copy link

JanJaapKo commented Jan 15, 2021

Hi,

I've added the error state. However, the state is returned as an integer from the Web API so I've now guessed 2 as error. To finalize this, it would be great if you can provoke an error on the inverter (I don't know how....) and post the logging here. Look especially for the loglines around this:
2021-01-15 15:16:02.495 (Zonnepanelen) Status of GoodWe inverter (SN: xxxx): '1 generating'

Btw, the current mapping is:
-1: 'offline',
0: 'waiting',
1: 'generating',

Btw you will have to pull from my fork:

git pull https://github.com/janjaapko/domoticz-GoodWeSEMS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants