Describe the bug
So, when i tried out the adapter I get an error, meaning that there is an undefined object and that it cant read its properties.
To Reproduce
Steps to reproduce the behavior:
Setting Options
Start Adapter
Expected behavior
In the debug output i encountered, that the last state it can read was "measurements.acpowerfast". The next state should be "measurements.dcvoltage1" and after a look at the original "all.xml" of my inverter, i noticed, that my inverter got only "measurements.dcvoltage" because it has only one single string.
Screenshots & Logfiles 2022-07-03 11:02:37.192 - debug: kostal-piko-mp-plus.0 (30999) found state measurements.acpowerfast - 607.42022-07-03 11:02:37.195 - debug: kostal-piko-mp-plus.0 (30999) try to convert 607.4 to number2022-07-03 11:02:37.210 - error: kostal-piko-mp-plus.0 (30999) set connection state to false2022-07-03 11:02:37.212 - error: kostal-piko-mp-plus.0 (30999) unexpected error: TypeError: Cannot read properties of undefined (reading 'value')
Versions:
Adapter version: v0.0.3
JS-Controller version: 4.0.23
Node version: v16.15.1
Operating system: debian/docker
Additional context
So for me it looked like, there is an compatibility issue and the adapter was made for another model of the inverter. I got a Kostal Piko MP Plus 1.5-0 with only on DC String.
Describe the bug
So, when i tried out the adapter I get an error, meaning that there is an undefined object and that it cant read its properties.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
In the debug output i encountered, that the last state it can read was "measurements.acpowerfast". The next state should be "measurements.dcvoltage1" and after a look at the original "all.xml" of my inverter, i noticed, that my inverter got only "measurements.dcvoltage" because it has only one single string.
Screenshots & Logfiles
2022-07-03 11:02:37.192 - debug: kostal-piko-mp-plus.0 (30999) found state measurements.acpowerfast - 607.4
2022-07-03 11:02:37.195 - debug: kostal-piko-mp-plus.0 (30999) try to convert 607.4 to number
2022-07-03 11:02:37.210 - error: kostal-piko-mp-plus.0 (30999) set connection state to false
2022-07-03 11:02:37.212 - error: kostal-piko-mp-plus.0 (30999) unexpected error: TypeError: Cannot read properties of undefined (reading 'value')
Versions:
Additional context
So for me it looked like, there is an compatibility issue and the adapter was made for another model of the inverter. I got a Kostal Piko MP Plus 1.5-0 with only on DC String.
I will work on that!