This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Goodwe
#20
For testing purposes you can write the results into a file before decoding it:
Code:
response = table.concat(response)
io.writefile('/www/log.json', response)

response = json.decode(response)
-- log(response)

Then open the log in your browser: http://LM_IP/log.json
You can use https://codebeautify.org/jsonviewer to view the JSON contents in a more readable form.
Reply


Messages In This Thread
Goodwe - by Danny - 06.10.2022, 13:34
RE: Goodwe - by admin - 07.10.2022, 06:36
RE: Goodwe - by Danny - 07.10.2022, 07:06
RE: Goodwe - by admin - 07.10.2022, 08:31
RE: Goodwe - by Danny - 07.10.2022, 10:33
RE: Goodwe - by admin - 07.10.2022, 10:44
RE: Goodwe - by admin - 10.10.2022, 10:07
RE: Goodwe - by Danny - 10.10.2022, 12:10
RE: Goodwe - by pioneersteffen - 07.01.2023, 19:35
RE: Goodwe - by pioneersteffen - 04.06.2023, 11:03
RE: Goodwe - by admin - 05.06.2023, 06:13
RE: Goodwe - by pioneersteffen - 10.06.2023, 07:53
RE: Goodwe - by Amelie - 13.06.2023, 18:28
RE: Goodwe - by admin - 14.06.2023, 07:02
RE: Goodwe - by Amelie - 17.06.2023, 13:48
RE: Goodwe - by admin - 19.06.2023, 08:04
RE: Goodwe - by Amelie - 19.06.2023, 19:29
RE: Goodwe - by admin - 20.06.2023, 07:10
RE: Goodwe - by Amelie - 23.06.2023, 11:20
RE: Goodwe - by admin - 26.06.2023, 08:59

Forum Jump: