Hi,
I’ve just configured the openHAB cloud connector (changed the mode). This appearently refreshed all of my rule files, which in turn triggers the startup rules to be executed. Actually this does not only trigger the startup rules, but discards running schedulers and also reinitialized all variables with their default value.
I think I’ve seen a similar behaviour when installing/deinstalling new bindings.
I don’t think this should happen. Is this an issue with my setup, is there maybe already an open ticket, or is this the expected behaviour?
Here is a part of the log:
2017-09-28 22:39:06.964 [DEBUG] [o.openhabcloud.internal.CloudService] - openHAB Cloud connector deactivated
2017-09-28 22:39:06.981 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2017-09-28 22:39:07.009 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO disconnected
2017-09-28 22:39:07.016 [DEBUG] [o.openhabcloud.internal.CloudService] - openHAB Cloud connector activated
2017-09-28 22:39:07.026 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service
2017-09-28 22:39:07.254 [DEBUG] [org.openhab.io.openhabcloud ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.events.EventSubscriber, org.eclipse.smarthome.model.script.engine.action.ActionService}={component.name=org.openhab.openhabcloud, expose=[myOpenHAB], baseURL=https://myopenhab.org/, service.config.category=io, service.config.description.uri=io:openhabcloud, mode=notification, service.pid=org.openhab.openhabcloud, service.config.label=openHAB Cloud, component.id=15, service.id=939, service.bundleid=194, service.scope=bundle} - org.openhab.io.openhabcloud
2017-09-28 22:39:07.619 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO connected
2017-09-28 22:39:07.642 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service
2017-09-28 22:39:09.225 [DEBUG] [el.core.internal.ModelRepositoryImpl] - Refreshing resource 'presence.rules'
2017-09-28 22:39:09.399 [DEBUG] [el.core.internal.ModelRepositoryImpl] - Refreshing resource 'voice.rules'
2017-09-28 22:39:09.602 [DEBUG] [el.core.internal.ModelRepositoryImpl] - Refreshing resource 'mail.rules'
2017-09-28 22:39:09.741 [DEBUG] [el.core.internal.ModelRepositoryImpl] - Refreshing resource 'alarms.rules'
2017-09-28 22:39:09.867 [DEBUG] [el.core.internal.ModelRepositoryImpl] - Refreshing resource 'lighting.rules'