Closed NoPlayBack closed 11 months 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.
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...
Ok, it's the "history adapter". I think at first you should try to restart the adapter or maybe you need to reinstall it?
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....
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 !