So I implemented very nearly as my initial post (#1)
var Number GreenFlag = 0
rule "Startup_Initializations"
when
System started
then
GreenFlag = 0
logInfo("Startup_Initializations", ">>>>> ENTERED RULE = Startup_Initializations *****************************************************************")
logInfo("Startup_Initializations", ">>>>> OpenHAB HS5150 IS SLEEPING 30 SECONDS TO ALLOW IT TO ORGANIZE ITSELF")
Thread::sleep(30000)
logInfo("Startup_Initializations", ">>>>> OpenHAB HS5150 IS NOW AWAKE **************************************************************************")
HS_Events_Log.postUpdate("OH is Re-starting")
BreakSilence = 0
HS5150_Msg_Counter_Now = 0
Start_Time = now.toInstant.toEpochMilli
StartUp_Trigger.postUpdate(0)
OHC_MsgStamp.postUpdate(-1)
Date.postUpdate(new DateTimeType())
Rule_TimeStamp4SI = Date.state.format("%tD") + " @ " + Date.state.format("%tr")
DemoLocation.postUpdate(new PointType("37.6925300,-121.7273800"))
logInfo("Startup_Initializations", ">>>>> RUNNING RULE = Startup_Initializations at " + Rule_TimeStamp4SI + " *************************************")
AND
rule "Lets_Do_Something"
when
Time cron ............
Item xxx changed
then
if (GreenFlag == 0) return;
// more code
end
and all was working beautifully UNTIL OH3 started logging non-repeatable errors after I was fiddling with other rules and restarting OH3, and even restarting the Windows PC.
rule "Startup_Initializations"
when
System started
then
GreenFlag = 0
Thread::sleep(30000) // this is line 355
logInfo("Startup_Initializations", ">>>>> OpenHAB HS5150 IS NOW AWAKE // this is line 356
14:25:28.182 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'HS5150-1' failed: The name 'logInfo' cannot be resolved to an item or type; line 356, column 3, length 146 in HS5150
Here’s the complete log file with line 356 failure at the end:
openhab> log:tail
14:22:28.618 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'HS5150.items'
14:22:31.825 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'mapdb.persist'
14:22:32.622 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'HS5150Lite.sitemap'
14:22:32.954 [INFO ] [del.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'HS5150Lite.sitemap', using it anyway:
Sitemap should contain either only frames or none at all
14:22:33.034 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'HS5150.sitemap'
14:22:33.730 [INFO ] [del.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'HS5150.sitemap', using it anyway:
Sitemap should contain either only frames or none at all
14:22:34.402 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'HS5150.things'
14:22:39.238 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'HS5150.rules'
14:23:34.396 [INFO ] [del.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'HS5150.rules', using it anyway:
The value of the local variable mailActions is not used
The value of the local variable mailActions is not used
The value of the local variable mailActions is not used
14:23:36.557 [INFO ] [b.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
14:23:43.853 [INFO ] [org.openhab.ui.internal.UIService ] - Started UI on port 8080
14:23:47.330 [WARN ] [org.openhab.core.io.net.exec.ExecUtil] - Failed to execute commandLine '[arping, --help]'
14:23:52.536 [WARN ] [org.openhab.core.io.net.exec.ExecUtil] - Failed to execute commandLine '[arping, --help]'
14:24:00.387 [INFO ] [.io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = c86a53f2-1c89-4f8f-996c-521ad3c68bce, base URL = http://localhost:8080)
14:24:06.358 [INFO ] [hab.ui.habpanel.internal.HABPanelTile] - Started HABPanel at /habpanel
14:24:30.916 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO01' changed from UNINITIALIZED to INITIALIZING
14:24:31.148 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'exec:command:ExecReStart' changed from UNINITIALIZED to INITIALIZING
14:24:31.332 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO01' changed from INITIALIZING to ONLINE
14:24:31.692 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO02' changed from UNINITIALIZED to INITIALIZING
14:24:31.956 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO02' changed from INITIALIZING to ONLINE
14:24:31.876 [INFO ] [nternal.dhcp.DHCPPacketListenerServer] - DHCP request packet listener online
14:24:32.028 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'exec:command:ExecReStart' changed from INITIALIZING to ONLINE
14:24:32.177 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO09' changed from UNINITIALIZED to INITIALIZING
14:24:32.249 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'exec:command:ExecShutdown' changed from UNINITIALIZED to INITIALIZING
14:24:32.257 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO09' changed from INITIALIZING to ONLINE
14:24:32.473 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO10' changed from UNINITIALIZED to INITIALIZING
14:24:32.665 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'exec:command:ExecShutdown' changed from INITIALIZING to ONLINE
14:24:32.873 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO10' changed from INITIALIZING to ONLINE
14:24:33.090 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO12' changed from UNINITIALIZED to INITIALIZING
14:24:33.330 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:topic:hsbroker:WatchManThing' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)
14:24:33.698 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP20' changed from UNINITIALIZED to INITIALIZING
14:24:33.810 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO12' changed from INITIALIZING to ONLINE
14:24:33.898 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mail:smtp:GmailHP5150' changed from UNINITIALIZED to INITIALIZING
14:24:34.229 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO13' changed from UNINITIALIZED to INITIALIZING
14:24:34.557 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP20' changed from INITIALIZING to ONLINE
14:24:34.701 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mail:smtp:GmailHP5150' changed from INITIALIZING to ONLINE
14:24:35.013 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO13' changed from INITIALIZING to ONLINE
14:24:35.493 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO14' changed from UNINITIALIZED to INITIALIZING
14:24:36.013 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:broker:hsbroker' changed from UNINITIALIZED to INITIALIZING
14:24:36.403 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO14' changed from INITIALIZING to ONLINE
14:24:36.571 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO15' changed from UNINITIALIZED to INITIALIZING
14:24:36.915 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:broker:hsbroker' changed from INITIALIZING to OFFLINE
14:24:37.155 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO15' changed from INITIALIZING to ONLINE
14:24:37.363 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP21' changed from UNINITIALIZED to INITIALIZING
14:24:37.555 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:topic:hsbroker:WatchManThing' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
14:24:37.243 [WARN ] [.core.thing.internal.ThingManagerImpl] - Initializing handler for thing 'mqtt:broker:hsbroker' takes more than 5000ms.
14:24:37.651 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP21' changed from INITIALIZING to ONLINE
14:24:37.675 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:topic:hsbroker:WatchManThing' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
14:24:37.755 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP22' changed from UNINITIALIZED to INITIALIZING
14:24:37.899 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP22' changed from INITIALIZING to ONLINE
14:24:38.005 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP23' changed from UNINITIALIZED to INITIALIZING
14:24:38.101 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP23' changed from INITIALIZING to ONLINE
14:24:38.181 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP24' changed from UNINITIALIZED to INITIALIZING
14:24:38.405 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP24' changed from INITIALIZING to ONLINE
14:24:38.477 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP25' changed from UNINITIALIZED to INITIALIZING
14:24:38.693 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP25' changed from INITIALIZING to ONLINE
14:24:38.813 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP26' changed from UNINITIALIZED to INITIALIZING
14:24:38.829 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP26' changed from INITIALIZING to ONLINE
14:24:38.845 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP27' changed from UNINITIALIZED to INITIALIZING
14:24:38.877 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP27' changed from INITIALIZING to ONLINE
14:24:38.933 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP28' changed from UNINITIALIZED to INITIALIZING
14:24:39.006 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP28' changed from INITIALIZING to ONLINE
14:24:39.029 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP29' changed from UNINITIALIZED to INITIALIZING
14:24:39.155 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP29' changed from INITIALIZING to ONLINE
14:24:39.196 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP30' changed from UNINITIALIZED to INITIALIZING
14:24:39.320 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP30' changed from INITIALIZING to ONLINE
14:24:39.483 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP31' changed from UNINITIALIZED to INITIALIZING
14:24:39.643 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP31' changed from INITIALIZING to ONLINE
14:24:39.795 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP32' changed from UNINITIALIZED to INITIALIZING
14:24:39.875 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP32' changed from INITIALIZING to ONLINE
14:24:40.043 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP33' changed from UNINITIALIZED to INITIALIZING
14:24:40.091 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP33' changed from INITIALIZING to ONLINE
14:24:40.131 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP34' changed from UNINITIALIZED to INITIALIZING
14:24:40.147 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP34' changed from INITIALIZING to ONLINE
14:24:40.171 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP35' changed from UNINITIALIZED to INITIALIZING
14:24:40.184 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP35' changed from INITIALIZING to ONLINE
14:24:40.196 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP51' changed from UNINITIALIZED to INITIALIZING
14:24:40.221 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP51' changed from INITIALIZING to ONLINE
14:24:40.245 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP62' changed from UNINITIALIZED to INITIALIZING
14:24:40.405 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP62' changed from INITIALIZING to ONLINE
14:24:40.301 [INFO ] [o.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to '10.0.0.9' with clientid ab893704-04ce-4dd6-9ec0-7e20216aa496
14:24:40.525 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP59' changed from UNINITIALIZED to INITIALIZING
14:24:40.669 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP59' changed from INITIALIZING to ONLINE
14:24:40.725 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP60' changed from UNINITIALIZED to INITIALIZING
14:24:40.885 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP60' changed from INITIALIZING to ONLINE
14:24:40.973 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP52' changed from UNINITIALIZED to INITIALIZING
14:24:40.981 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP52' changed from INITIALIZING to ONLINE
14:24:40.989 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP63' changed from UNINITIALIZED to INITIALIZING
14:24:40.997 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP63' changed from INITIALIZING to ONLINE
14:24:41.021 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP64' changed from UNINITIALIZED to INITIALIZING
14:24:41.045 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP64' changed from INITIALIZING to ONLINE
14:24:41.053 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP65' changed from UNINITIALIZED to INITIALIZING
14:24:41.069 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP65' changed from INITIALIZING to ONLINE
14:24:41.101 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP06' changed from UNINITIALIZED to INITIALIZING
14:24:41.125 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP06' changed from INITIALIZING to ONLINE
14:24:41.141 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP08' changed from UNINITIALIZED to INITIALIZING
14:24:41.149 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP08' changed from INITIALIZING to ONLINE
14:24:41.173 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP09' changed from UNINITIALIZED to INITIALIZING
14:24:41.181 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP09' changed from INITIALIZING to ONLINE
14:24:41.221 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP98' changed from UNINITIALIZED to INITIALIZING
14:24:41.237 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP98' changed from INITIALIZING to ONLINE
14:24:41.253 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP99' changed from UNINITIALIZED to INITIALIZING
14:24:41.277 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP99' changed from INITIALIZING to ONLINE
14:24:41.317 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:broker:hsbroker' changed from OFFLINE to ONLINE
14:24:41.365 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:topic:hsbroker:WatchManThing' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
14:24:56.843 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IP_Robert_2G' changed from ON to OFF
14:25:28.182 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'HS5150-1' failed: The name 'logInfo' cannot be resolved to an item or type; line 356, column 3, length 146 in HS5150
14:25:28.342 [INFO ] [re.automation.internal.RuleEngineImpl] - Rule engine started.
14:25:34.872 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IP_Peter_2G' changed from OFF to ON
I tried restarting again and got this somewhere later in the code somewhere after `OpenHAB HS5150 IS NOW AWAKE’:
14:36:47.021 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP09' changed from UNINITIALIZED to INITIALIZING
14:36:47.021 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP09' changed from INITIALIZING to ONLINE
14:36:47.037 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP98' changed from UNINITIALIZED to INITIALIZING
14:36:47.053 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP98' changed from INITIALIZING to ONLINE
14:36:47.053 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP99' changed from UNINITIALIZED to INITIALIZING
14:36:47.069 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP99' changed from INITIALIZING to ONLINE
14:36:47.320 [INFO ] [o.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to '10.0.0.9' with clientid 04f3f69d-8ebf-45b1-ae84-9689097e61d0
14:36:47.510 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:broker:hsbroker' changed from OFFLINE to ONLINE
14:36:47.742 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:topic:hsbroker:WatchManThing' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
14:37:38.871 [INFO ] [.model.script.Startup_Initializations] - >>>>> OpenHAB HS5150 IS NOW AWAKE **************************************************************************
14:37:38.903 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'HS_Events_Log' changed from >>>>> Published OHOB_String: MS114 to OH is Re-starting
14:37:38.967 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'HS5150-1' failed: An error occurred during the script execution: Cannot resolve proxy: HS5150.rules#/1 in HS5150
14:37:39.056 [INFO ] [re.automation.internal.RuleEngineImpl] - Rule engine started.
After rebooting the computer I get "GreenFlag cannot be resolved"
even though GreenFlag
is defined as a global Number variable var Number GreenFlag = 0
. It looks like the initialization rule is time-lagging the other rules:
openhab> log:tail
15:04:49.699 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'HS5150.items'
15:04:52.600 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'mapdb.persist'
15:04:53.384 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'HS5150Lite.sitemap'
15:04:53.676 [INFO ] [del.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'HS5150Lite.sitemap', using it anyway:
Sitemap should contain either only frames or none at all
15:04:53.852 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'HS5150.sitemap'
15:04:54.492 [INFO ] [del.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'HS5150.sitemap', using it anyway:
Sitemap should contain either only frames or none at all
15:04:55.116 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'HS5150.things'
15:04:59.235 [INFO ] [b.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
15:04:59.515 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'HS5150.rules'
15:05:50.816 [INFO ] [del.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'HS5150.rules', using it anyway:
The value of the local variable mailActions is not used
The value of the local variable mailActions is not used
The value of the local variable mailActions is not used
15:05:56.490 [INFO ] [org.openhab.ui.internal.UIService ] - Started UI on port 8080
15:06:05.651 [WARN ] [org.openhab.core.io.net.exec.ExecUtil] - Failed to execute commandLine '[arping, --help]'
15:06:13.359 [INFO ] [.io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = c86a53f2-1c89-4f8f-996c-521ad3c68bce, base URL = http://localhost:8080)
15:06:19.823 [INFO ] [hab.ui.habpanel.internal.HABPanelTile] - Started HABPanel at /habpanel
15:06:40.940 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'HS5150-1' failed: An error occurred during the script execution: Cannot resolve proxy: HS5150.rules#/1 in HS5150
15:06:41.060 [INFO ] [re.automation.internal.RuleEngineImpl] - Rule engine started.
15:06:41.327 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'exec:command:ExecReStart' changed from UNINITIALIZED to INITIALIZING
15:06:41.807 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'exec:command:ExecReStart' changed from INITIALIZING to ONLINE
15:06:41.623 [INFO ] [nternal.dhcp.DHCPPacketListenerServer] - DHCP request packet listener online
15:06:42.039 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'exec:command:ExecShutdown' changed from UNINITIALIZED to INITIALIZING
15:06:42.215 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'exec:command:ExecShutdown' changed from INITIALIZING to ONLINE
15:06:42.127 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'HS5150-24' failed: The name 'GreenFlag' cannot be resolved to an item or type; line 3656, column 10, length 9 in HS5150
15:06:42.367 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mail:smtp:GmailHP5150' changed from UNINITIALIZED to INITIALIZING
15:06:42.834 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:broker:hsbroker' changed from UNINITIALIZED to INITIALIZING
15:06:43.487 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mail:smtp:GmailHP5150' changed from INITIALIZING to ONLINE
15:06:43.871 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP20' changed from UNINITIALIZED to INITIALIZING
15:06:44.135 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP20' changed from INITIALIZING to ONLINE
15:06:44.383 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:broker:hsbroker' changed from INITIALIZING to OFFLINE
15:06:44.399 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP21' changed from UNINITIALIZED to INITIALIZING
15:06:44.719 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP21' changed from INITIALIZING to ONLINE
15:06:45.143 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP22' changed from UNINITIALIZED to INITIALIZING
15:06:45.300 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP22' changed from INITIALIZING to ONLINE
15:06:45.556 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP23' changed from UNINITIALIZED to INITIALIZING
15:06:45.740 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP23' changed from INITIALIZING to ONLINE
15:06:45.900 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP24' changed from UNINITIALIZED to INITIALIZING
15:06:45.932 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP24' changed from INITIALIZING to ONLINE
15:06:46.012 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP25' changed from UNINITIALIZED to INITIALIZING
15:06:46.060 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP25' changed from INITIALIZING to ONLINE
15:06:46.116 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP26' changed from UNINITIALIZED to INITIALIZING
15:06:46.200 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP26' changed from INITIALIZING to ONLINE
15:06:46.261 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP27' changed from UNINITIALIZED to INITIALIZING
15:06:46.293 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP27' changed from INITIALIZING to ONLINE
15:06:46.357 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP28' changed from INITIALIZING to ONLINE
15:06:46.421 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP28' changed from UNINITIALIZED to INITIALIZING
15:06:46.469 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP29' changed from UNINITIALIZED to INITIALIZING
15:06:46.557 [WARN ] [.core.thing.internal.ThingManagerImpl] - Initializing handler for thing 'mqtt:broker:hsbroker' takes more than 5000ms.
15:06:46.573 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP29' changed from INITIALIZING to ONLINE
15:06:46.650 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP30' changed from UNINITIALIZED to INITIALIZING
15:06:46.746 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP30' changed from INITIALIZING to ONLINE
15:06:46.802 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP31' changed from UNINITIALIZED to INITIALIZING
15:06:46.834 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP31' changed from INITIALIZING to ONLINE
15:06:46.970 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP32' changed from INITIALIZING to ONLINE
15:06:47.018 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP32' changed from UNINITIALIZED to INITIALIZING
15:06:47.106 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP33' changed from UNINITIALIZED to INITIALIZING
15:06:47.154 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP33' changed from INITIALIZING to ONLINE
15:06:47.215 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP34' changed from UNINITIALIZED to INITIALIZING
15:06:47.303 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP34' changed from INITIALIZING to ONLINE
15:06:47.359 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP35' changed from UNINITIALIZED to INITIALIZING
15:06:47.471 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP35' changed from INITIALIZING to ONLINE
15:06:47.551 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP51' changed from UNINITIALIZED to INITIALIZING
15:06:47.591 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP51' changed from INITIALIZING to ONLINE
15:06:47.703 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP62' changed from UNINITIALIZED to INITIALIZING
15:06:47.735 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP62' changed from INITIALIZING to ONLINE
15:06:47.807 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP59' changed from UNINITIALIZED to INITIALIZING
15:06:47.909 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP59' changed from INITIALIZING to ONLINE
15:06:48.077 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:topic:hsbroker:WatchManThing' changed from UNINITIALIZED to INITIALIZING
15:06:48.101 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP60' changed from UNINITIALIZED to INITIALIZING
15:06:48.301 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:topic:hsbroker:WatchManThing' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
15:06:48.477 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO01' changed from UNINITIALIZED to INITIALIZING
15:06:48.511 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO01' changed from INITIALIZING to ONLINE
15:06:48.623 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO02' changed from UNINITIALIZED to INITIALIZING
15:06:48.671 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO02' changed from INITIALIZING to ONLINE
15:06:48.831 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO09' changed from UNINITIALIZED to INITIALIZING
15:06:48.855 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO09' changed from INITIALIZING to ONLINE
15:06:49.086 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO10' changed from UNINITIALIZED to INITIALIZING
15:06:49.328 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:socket:WEMO10' changed from INITIALIZING to ONLINE
15:06:49.728 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO12' changed from UNINITIALIZED to INITIALIZING
15:06:50.016 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO12' changed from INITIALIZING to ONLINE
15:06:50.008 [INFO ] [o.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to '10.0.0.9' with clientid cd6dc66c-af70-4b51-9490-4bdaa43fbc1d
15:06:50.480 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO13' changed from UNINITIALIZED to INITIALIZING
15:06:51.370 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO13' changed from INITIALIZING to ONLINE
15:06:51.402 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO14' changed from INITIALIZING to ONLINE
15:06:51.498 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO14' changed from UNINITIALIZED to INITIALIZING
15:06:51.510 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO15' changed from UNINITIALIZED to INITIALIZING
15:06:51.558 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'wemo:lightswitch:WEMO15' changed from INITIALIZING to ONLINE
15:06:51.566 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP60' changed from INITIALIZING to ONLINE
15:06:51.606 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP52' changed from INITIALIZING to ONLINE
15:06:51.710 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP63' changed from INITIALIZING to ONLINE
15:06:51.718 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP52' changed from UNINITIALIZED to INITIALIZING
15:06:51.734 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP63' changed from UNINITIALIZED to INITIALIZING
15:06:51.750 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP64' changed from UNINITIALIZED to INITIALIZING
15:06:51.822 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP64' changed from INITIALIZING to ONLINE
15:06:51.843 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP65' changed from UNINITIALIZED to INITIALIZING
15:06:51.897 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP65' changed from INITIALIZING to ONLINE
15:06:52.052 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP06' changed from UNINITIALIZED to INITIALIZING
15:06:52.132 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP06' changed from INITIALIZING to ONLINE
15:06:52.188 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP08' changed from UNINITIALIZED to INITIALIZING
15:06:52.222 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP08' changed from INITIALIZING to ONLINE
15:06:52.222 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP09' changed from UNINITIALIZED to INITIALIZING
15:06:52.222 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP09' changed from INITIALIZING to ONLINE
15:06:52.253 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP98' changed from UNINITIALIZED to INITIALIZING
15:06:52.253 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP98' changed from INITIALIZING to ONLINE
15:06:52.317 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP99' changed from UNINITIALIZED to INITIALIZING
15:06:52.338 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'network:pingdevice:IP99' changed from INITIALIZING to ONLINE
15:06:52.418 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:broker:hsbroker' changed from OFFLINE to ONLINE
15:06:52.474 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mqtt:topic:hsbroker:WatchManThing' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
15:07:06.824 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IP_Robert_2G' changed from ON to OFF
15:07:08.326 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IP_Peter_2G' changed from ON to OFF
15:07:08.454 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IP_Janet_5G' changed from ON to OFF
15:07:17.536 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'HS5150-3' failed: The name 'GreenFlag' cannot be resolved to an item or type; line 923, column 10, length 9 in HS5150
15:07:17.560 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'HS5150-24' failed: The name 'GreenFlag' cannot be resolved to an item or type; line 3656, column 10, length 9 in HS5150
15:07:17.560 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'HS5150-7' failed: The name 'GreenFlag' cannot be resolved to an item or type; line 2515, column 10, length 9 in HS5150
15:07:18.048 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'HS5150-7' failed: The name 'GreenFlag' cannot be resolved to an item or type; line 2515, column 10, length 9 in HS5150
15:07:17.856 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'HS5150-24' failed: The name 'GreenFlag' cannot be resolved to an item or type; line 3656, column 10, length 9 in HS5150
15:07:18.200 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'HS5150-7' failed: The name 'GreenFlag' cannot be resolved to an item or type; line 2515, column 10, length 9 in HS5150
15:07:54.837 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IP_WatchMan' changed from ON to OFF
Do you have any ideas what in the world is happening or what I’m doing wrong?
Thanks