Search found 8 matches
- Saturday 03 August 2019 15:26
- Forum: LUA
- Topic: GoodWe Solar: get data from the new semsportal (lua script)
- Replies: 106
- Views: 27069
Re: GoodWe Solar: get data from the new semsportal (lua script)
Changing lg to echo got me this: Goodwe JSON results Found! Goodwe: 433 W, today: 2.6 kWh, Inverter total: 10352 kwH for domoticz: 433;10352000 (udevice) | 16 => 0,433;10352000 So it looks as the script is working, still no nice graph in Domoticz Port 8080 is what needed to be changed to 8084, so ...
- Saturday 03 August 2019 13:44
- Forum: LUA
- Topic: GoodWe Solar: get data from the new semsportal (lua script)
- Replies: 106
- Views: 27069
Re: GoodWe Solar: get data from the new semsportal (lua script)
Sincze, For as far as I can see the script is running all the way to the end (without errors), I put some typo's in it to see what happened and sure I got syntax errors. It looks like it's working the only problem is I don't see any data being displayed. It would be nice to see what the script is ...
- Friday 02 August 2019 22:59
- Forum: LUA
- Topic: GoodWe Solar: get data from the new semsportal (lua script)
- Replies: 106
- Views: 27069
Re: GoodWe Solar: get data from the new semsportal (lua script)
Please turn Debug On. :) Do it will show you the results in between is the cookie created? Does it say cookie writable? If not... You will see no data indeed and no errors. Cookie is writable, and changes every few minutes (new timestamp and inside a see a new session-ID) Now trying to figure out ...
- Friday 02 August 2019 0:58
- Forum: LUA
- Topic: GoodWe Solar: get data from the new semsportal (lua script)
- Replies: 106
- Views: 27069
Re: GoodWe Solar: get data from the new semsportal (lua script)
Sincze, what pre-requisites besides php 7 are needed when running this script on a Synology? I''m getting a few warnings: Hi Peter. Please try latest version here: https://github.com/sincze/Domoticz/blob/master/Goodwe.php Checked on my DS412 ;-) Sincze, I downloaded and modified the script, deleted ...
- Wednesday 31 July 2019 23:42
- Forum: LUA
- Topic: GoodWe Solar: get data from the new semsportal (lua script)
- Replies: 106
- Views: 27069
Re: GoodWe Solar: get data from the new semsportal (lua script)
Sincze, what pre-requisites besides php 7 are needed when running this script on a Synology? I''m getting a few warnings: PHP Warning: Constants may only evaluate to scalar values in /volume1/@appstore/domoticz/var/scripts/pass2php/Goodwe.php on line 56 Warning: Constants may only evaluate to scalar ...
- Wednesday 31 July 2019 16:29
- Forum: LUA
- Topic: GoodWe Solar: get data from the new semsportal (lua script)
- Replies: 106
- Views: 27069
Re: GoodWe Solar: get data from the new semsportal (lua script)
Thanks hoping to get this to work though (steep learning curve for me), got the first 120 lines working now, don't ask me how. but am now stuck at 121 in function getSessionID Error: EventSystem: in anything: [string "-- Created by Raymond Wiertz..."]:121: bad argument #1 to 'sub' (string expected ...
- Wednesday 31 July 2019 16:00
- Forum: LUA
- Topic: GoodWe Solar: get data from the new semsportal (lua script)
- Replies: 106
- Views: 27069
Re: GoodWe Solar: get data from the new semsportal (lua script)
Thanks hoping to get this to work though (steep learning curve for me), got the first 120 lines working now, don't ask me how. but am now stuck at 121 in function getSessionID Error: EventSystem: in anything: [string "-- Created by Raymond Wiertz..."]:121: bad argument #1 to 'sub' (string expected ...
- Tuesday 30 July 2019 23:14
- Forum: LUA
- Topic: GoodWe Solar: get data from the new semsportal (lua script)
- Replies: 106
- Views: 27069
Re: GoodWe Solar: get data from the new semsportal (lua script)
Anybody who has this script working on a Synolgy NAS, as I'm unable to find much about syntax differences between Pi and Synology if there are any.
First error already occurs at the first line of executable code: local Username = ... Unexpected keyword local near Username
First error already occurs at the first line of executable code: local Username = ... Unexpected keyword local near Username