ioBroker / ioBroker.sql

Store history data in SQL Database: MySQL, PostgreSQL or SQLite
MIT License
45 stars 24 forks source link

Error Message #320

Open huwi opened 1 year ago

huwi commented 1 year ago

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

Apollon77 commented 1 year ago

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

DieWaldfee commented 8 months ago

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 :-)

duemchen commented 7 months ago

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.