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
#15
(14.06.2023, 07:02)admin Wrote: Try this for multiple inverters. The order of the returned data might not be constant. So you might have to check the serial number (sn field) invert_full_1 and invert_full_2 tables to distinguish to which inverter the data belongs to.
Code:
invert_full_1 = response.data.inverter[1].invert_full
log(invert_full_1)

invert_full_2 = response.data.inverter[2].invert_full
log(invert_full_2)

I works perfect! Thank you very much.

But, now, I have the error: attempt to concatenate field 'api' (a nil value) stack traceback. The line with causes the error is: 
Code:
url = response.api .. "/v2/PowerStation/GetMonitorDetailByPowerstationId"

A couple of days ago, I didn't have this error. I tried several thing, but I can't find what is causing the error. Can you help?
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: