Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No objects created #50

Closed
mswiege opened this issue Sep 21, 2020 · 1 comment
Closed

No objects created #50

mswiege opened this issue Sep 21, 2020 · 1 comment

Comments

@mswiege
Copy link

mswiege commented Sep 21, 2020

At the main settings in the configuration, I see "Default units per impulse", "Default group factor" and "timezone". Those are set to their default (1, 1, empty). At the "groups" tab I have two groups (Energy and Gas).
The instance is properly starting with this debug log entries:

statistics.0 | 2020-09-21 20:07:52.638 | debug | (4105) [INFO] yearSave status = true next event: 1 Jan 2021 00:00:00
statistics.0 | 2020-09-21 20:07:52.636 | debug | (4105) [INFO] quarterSave status = true next event: 1 Oct 2020 00:00:00
statistics.0 | 2020-09-21 20:07:52.634 | debug | (4105) [INFO] monthSave status = true next event: 1 Oct 2020 00:00:00
statistics.0 | 2020-09-21 20:07:52.628 | debug | (4105) [INFO] weekSave status = true next event: 28 Sep 2020 00:00:00
statistics.0 | 2020-09-21 20:07:52.625 | debug | (4105) [INFO] daySave status = true next event: 22 Sep 2020 00:00:00
statistics.0 | 2020-09-21 20:07:52.621 | debug | (4105) [INFO] dayTriggerTimeCount status = true next event: 21 Sep 2020 23:59:58
statistics.0 | 2020-09-21 20:07:52.602 | debug | (4105) [INFO] hourSave status = true next event: 21 Sep 2020 21:00:00
statistics.0 | 2020-09-21 20:07:52.593 | debug | (4105) [INFO] fifteenMinSave status = true next event: 21 Sep 2020 20:15:00
statistics.0 | 2020-09-21 20:07:52.589 | debug | (4105) [INFO] avg5min status = true next event: 21 Sep 2020 20:10:00
statistics.0 | 2020-09-21 20:07:52.582 | info | (4105) [INFO] statistics observes 0 values after startup
statistics.0 | 2020-09-21 20:07:52.239 | info | (4105) starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.statistics, node: v12.17.0, js-controller: 3.1.6
statistics.0 | 2020-09-21 20:07:51.892 | debug | (4105) Plugin sentry Initialize Plugin (enabled=true)
statistics.0 | 2020-09-21 20:07:47.913 | debug | (4105) statesDB connected
statistics.0 | 2020-09-21 20:07:47.911 | debug | (4105) States connected to redis: 127.0.0.1:9000
statistics.0 | 2020-09-21 20:07:47.660 | debug | (4105) States create System PubSub Client
statistics.0 | 2020-09-21 20:07:47.634 | debug | (4105) States create User PubSub Client
statistics.0 | 2020-09-21 20:07:47.521 | debug | (4105) Redis States: Use Redis connection: 127.0.0.1:9000
statistics.0 | 2020-09-21 20:07:47.518 | debug | (4105) objectDB connected
statistics.0 | 2020-09-21 20:07:47.505 | debug | (4105) Objects connected to redis: 127.0.0.1:9001
statistics.0 | 2020-09-21 20:07:47.466 | debug | (4105) Objects client initialize lua scripts
statistics.0 | 2020-09-21 20:07:47.465 | debug | (4105) Objects create User PubSub Client
statistics.0 | 2020-09-21 20:07:47.463 | debug | (4105) Objects create System PubSub Client
statistics.0 | 2020-09-21 20:07:47.459 | debug | (4105) Objects client ready ... initialize now
statistics.0 | 2020-09-21 20:07:47.402 | debug | (4105) Redis Objects: Use Redis connection: 127.0.0.1:9001

In the object tree is no entry for "statistics.0". I was expecting there some entries where I can configure which datapoints I want to assign to the groups.
I restarted the instance, iobroker and even the raspberry but still no objects. I tested version 0.2.2 and 1.0.0 of the adapter but can't get any objects.

Is this a bug or don't I get how this is set up?

@mswiege
Copy link
Author

mswiege commented Sep 24, 2020

Ah. Now I understood it. I have to enable "statistics" at the settings of the objects I want to evaluate (like the storage of the values with Mysql adapter).

@mswiege mswiege closed this as completed Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant