Search found 5 matches
- Sunday 10 December 2017 23:09
- Forum: LUA
- Topic: Lua script to extract data from json
- Replies: 8
- Views: 5305
Re: Lua script to extract data from json
Thanks that did the trick..
- Sunday 10 December 2017 23:04
- Forum: LUA
- Topic: Lua script to extract data from json
- Replies: 8
- Views: 5305
Re: Lua script to extract data from json
again your wright sorry, it's late....
it has to be " jsonData.lastReportWatts"



- Sunday 10 December 2017 22:48
- Forum: LUA
- Topic: Lua script to extract data from json
- Replies: 8
- Views: 5305
Re: Lua script to extract data from json
You are wright, I just shortened the file and forgot to remove a comma at the end.
Hereby a revised version.
Hereby a revised version.
- Sunday 10 December 2017 22:21
- Forum: LUA
- Topic: Lua script to extract data from json
- Replies: 8
- Views: 5305
Re: Lua script to extract data from json
Hi jvdz, my mistake wrong error code. The wright one is "[string "commandArray = {} ..."]:16: attempt to concatenate global 'Inverter' (a nil value)" I'm trying to get the "lastReportWatts" from every panel in separate meters. Normally it is something in the Line of: local Variable = json:decode(raw ...
- Sunday 10 December 2017 21:59
- Forum: LUA
- Topic: Lua script to extract data from json
- Replies: 8
- Views: 5305
Lua script to extract data from json
Hello everybody i'm looking around on the forum and the rest of the internet but i can't seem to find the right anwser. At home we have Enphase solar panels& gateway. I can get the production and consumption from the gateway and into virtual kwh meters. Now am i trying to parse the data i got from ...