burnacid / homey-com.burnacid.ztatz

Homey app for P1 Monitor ztatz (https://www.ztatz.nl/)
GNU General Public License v3.0
0 stars 4 forks source link

[QUE] only one device works in homey #39

Closed lukevredeveld closed 3 years ago

lukevredeveld commented 3 years ago

Hello,

I've installed the app and it seems to receive some data. The device 'P1 daily usage' works perfect. All the other devices don't work. I get the same error everywhere:

Device not available
Cannot read proberty '__' of undefined

Am I missing something here?

burnacid commented 3 years ago

Please supply the following details.

Homey version Ztatz app version

Can you also send a diagnostic report from within the app please

lukevredeveld commented 3 years ago

Please supply the following details.

Homey version Ztatz app version

Can you also send a diagnostic report from within the app please

I have Homey version 6.0.0 and ztatz app version 0.5.3. Diagnostic report code is 436d009d-948d-414d-aa01-b8ceda47fa74

burnacid commented 3 years ago
    A user has submitted a diagnostics report for com.burnacid.ztatz (v0.5.3).

You can reply to this e-mail to get in touch with the user. Note that the user will be able to see your e-mail address.
Note: this log has been manually submitted by a user.
Log ID: 436d009d-948d-414d-aa01-b8ceda47fa74

User Message:
As requested

---- stdout ----
[log] 2021-04-25 14:44:12 [ztatzP1Mon] ztatzP1Mon is running...
[log] 2021-04-25 14:44:13 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] onInit
[log] 2021-04-25 14:44:13 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] _initDevice
register flow triggers
[log] 2021-04-25 14:44:13 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] onInit
[log] 2021-04-25 14:44:13 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] _initDevice
register flow triggers
[log] 2021-04-25 14:44:13 [ManagerDrivers] [Driver:ztatz_p1_Daily_Usage] [Device:4758fe3f-284d-41a0-a23f-4bb0b914fd40] onInit
[log] 2021-04-25 14:44:13 [ManagerDrivers] [Driver:ztatz_p1_Daily_Usage] [Device:4758fe3f-284d-41a0-a23f-4bb0b914fd40] _initDevice
register flow triggers
[log] 2021-04-25 14:44:13 [ManagerDrivers] [Driver:ztatz_p1_FinancialDay] [Device:d87ca775-ae65-4594-ad34-58bfadda001c] onInit
[log] 2021-04-25 14:44:13 [ManagerDrivers] [Driver:ztatz_p1_FinancialDay] [Device:d87ca775-ae65-4594-ad34-58bfadda001c] _initDevice
[log] 2021-04-25 14:44:13 [ManagerDrivers] [Driver:ztatz_p1_FinancialMonth] [Device:aa2c94cd-56f2-4a2b-a21d-f917f1cd4ff7] onInit
[log] 2021-04-25 14:44:13 [ManagerDrivers] [Driver:ztatz_p1_FinancialMonth] [Device:aa2c94cd-56f2-4a2b-a21d-f917f1cd4ff7] _initDevice
[log] 2021-04-25 15:23:39 [ManagerDrivers] [Driver:ztatz_p1_Daily_Usage] [Device:4758fe3f-284d-41a0-a23f-4bb0b914fd40] Set WaterAPI to version 2

---- stderr ----
[err] 2021-04-26 19:21:48 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:21:48 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:21:58 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:21:58 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:22:08 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:22:08 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:22:18 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:22:18 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:22:28 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:22:28 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:22:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialMonth] [Device:aa2c94cd-56f2-4a2b-a21d-f917f1cd4ff7] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialMonth (/lib/Api.js:143:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialMonth/device.js:38:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:22:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialDay] [Device:d87ca775-ae65-4594-ad34-58bfadda001c] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialDay (/lib/Api.js:131:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialDay/device.js:38:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:22:38 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:22:38 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:22:48 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:22:48 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:22:59 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:22:59 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:23:09 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:23:09 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:23:19 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:23:19 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:23:29 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:23:29 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:23:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialDay] [Device:d87ca775-ae65-4594-ad34-58bfadda001c] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialDay (/lib/Api.js:131:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialDay/device.js:38:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:23:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialMonth] [Device:aa2c94cd-56f2-4a2b-a21d-f917f1cd4ff7] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialMonth (/lib/Api.js:143:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialMonth/device.js:38:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:23:39 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:23:39 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:23:49 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:23:49 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:23:59 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:23:59 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:24:09 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:24:09 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:24:19 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:24:19 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:24:29 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:24:29 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:24:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialDay] [Device:d87ca775-ae65-4594-ad34-58bfadda001c] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialDay (/lib/Api.js:131:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialDay/device.js:38:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:24:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialMonth] [Device:aa2c94cd-56f2-4a2b-a21d-f917f1cd4ff7] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialMonth (/lib/Api.js:143:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialMonth/device.js:38:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:24:39 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:24:39 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:24:49 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:24:49 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:24:59 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:24:59 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:25:09 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:25:09 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:25:19 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:25:19 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:25:29 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:25:29 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:25:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialDay] [Device:d87ca775-ae65-4594-ad34-58bfadda001c] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialDay (/lib/Api.js:131:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialDay/device.js:38:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:25:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialMonth] [Device:aa2c94cd-56f2-4a2b-a21d-f917f1cd4ff7] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialMonth (/lib/Api.js:143:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialMonth/device.js:38:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:25:39 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:25:39 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:25:49 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:25:49 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:25:59 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:25:59 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:26:09 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:26:09 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:26:19 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:26:19 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:26:29 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:26:29 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:26:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialDay] [Device:d87ca775-ae65-4594-ad34-58bfadda001c] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialDay (/lib/Api.js:131:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialDay/device.js:38:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:26:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialMonth] [Device:aa2c94cd-56f2-4a2b-a21d-f917f1cd4ff7] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialMonth (/lib/Api.js:143:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialMonth/device.js:38:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:26:39 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:26:39 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:26:49 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:26:49 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:26:59 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:26:59 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:27:09 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:27:09 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:27:19 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:27:19 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:27:29 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:27:29 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:27:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialDay] [Device:d87ca775-ae65-4594-ad34-58bfadda001c] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialDay (/lib/Api.js:131:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialDay/device.js:38:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:27:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialMonth] [Device:aa2c94cd-56f2-4a2b-a21d-f917f1cd4ff7] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialMonth (/lib/Api.js:143:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialMonth/device.js:38:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:27:39 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:27:39 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:27:49 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:27:49 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:27:59 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:27:59 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:28:09 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:28:09 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:28:19 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:28:19 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:28:29 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:28:29 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:28:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialDay] [Device:d87ca775-ae65-4594-ad34-58bfadda001c] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialDay (/lib/Api.js:131:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialDay/device.js:38:17)
HTML response 

Internal Server Error

[err] 2021-04-26 19:28:30 [ManagerDrivers] [Driver:ztatz_p1_FinancialMonth] [Device:aa2c94cd-56f2-4a2b-a21d-f917f1cd4ff7] TypeError: Cannot read property '__' of undefined
    at Api.httpResponse (/lib/Api.js:36:40)
    at /lib/Api.js:66:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Api.httpRequest (/lib/Api.js:64:16)
    at async Api.getFinancialMonth (/lib/Api.js:143:22)
    at async ztatzP1FinancialDayDevice._syncDevice (/drivers/ztatz_p1_FinancialMonth/device.js:38:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:28:39 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:28:39 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:28:49 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:28:49 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:28:59 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:28:59 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:29:09 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:29:09 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
[err] 2021-04-26 19:29:19 [ManagerDrivers] [Driver:ztatz_p1_Usage] [Device:e9064bf5-30c9-4862-ad8e-4d6291a92594] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Usage/device.js:44:17)
getJsonData SyntaxError: Unexpected end of JSON input
    at JSON.parse ()
    at Api.getJsonData (/lib/Api.js:72:25)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
[err] 2021-04-26 19:29:19 [ManagerDrivers] [Driver:ztatz_p1_Generation] [Device:e91981d3-6666-417a-a7a7-d26c4d1c4ab4] TypeError: Cannot read property '__' of undefined
    at Api.getJsonData (/lib/Api.js:75:40)
    at Api.getSmartmeter (/lib/Api.js:107:27)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ztatzP1SmartMeterDevice._syncDevice (/drivers/ztatz_p1_Generation/device.js:43:17)
burnacid commented 3 years ago

forgot what version of ZTATZ are you running?

lukevredeveld commented 3 years ago

forgot what version of ZTATZ are you running?

0.5.3

burnacid commented 3 years ago

Not the ZTATZ homey app but the ZTATZ software version. Please check http://yourZTATZurl/info.php

lukevredeveld commented 3 years ago

Not the ZTATZ homey app but the ZTATZ software version. Please check http://yourZTATZurl/info.php

` Tijd verstreken sinds de laatste herstart: 1 dag 04:26:40

Besturingssysteem versie: Linux-5.10.11-v7+-armv7l-with-debian-10.8

Python versie: 3.7.3

Versie: 1.2.0

Software patch: 0

Versie nummer: 20210303

CPU model: ARMv7 Processor rev 4 (v7l)

CPU hardware: BCM2835

CPU revision: a02082

Raspberry Pi model: Raspberry Pi 3 Model B Rev 1.2

`

burnacid commented 3 years ago

So looking at the diagnostic report I see 2 problems

1st the app gets an unexpected JSON output from the ZTATZ API. This could be because there is no data or something else. Can you please send me the output of the following API http://yourztatzurl/api/v1/smartmeter?limit=1

2nd there is an issue with the error reporting I need to fix in the app. This generates the error you see but it isn't the cause if the issue. I'll look into fixing this in a later version.

lukevredeveld commented 3 years ago

So looking at the diagnostic report I see 2 problems

1st the app gets an unexpected JSON output from the ZTATZ API. This could be because there is no data or something else. Can you please send me the output of the following API http://yourztatzurl/api/v1/smartmeter?limit=1

2nd there is an issue with the error reporting I need to fix in the app. This generates the error you see but it isn't the cause if the issue. I'll look into fixing this in a later version.

[["2021-04-26 22:06:12", 1619467572, 0, 4859.287, 3094.747, 2525.81, 6157.802, "D", 571, 0, 1678.0]]

burnacid commented 3 years ago

That looks fine. So please dubble check the devices you added connect to the correct URL When adding a device the app expects a URL without the /api/v1 behind it. For example http://192.168.1.100 or http://ztatzdnsname

Further in the diagnostic reports I can see internal server errors (500). So seems it might not be connecting to the right page.

If that doesn't result in anything I'll need to fix the error reporting and output more usefull debug data. That will take me a few days maybe weeks before I have the time to get that done.

lukevredeveld commented 3 years ago

I have found the problem!

I entered the first url by hand: http://192.168.1.125 After that, I used the copy / paste from my iphone to add the same adress to the other devices. But my phone added an extra "/" at the end of the URL, thus http://192.168.1.125/

After removing the last "/" everything works great! Thanks!

burnacid commented 3 years ago

I'll take that as an improvement to catch that thx.

groetsels commented 3 years ago

Bij het toevoegen van een P1mon device krijg ik de melding : ZTATZ Er zijn geen nieuwe apparaten gevonden. (toevoegen van "dagelijks verbruik") Het maakt niet uit of er een "/" achter de url staat of niet.

Ik heb deze 2 url's gebruikt om te controleren of er data terug komt. http://192.168.2.196/api/v1/smartmeter?limit=1 http://p1mon/api/v1/smartmeter?limit=1

[ [ "2021-04-29 09:45:37", 1619682337, 0, 7491.429, 8966.446, 0, 0, "P", 408, 0, 6404.645 ] ]

Kan ik je nog meer helpen met testen?

burnacid commented 3 years ago

Kan je eens kijken wat je krijgt bij deze nieuwe test versie. Deze heeft toegevoegde error reporting. Indien je nog geen resultaat krijgt graag een diagnostic report van de ZTATZ app versturen. Dan kan ik kijken wat ik zie

https://homey.app/a/com.burnacid.ztatz/test/

groetsels commented 3 years ago

De test versie werkt. image

groetsels commented 3 years ago

Ook het huidige verbruik doet het . image Thx.

burnacid commented 3 years ago

Fixed both issues