bluerai / ioBroker.mobile-alerts

Mobile Alerts for ioBroker - an adapter to download data from the Mobile Alerts server
MIT License
7 stars 5 forks source link

Exchange of a sensor, now the sensor is not logged any more #28

Closed NoPlayBack closed 11 months ago

NoPlayBack commented 1 year ago

I did have a broken sensor so i needed to buy a new one of same type. The mobile-alerts-is is now a different one. What i did:

After that step, no data is logged any more from that new sensor. Immediately after that step i did get warnings in IOBroker saying: sql.0 | 2023-02-15 14:13:24.269 | warn | getOneCachedData: got null states 1 times for Alias-ID

The data shown on the IOBroker-Objects page is correct !

bluerai commented 1 year ago

I don't really understand what logging you 're meaning. If the ioBroker objects are filled with the correct values, then the job of the mobile alerts adapter is completed.

NoPlayBack commented 1 year ago

In IOBroker page "Objects" one can select one of the datapoints (like temperature) and on the right side click on the settings (toothwheel). In that page one can activate the logging of the data into a db, for permanent storage. And yes, if you are saying that this has nothing to do any more with your module but it is a pure IOBroker feature, then i have to check for solution in that area...

bluerai commented 1 year ago

Ok, it's the "history adapter". I think at first you should try to restart the adapter or maybe you need to reinstall it?

NoPlayBack commented 1 year ago

That's it.... i did have this adapter installed: https://github.com/ioBroker/ioBroker.sql This one enables to store history data into sql-db. After restarting the instance of that adapter it did immediatly start to log the data.

So yes, not at all a topic for your adapter, it was the sql-adapter having a hickup because of the change of the sensors....