Search found 21 matches

by CrazyFrog
Monday 07 December 2020 13:22
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

I will look into it, i use macos.
Give me some time to find it out
by CrazyFrog
Sunday 01 March 2020 1:20
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

yes you can, but with an update it is set back to 10 seconds
by CrazyFrog
Thursday 27 February 2020 21:17
Forum: LUA
Topic: GoodWe: Get data from Semportal
Replies: 1
Views: 980

GoodWe: Get data from Semportal

I have update my lua script to extract the data from the new "Goodwe semsportal" and pass it on to Domoticz. Questions or tips to improve the script, I'd love to hear them -- Created by Raymond Wiertz -- DateTime: 2020-02-13 -- Tracking your token -- To find out your token, you must execute the CURL ...
by CrazyFrog
Monday 24 February 2020 12:17
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

I had to add i=1 to get it working, but now it works fine. why did you have to put this variable, the code does not use this variable? Could you indicate where you have placed this declaration so that other users can take it over when referenced. Thank you in advance for the information. I got an ...
by CrazyFrog
Monday 24 February 2020 9:27
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

sandeman684, supergroover, Rensticar, bldewit, sjoemie1985 hereby a new script. hopefully the script will continue to work in the near future. Have fun with it. Thanks a lot. I had to add i=1 to get it working, but now it works fine. Hello sandeman684 why did you have to put this variable, the code ...
by CrazyFrog
Thursday 20 February 2020 22:51
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

sandeman684, supergroover, Rensticar, bldewit, sjoemie1985 hereby a new script. -- Created by Raymond Wiertz -- DateTime: 2020-02-13 -- Tracking your token -- To find out your token, you must execute the CURL command below from the command line. -- curl -d 'account=[LOGINNAME]&pwd=[PASSWORD]&code ...
by CrazyFrog
Tuesday 11 February 2020 22:59
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

Sorry I've been very busy for a while.

I picked up this issue again today and expect next week
post a new working script here.

At this moment I already have extract the data from the site, now I just have to strip it and pass it on to domoticz.

Just be patient
by CrazyFrog
Sunday 19 May 2019 7:59
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

you have to create your own sensor.
by CrazyFrog
Sunday 05 May 2019 22:02
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

franzel wrote: Sunday 05 May 2019 18:38 I am definitely not an expert concerning Domoticz and certainly not where it comes to scripting, but with this script even I appeared to be able to show data from my Goodwe device. Thanks for the clear explanation.
you're welcome
by CrazyFrog
Friday 03 May 2019 20:53
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

Hy it is working super. but i would like to have some more info from my goodwe portal. like the temperature, status, how do i get the output of the key in to a file so i could see all of the key's en not only the fist 100 already thanks for the great support of this code is great. greetz klaas you ...
by CrazyFrog
Friday 03 May 2019 20:14
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

I have updated my script. - Installation instructions added - error handling when no data is being retrieved - comment --- replaced by -- - repetition of code placed in functions - all comments and improvement posted here picked up and applied Hopefully this is clearer and there are fewer problems ...
by CrazyFrog
Friday 03 May 2019 11:25
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

i found out that sometimes the --- for comments cause some problem, replace the 3 minus signs "---" for 2 minus signs "--"
or remove all the comment lines
by CrazyFrog
Wednesday 01 May 2019 20:36
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

No matter what I do or how I name the script, there is no output. I checked all the rights and syntax. Funny thing is: no errors as wel. Is there anyone with a bright idea? :? is the name of dummy switch and the declaration in line 65 of the name of the switch completely the same? YEP Can you ...
by CrazyFrog
Saturday 27 April 2019 20:24
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

In my last post I mentioned I needed other key numbers, but that was partially incorrect because the domoticz log only showed me the last roughly 100 keys. I had to output them to a file to see them all. In this way I found that for my case, each of the keys is one higher than in CrazyFrogs script ...
by CrazyFrog
Saturday 27 April 2019 17:47
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

In my last post I mentioned I needed other key numbers, but that was partially incorrect because the domoticz log only showed me the last roughly 100 keys. I had to output them to a file to see them all. In this way I found that for my case, each of the keys is one higher than in CrazyFrogs script ...
by CrazyFrog
Saturday 27 April 2019 2:01
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

No matter what I do or how I name the script, there is no output. I checked all the rights and syntax. Funny thing is: no errors as wel. Is there anyone with a bright idea? :? Do you get data? can you save the code below to your Raspberry Pi in a file testscript.lua then execute this script with ...
by CrazyFrog
Saturday 27 April 2019 1:49
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

nice work! i did it a bit different then to copy script file to disk. In Domoticz website, i opened Setup - More options - Events added new script with + on top of screen, selected lua > time. and pasted script into there. replaced [LOGINNAME] and [PASSWORD] with relevant data and replaced [YOUR ...
by CrazyFrog
Tuesday 23 April 2019 9:16
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

Hi CrazyFrog, I'm new at this and would like to know how to implement this script on my RPi... Thanks in advance! Hello Biggav, At first you have to create a dummy sensor, you can do this in the hardware section Create a sensor from the type "Dummy (Does nothing, use for virtual switches only ...
by CrazyFrog
Monday 22 April 2019 20:52
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

you have create your own sensor. for hardware you have to create a virtual sensor from the type "Dummy (Does nothing, use for virtual switches only)". then click on "Create Virtual Sensors", name the sensor "solar panels" and choose "sensor type" - "Electric (instant + counter)"
by CrazyFrog
Monday 22 April 2019 10:31
Forum: LUA
Topic: GoodWe Solar: get data from the new semsportal (lua script)
Replies: 106
Views: 25931

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

Your token is:21ddbd72-acf0-42ba-8451-9c960d5c5b8d

I have this script running on my Rasberry Pi.
on what for device are you running this scrip.