Page 6 of 6

Re: GoodWe Solar: get data from the new semsportal (lua script)

Posted: Monday 25 May 2020 7:59
by franzel
I use the LUA script since some months and AFAIK in most cases the script works ok.
In the previous Domoticz version most, if not all devices seem to work properly so there was no need to look at the logfile and therefor I hardly ever checked the log so I didn’t notice whether there actually were errors. From te moment I reinstalled my PI with the 2020.2 Version I experienced some issues so to try to solve these issues I checked the log much more then before. From that moment I noticed errors like this.

Code: Select all

2020-05-24 23:55:10.329 Error: EventSystem: Warning!, lua script Opbrengst has been running for more than 10 seconds
2020-05-25 00:13:10.058 Error: EventSystem: Warning!, lua script Opbrengst has been running for more than 10 seconds
2020-05-25 00:55:10.073 Error: EventSystem: Warning!, lua script Opbrengst has been running for more than 10 seconds
2020-05-25 04:37:10.238 Error: EventSystem: Warning!, lua script Opbrengst has been running for more than 10 seconds
I still think that the script shows the proper values but I still wonder where these errors come from.

Regards

Frans

Re: GoodWe Solar: get data from the new semsportal (lua script)

Posted: Tuesday 26 May 2020 22:58
by franzel
Has all the support on this board vanished or has noone an idea what be the cause of this? :(

Re: GoodWe Solar: get data from the new semsportal (lua script)

Posted: Sunday 22 November 2020 17:52
by bofisko
HI
Can you help me. How can I get tokken. I I tried it but it is not working. [DEBUG] 06:55:04: 2020-12-27 06:55:04.312152 [ fatal] Unknown exception: /opt/fibaro/scenes/29.lua:82: attempt to index global 'otherdevices_lastupdate' (a nil value)
Thanks

Re: GoodWe Solar: get data from the new semsportal (lua script)

Posted: Monday 07 December 2020 13:22
by CrazyFrog
I will look into it, i use macos.
Give me some time to find it out

Re: GoodWe Solar: get data from the new semsportal (lua script)

Posted: Sunday 04 April 2021 17:45
by Mareg
Hello, thanks for the script!
But I have a question - there isn't a way to get data directly from inverter?
There isn't an API on the inverter interface?

Thanks
--
Mareg

Re: GoodWe Solar: get data from the new semsportal (lua script)

Posted: Saturday 09 October 2021 9:30
by fojtp
Mareg wrote: Sunday 04 April 2021 17:45 Hello, thanks for the script!
But I have a question - there isn't a way to get data directly from inverter?
There isn't an API on the inverter interface?

Thanks
--
Mareg
this works for me:
https://github.com/mletenay/home-assist ... e-inverter
script: inverter_test.py

Re: GoodWe Solar: get data from the new semsportal (lua script)

Posted: Tuesday 08 March 2022 10:06
by franzel
Version: 2021.1
Build Hash: 8547c5b7e
Compile Date: 2021-04-17 17:29:11
dzVents Version: 3.1.7
Python Version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]

The Lua script from Raymond has worked flawlessly until some weeks ago. Some days showed a negative revenue of my solarpanels where the data from Semsportal is ok. I added some pictures.

Anyone knows what goes wrong in my situation?