DrozmotiX / ioBroker.vedirect

Read VE.direct data from Victron Solar Chargers
MIT License
8 stars 4 forks source link

State value to set for "vedirect.0.***" has to be type "number" but received type "string" #205

Closed Wildbill-Z closed 1 year ago

Wildbill-Z commented 3 years ago

After updating to ne stable JS-Controller 3.3.15 I get a lot of warnings in the log: `

vedirect.0 2021-08-05 19:06:36.206 info (8999) State value to set for "vedirect.0.H23" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:36.191 info (8999) State value to set for "vedirect.0.H21" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:36.174 info (8999) State value to set for "vedirect.0.LOAD" has to be type "boolean" but received type "string"
vedirect.0 2021-08-05 19:06:36.144 info (8999) State value to set for "vedirect.0.PPV" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:36.110 info (8999) State value to set for "vedirect.0.FW" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:35.216 info (8999) State value to set for "vedirect.0.HSDS" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:35.215 info (8999) State value to set for "vedirect.0.H23" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:35.199 info (8999) State value to set for "vedirect.0.H21" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:35.182 info (8999) State value to set for "vedirect.0.LOAD" has to be type "boolean" but received type "string"
vedirect.0 2021-08-05 19:06:35.172 info (8999) State value to set for "vedirect.0.PPV" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:35.138 info (8999) State value to set for "vedirect.0.FW" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:34.396 info (8999) State value to set for "vedirect.0.HSDS" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:34.388 info (8999) State value to set for "vedirect.0.H23" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:34.387 info (8999) State value to set for "vedirect.0.H21" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:34.387 info (8999) State value to set for "vedirect.0.LOAD" has to be type "boolean" but received type "string"
vedirect.0 2021-08-05 19:06:34.386 info (8999) State value to set for "vedirect.0.PPV" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:34.384 info (8999) State value to set for "vedirect.0.FW" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:33.247 info (8999) State value to set for "vedirect.0.HSDS" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:33.247 info (8999) State value to set for "vedirect.0.H23" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:33.230 info (8999) State value to set for "vedirect.0.H21" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:33.216 info (8999) State value to set for "vedirect.0.LOAD" has to be type "boolean" but received type "string"
vedirect.0 2021-08-05 19:06:33.188 info (8999) State value to set for "vedirect.0.PPV" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:33.151 info (8999) State value to set for "vedirect.0.FW" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:32.255 info (8999) State value to set for "vedirect.0.HSDS" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:32.244 info (8999) State value to set for "vedirect.0.H23" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:32.241 info (8999) State value to set for "vedirect.0.H21" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:32.211 info (8999) State value to set for "vedirect.0.LOAD" has to be type "boolean" but received type "string"
vedirect.0 2021-08-05 19:06:32.210 info (8999) State value to set for "vedirect.0.PPV" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:32.176 info (8999) State value to set for "vedirect.0.FW" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:31.317 info (8999) State value to set for "vedirect.0.HSDS" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:31.277 info (8999) State value to set for "vedirect.0.H23" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:31.274 info (8999) State value to set for "vedirect.0.H21" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:31.232 info (8999) State value to set for "vedirect.0.LOAD" has to be type "boolean" but received type "string"
vedirect.0 2021-08-05 19:06:31.215 info (8999) State value to set for "vedirect.0.PPV" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:31.183 info (8999) State value to set for "vedirect.0.FW" has to be type "number" but received type "string"
vedirect.0 2021-08-05 19:06:29.549 info (8999) starting. Version 0.1.2 in /opt/iobroker/node_modules/iobroker.vedirect, node: v12.22.4, js-controller: 3.3.15

`

Manually changing the type of the datapoints doesn't help as after adapter restart they get reset to the old type. Greetings, Jürgen

Achilles160716 commented 2 years ago

Hi Is there any chance to get this fixed?

BR Achilles

DutchmanNL commented 2 years ago

Hi Is there any chance to get this fixed?

BR Achilles

yep, working on it.

DutchmanNL commented 1 year ago

solved in 0.2.0