ioBroker.sql icon indicating copy to clipboard operation
ioBroker.sql copied to clipboard

Error Message

Open huwi opened this issue 2 years ago • 3 comments

Hello! Thank you for your great work!

Some times i have the situation, i get the error message:

Counter must have type "number"!

Is it possible to display the datapoint name in this error message. I takes a long time to find out, which datapoint i have missconfigured.

Kind Regards, Hubert

huwi avatar Aug 11 '23 07:08 huwi

Please provide more details like the adapter verison and especially debug logs that show such an errror.

Apollon77 avatar Aug 11 '23 07:08 Apollon77

I have the same thing over a year and got no time to search the datapoint... This info would give me the chance to find the mismatch in the configuration of these datapoints. grafik got update of the iobroker just today to v6.12.0 and nodejs 18.17.1. Solution: "Counter must have type "number"! Error in DP xyz..." Then you have all to fix the problems easy :-)

DieWaldfee avatar Dec 16 '23 20:12 DieWaldfee

I had the same error-message (but start only with one first sql-protocol) It was a "beauty mistake". the database inserts where ok in the string field ts_string.

In the object data json you can find "counter": true Change it to false and it is clean.

duemchen avatar Feb 10 '24 21:02 duemchen