Error loading rule list

I would abandon all hope of using HABmin to manage rules, this functionality was never completed.

There are multiple rule languages available to use in openHAB.

The one you see most commonly in this forum at the moment is referred to as DSL Rules, based on editing files.
There are tools to ease editing.

The NGRE system used by PaperUI is completely different.
The PaperUI graphical rule editor is incomplete too; I think time based triggers is one of the missing parts.

The same NGRE engine is also used by other rule languages, Jython being the most popular now.

So how do I make rules using the DSL Rules is it a program? Do you know maybe any tutorials on yt or any place to start from to learn how to make them?

Hi @zakon,

I’m sure there are tutorials on YouTube (everything seems to be there), but I’d start here:

Once you review that you try outlining what you want to accomplish and search the forums. Searching for “Design Patterns” specific to your problem (in a general sense may also be helpful.) If you get stuck, by all means ask questions.

A rule is going to take the basic form:

rule “some name in quotes”
when one or more trigger events (no ands only ors)
then do something
end

Here’s an example from the link I posted.

rule "Wallplug_FF_LR_TV ON"   //  It doesn't matter what name you give your rule in quotes.  Just make it descriptive.
when
  Item Presence_Mobile_John changed from OFF to ON   // This means when the item named "Presence_Mobile_John" changes from the "OFF" state to the "ON" state
then
  Wallplug_FF_LR_TV.sendCommand(ON)    // This means that the item named "Wallplug_FF_LR_TV" will be sent the command "ON".
end

Regards,
Burzin

@zakon

I should have added that there is something within openHAB called the “Next Generation Rules Engine” (NGRE) this is presumably the successor to the Rules DSL Engine I posted about above. Although the NGRE is labeled “experimental”, it really isn’t. The NGRE allows you to script (JSR223) rules in Python, Javascript, or Groovy. However, most of the posts in the community are geared towards the Rules DSL Engine. Where there are posts on NGRE rules, you’ll probably find Python more strongly represented than the other two languages.

Unless you have a development background, Rules DSL is probably easier wrap your head around-- at least initially. I only say this because of the level of support in the Community and Forum. NGRE is probably the way of the future though and much powerful. In my opinion, it’s easier writing more complicated rules in the NGRE. Setup of NGRE (at this time) is a bit more complicated though.

Good luck.

Regards,
Burzin

I really do not understand what am I doing wrong.
I made items and I made a simple rule that to my understanding should work.
Am I missing any Bindings?
Here are my bindings items and rule:

Any idea why it isnt working anyone?

Yes, but I’m not going to retype your rule. Don’t use images… paste in the text. Read this…

Items that I am trying to use:

dimmer:
FibaroFGD212Dimmer2_Dimmer2

motion sensor:
NEOCoolcamMotionSensorWithTemperatureSensor_MotionAlarm

and this is the rule


//This is the rules file

rule "light on"
when
        Item NEOCoolcamMotionSensorWithTemperatureSensor_MotionAlarm changed from OFF to ON
then
        FibaroFGD212Dimmer2_DimmerSwitch1.sendCommand(ON)
        else FibaroFGD212Dimmer2_DimmerSwitch1.sendCommand(OFF)

end

You will find errors in both VS Code and your openhab.log. This…

… is nonsense. It looks like you are trying to turn the light on with motion and then turn it off when the motion stops. Like this…

rule "light on"
when
    Item NEOCoolcamMotionSensorWithTemperatureSensor_MotionAlarm changed
then
    if (newState == ON) {
        FibaroFGD212Dimmer2_DimmerSwitch1.sendCommand(ON)
    } else {
        FibaroFGD212Dimmer2_DimmerSwitch1.sendCommand(OFF)
    }
end

I spell it it out for illustration only. This can be simply written…

rule "light on"
when
    Item NEOCoolcamMotionSensorWithTemperatureSensor_MotionAlarm changed
then
    FibaroFGD212Dimmer2_DimmerSwitch1.sendCommand(newState.toString)
end

Even simpler, don’t use a rule but a follow profile…

Thank you for the answer. I tried both of your example rules but non of them worked for me nothing was happening. I also tried adding new motion sensor however it did not work either. Finally I also read the documentation on Follow Profiles and that did not work for me either, I tried placing it in transformation directory and items directory.

Switch zwave:device:3de88f51:node11:switch_dimmer1 {channel="zwave_device_3de88f51_node14_alarm_motion",channel="zwave:device:3de88f51:node11:switch_dimmer1" [profile="follow"]}

If you have any more ideas then I would highly appriciate any more help.

If you tell us more, there might be more help.
What does openhab.log have to say about your rules file?
If the file is not loaded, the rules will not work.
Does your triggering Item actually change state?
Look in your events.log for that.

Nope, there is nothing to say it goes there.
Follow profile is to do with the channels linked with your Item
If you are defining Items in xxx.items files, that is where is add the follow profile.
Did your edited items file load?
Again, openhab.log will have something to say about that.

These are the logs. It seems that maybe the motion sensor doesnt work because when I activate it it blinks red but noting in log channges. However the temperature that it detects works only motion and battery state does not.

2020-06-14 00:29:47.680 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE: Node initialising: PING to ONLINE: Node initialising: REQUEST_NIF

2020-06-14 00:29:47.709 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE: Node initialising: PING to ONLINE: Node initialising: REQUEST_NIF

2020-06-14 00:29:52.417 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node10_switch_binary changed from NULL to OFF

2020-06-14 00:29:52.494 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node10_meter_watts changed from NULL to 0

2020-06-14 00:29:52.630 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node10_meter_kwh changed from NULL to 0

2020-06-14 00:29:52.704 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node11_meter_kwh changed from NULL to 0.01

2020-06-14 00:29:52.772 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE: Node initialising: REQUEST_NIF to ONLINE

2020-06-14 00:30:05.187 [vent.ItemStateChangedEvent] - Fibaro_Dimmer1 changed from NULL to OFF

2020-06-14 00:30:05.217 [vent.ItemStateChangedEvent] - NEOCoolcamMotionSensorWithTemperatureSensor_MotionAlarm changed from NULL to OFF

2020-06-14 00:30:05.231 [vent.ItemStateChangedEvent] - FibaroFGD212Dimmer2_Dimmer2 changed from NULL to 0

2020-06-14 00:30:17.888 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE: Node initialising: REQUEST_NIF to ONLINE

2020-06-14 02:30:23.300 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:3de88f51:node10' has been updated.

2020-06-14 02:30:24.073 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:3de88f51:node11' has been updated.

2020-06-14 02:33:29.462 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node10_meter_watts changed from NULL to 0

2020-06-14 02:36:28.588 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node11_meter_kwh changed from NULL to 0.01

2020-06-14 02:56:58.783 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node10_switch_binary changed from NULL to OFF

2020-06-14 02:56:58.983 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node10_meter_kwh changed from NULL to 0

2020-06-16 14:40:20.318 [thome.event.RuleAddedEvent] - Rule '9b6f5e49-f0a8-4318-bbfa-76bdd2c58017' has been added.

2020-06-16 14:40:20.330 [.event.RuleStatusInfoEvent] - 9b6f5e49-f0a8-4318-bbfa-76bdd2c58017 updated: UNINITIALIZED

2020-06-16 14:40:21.004 [.event.RuleStatusInfoEvent] - 9b6f5e49-f0a8-4318-bbfa-76bdd2c58017 updated: INITIALIZING

2020-06-16 14:40:21.079 [.event.RuleStatusInfoEvent] - 9b6f5e49-f0a8-4318-bbfa-76bdd2c58017 updated: IDLE

2020-06-16 14:40:36.489 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2020-06-16 14:40:36.497 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2020-06-16 14:40:36.504 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2020-06-16 14:40:37.168 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from UNINITIALIZED to INITIALIZING

2020-06-16 14:40:37.231 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-16 14:40:37.635 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2020-06-16 14:40:37.665 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2020-06-16 14:40:37.707 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-16 14:40:37.716 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-16 14:40:37.728 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2020-06-16 14:40:37.758 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-16 14:40:57.062 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-16 14:40:57.104 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-16 14:40:57.113 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-16 14:40:57.119 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-16 14:40:57.179 [me.event.ThingUpdatedEvent] - Thing 'zwave:serial_zstick:3de88f51' has been updated.

2020-06-16 14:41:01.284 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE to ONLINE: Node initialising: PING

2020-06-16 14:41:01.290 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE to ONLINE: Node initialising: PING

2020-06-16 14:41:29.175 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node10_meter_watts changed from NULL to 0

2020-06-16 14:41:53.809 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node11_meter_kwh changed from NULL to 0.01

2020-06-16 14:42:15.852 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE: Node initialising: PING to ONLINE: Node initialising: REQUEST_NIF

2020-06-16 14:42:15.884 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE: Node initialising: PING to ONLINE: Node initialising: REQUEST_NIF

2020-06-16 14:42:32.657 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node10_switch_binary changed from NULL to OFF

2020-06-16 14:42:32.921 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node10_meter_kwh changed from NULL to 0

2020-06-16 14:42:33.130 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE: Node initialising: REQUEST_NIF to ONLINE

2020-06-16 14:42:49.851 [vent.ItemStateChangedEvent] - Fibaro_Dimmer1 changed from NULL to OFF

2020-06-16 14:42:49.863 [vent.ItemStateChangedEvent] - NEOCoolcamMotionSensorWithTemperatureSensor_MotionAlarm changed from NULL to OFF

2020-06-16 14:42:49.866 [vent.ItemStateChangedEvent] - FibaroFGD212Dimmer2_Dimmer2 changed from NULL to 0

2020-06-16 14:42:58.319 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE: Node initialising: REQUEST_NIF to ONLINE

2020-06-16 15:13:16.980 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from ONLINE to UNINITIALIZED

2020-06-16 15:13:17.077 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2020-06-16 15:13:17.081 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE to UNINITIALIZED

2020-06-16 15:13:17.432 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2020-06-16 15:13:17.439 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE to UNINITIALIZED

2020-06-16 15:13:17.634 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2020-06-16 15:13:17.642 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from ONLINE to UNINITIALIZED

2020-06-16 15:13:17.716 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2020-06-16 15:13:21.916 [thome.event.ExtensionEvent] - Extension 'binding-astro' has been installed.

2020-06-16 15:13:21.971 [home.event.InboxAddedEvent] - Discovery Result with UID 'astro:sun:local' has been added.

2020-06-16 15:13:22.012 [home.event.InboxAddedEvent] - Discovery Result with UID 'astro:moon:local' has been added.

2020-06-16 15:13:33.429 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2020-06-16 15:13:33.434 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2020-06-16 15:13:33.436 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2020-06-16 15:13:33.677 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING

2020-06-16 15:13:33.709 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-16 15:13:33.977 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2020-06-16 15:13:34.000 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2020-06-16 15:13:34.037 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-16 15:13:34.040 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2020-06-16 15:13:34.047 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-16 15:13:34.066 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-16 15:13:48.979 [me.event.InboxRemovedEvent] - Discovery Result with UID 'astro:sun:local' has been removed.

2020-06-16 15:13:49.241 [hingStatusInfoChangedEvent] - 'astro:sun:local' changed from UNINITIALIZED to INITIALIZING

2020-06-16 15:13:49.351 [hingStatusInfoChangedEvent] - 'astro:sun:local' changed from INITIALIZING to ONLINE

2020-06-16 15:13:52.464 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-16 15:13:52.468 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-16 15:13:52.472 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-16 15:13:52.476 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-16 15:13:52.521 [me.event.ThingUpdatedEvent] - Thing 'zwave:serial_zstick:3de88f51' has been updated.

2020-06-16 15:13:54.974 [me.event.InboxRemovedEvent] - Discovery Result with UID 'astro:moon:local' has been removed.

2020-06-16 15:13:55.074 [hingStatusInfoChangedEvent] - 'astro:moon:local' changed from UNINITIALIZED to INITIALIZING

2020-06-16 15:13:55.117 [hingStatusInfoChangedEvent] - 'astro:moon:local' changed from INITIALIZING to ONLINE

2020-06-16 15:13:55.746 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE to ONLINE: Node initialising: PING

2020-06-16 15:13:55.760 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE to ONLINE: Node initialising: PING

2020-06-16 15:13:55.802 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE: Node initialising: PING to ONLINE: Node initialising: REQUEST_NIF

2020-06-16 15:13:55.839 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE: Node initialising: PING to ONLINE: Node initialising: REQUEST_NIF

2020-06-16 15:13:56.484 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE: Node initialising: REQUEST_NIF to ONLINE

2020-06-16 15:14:25.734 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE: Node initialising: REQUEST_NIF to ONLINE

2020-06-16 15:17:03.309 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node12_sensor_temperature changed from NULL to 22.2 °C

2020-06-16 15:17:03.312 [vent.ItemStateChangedEvent] - NEO_Coolcam_MS_TS2 changed from NULL to 22.2

2020-06-16 15:31:20.490 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE to UNINITIALIZED

2020-06-16 15:31:20.675 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2020-06-16 15:31:20.677 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE to UNINITIALIZED

2020-06-16 15:31:20.843 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2020-06-16 15:31:20.847 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from ONLINE to UNINITIALIZED

2020-06-16 15:31:20.933 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node12' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2020-06-16 15:31:20.938 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from ONLINE to UNINITIALIZED

2020-06-16 15:31:21.304 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2020-06-16 15:31:21.670 [hingStatusInfoChangedEvent] - 'astro:moon:local' changed from ONLINE to UNINITIALIZED

2020-06-16 15:31:21.712 [hingStatusInfoChangedEvent] - 'astro:moon:local' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2020-06-16 15:31:21.716 [hingStatusInfoChangedEvent] - 'astro:sun:local' changed from ONLINE to UNINITIALIZED

2020-06-16 15:31:21.754 [hingStatusInfoChangedEvent] - 'astro:sun:local' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2020-06-16 15:31:22.023 [ome.event.RuleRemovedEvent] - Rule '9b6f5e49-f0a8-4318-bbfa-76bdd2c58017' has been removed.

2020-06-16 15:31:22.316 [temChannelLinkRemovedEvent] - Link 'Fibaro_Dimmer1 => zwave:device:3de88f51:node11:switch_dimmer1' has been removed.

2020-06-16 15:31:22.320 [temChannelLinkRemovedEvent] - Link 'FibaroFGD212Dimmer2_Dimmer2 => zwave:device:3de88f51:node11:switch_dimmer1' has been removed.

2020-06-16 15:31:22.325 [temChannelLinkRemovedEvent] - Link 'NEO_Coolcam_MS_TS2 => zwave:device:3de88f51:node12:sensor_temperature' has been removed.

2020-06-16 15:31:22.329 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamMotionSensorWithTemperatureSensor_MotionAlarm => zwave:device:3de88f51:node12:alarm_motion' has been removed.

2020-06-16 15:31:23.157 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamSensor1_LuminanceSensor => zwave:device:3de88f51:node4:battery-level' has been removed.

2020-06-16 15:31:23.160 [temChannelLinkRemovedEvent] - Link 'zwave_device_3de88f51_node11_config_decimal_param19 => zwave:device:3de88f51:node11:config_decimal_param19' has been removed.

2020-06-16 15:31:23.163 [temChannelLinkRemovedEvent] - Link 'zwave_device_3de88f51_node12_sensor_luminance => zwave:device:3de88f51:node12:sensor_luminance' has been removed.

2020-06-16 15:31:23.169 [temChannelLinkRemovedEvent] - Link 'NEO_Coolcam_MS_TS => zwave:device:3de88f51:node12:alarm_motion' has been removed.

2020-06-16 15:31:23.173 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamMotionSensorWithTemperatureSensor_MotionAlarm => zwave:device:3de88f51:node7:alarm_motion' has been removed.

2020-06-16 15:31:23.178 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamSensor1_LuminanceSensor => zwave:device:3de88f51:node8:config_decimal_param19' has been removed.

2020-06-16 15:31:23.262 [temChannelLinkRemovedEvent] - Link 'zwave_device_3de88f51_node10_meter_watts => zwave:device:3de88f51:node10:meter_watts' has been removed.

2020-06-16 15:31:23.265 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamMotionSensorWithTemperatureSensor_LuminanceSensor => zwave:device:3de88f51:node7:sensor_temperature' has been removed.

2020-06-16 15:31:23.268 [temChannelLinkRemovedEvent] - Link 'zwave_device_3de88f51_node10_meter_kwh => zwave:device:3de88f51:node10:meter_kwh' has been removed.

2020-06-16 15:31:23.271 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamSensor1_LuminanceSensor => zwave:device:3de88f51:node6:config_decimal_param19' has been removed.

2020-06-16 15:31:23.274 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamMotionSensorWithTemperatureSensor_LuminanceSensor => zwave:device:3de88f51:node7:battery-level' has been removed.

2020-06-16 15:31:23.276 [temChannelLinkRemovedEvent] - Link 'FibaroDimmer2_DimmerSwitch1 => zwave:device:3de88f51:node6:switch_dimmer1' has been removed.

2020-06-16 15:31:23.279 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamSensor1_LuminanceSensor => zwave:device:3de88f51:node6:meter_kwh' has been removed.

2020-06-16 15:31:23.283 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamMotionSensorAndTemperatureSensor_BatteryLevel => zwave:device:3de88f51:node12:battery-level' has been removed.

2020-06-16 15:31:23.287 [temChannelLinkRemovedEvent] - Link 'zwave_device_3de88f51_node12_sensor_temperature => zwave:device:3de88f51:node12:sensor_temperature' has been removed.

2020-06-16 15:31:23.290 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamSensor1_LuminanceSensor => zwave:device:3de88f51:node4:sensor_luminance' has been removed.

2020-06-16 15:31:23.292 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamSensor1_LuminanceSensor => zwave:device:3de88f51:node8:meter_kwh' has been removed.

2020-06-16 15:31:23.295 [temChannelLinkRemovedEvent] - Link 'FibaroFGD212Dimmer2Nd_ElectricMeterKWhDeprecated => zwave:device:3de88f51:node8:meter_kwh' has been removed.

2020-06-16 15:31:23.298 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamSensor1_LuminanceSensor => zwave:device:3de88f51:node6:meter_watts' has been removed.

2020-06-16 15:31:23.302 [temChannelLinkRemovedEvent] - Link 'zwave_device_3de88f51_node11_meter_kwh => zwave:device:3de88f51:node11:meter_kwh' has been removed.

2020-06-16 15:31:23.305 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamSensor1_LuminanceSensor => zwave:device:3de88f51:node4:sensor_temperature' has been removed.

2020-06-16 15:31:23.308 [temChannelLinkRemovedEvent] - Link 'NEOCoolcamMotionSensorWithTemperatureSensor_MotionAlarm => zwave:device:3de88f51:node11:switch_dimmer1' has been removed.

2020-06-16 15:31:23.312 [temChannelLinkRemovedEvent] - Link 'zwave_device_3de88f51_node10_switch_binary => zwave:device:3de88f51:node10:switch_binary' has been removed.

2020-06-16 15:31:23.314 [temChannelLinkRemovedEvent] - Link 'zwave_device_3de88f51_node10_switch_binary1 => zwave:device:3de88f51:node10:switch_binary1' has been removed.

2020-06-16 15:31:23.318 [temChannelLinkRemovedEvent] - Link 'FibaroFGD212Dimmer2_DimmerSwitch1 => zwave:device:3de88f51:node6:switch_dimmer1' has been removed.

2020-06-16 15:31:23.321 [temChannelLinkRemovedEvent] - Link 'FibaroFGD212Dimmer2_DimmerSwitch1 => zwave:device:3de88f51:node8:switch_dimmer1' has been removed.

2020-06-17 17:33:40.948 [hingStatusInfoChangedEvent] - 'astro:sun:local' changed from UNINITIALIZED to INITIALIZING

2020-06-17 17:33:41.051 [hingStatusInfoChangedEvent] - 'astro:sun:local' changed from INITIALIZING to ONLINE

2020-06-17 17:33:41.524 [hingStatusInfoChangedEvent] - 'astro:moon:local' changed from UNINITIALIZED to INITIALIZING

2020-06-17 17:33:41.562 [hingStatusInfoChangedEvent] - 'astro:moon:local' changed from INITIALIZING to ONLINE

2020-06-17 17:33:47.992 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2020-06-17 17:33:47.995 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2020-06-17 17:33:48.001 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node14' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2020-06-17 17:33:48.004 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node13' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)

2020-06-17 17:33:48.443 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from UNINITIALIZED to INITIALIZING

2020-06-17 17:33:48.477 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-17 17:33:48.661 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node13' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2020-06-17 17:33:48.667 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node14' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2020-06-17 17:33:48.700 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node13' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-17 17:33:48.719 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node14' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-17 17:33:49.088 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2020-06-17 17:33:49.105 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING

2020-06-17 17:33:49.122 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-17 17:33:49.141 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline

2020-06-17 17:34:08.679 [hingStatusInfoChangedEvent] - 'zwave:serial_zstick:3de88f51' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-17 17:34:08.688 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node14' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-17 17:34:08.698 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-17 17:34:08.706 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-17 17:34:08.716 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node13' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to ONLINE

2020-06-17 17:34:08.771 [me.event.ThingUpdatedEvent] - Thing 'zwave:serial_zstick:3de88f51' has been updated.

2020-06-17 17:34:08.847 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:3de88f51:node13' has been updated.

2020-06-17 17:34:08.849 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:3de88f51:node14' has been updated.

2020-06-17 17:34:10.417 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE to ONLINE: Node initialising: PING

2020-06-17 17:34:10.448 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE to ONLINE: Node initialising: PING

2020-06-17 17:34:10.485 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE: Node initialising: PING to ONLINE: Node initialising: REQUEST_NIF

2020-06-17 17:34:23.103 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node10_switch_binary changed from NULL to OFF

2020-06-17 17:34:23.106 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE: Node initialising: PING to ONLINE: Node initialising: REQUEST_NIF

2020-06-17 17:34:23.182 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node10_meter_watts changed from NULL to 0

2020-06-17 17:34:23.463 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node10' changed from ONLINE: Node initialising: REQUEST_NIF to ONLINE

2020-06-17 17:34:40.090 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node11_meter_kwh changed from NULL to 0.02

2020-06-17 17:34:48.479 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from NULL to 0

2020-06-17 17:35:05.385 [hingStatusInfoChangedEvent] - 'zwave:device:3de88f51:node11' changed from ONLINE: Node initialising: REQUEST_NIF to ONLINE

2020-06-17 17:35:44.679 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command ON

2020-06-17 17:35:44.739 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become ON

2020-06-17 17:35:44.758 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 0 to 100

2020-06-17 17:35:46.747 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 100 to 75

2020-06-17 17:35:46.800 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node11_config_decimal_param19 changed from NULL to 0

2020-06-17 17:35:49.498 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command 100

2020-06-17 17:35:49.525 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become 100

2020-06-17 17:35:49.544 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 75 to 100

2020-06-17 17:35:51.692 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command 0

2020-06-17 17:35:51.714 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become 0

2020-06-17 17:35:51.732 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 100 to 0

2020-06-17 17:39:17.051 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command 100

2020-06-17 17:39:17.076 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become 100

2020-06-17 17:39:17.098 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 0 to 100

2020-06-17 17:39:18.360 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command 0

2020-06-17 17:39:18.383 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become 0

2020-06-17 17:39:18.400 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 100 to 0

==> /var/log/openhab2/openhab.log <==

2020-06-17 17:39:51.718 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel

2020-06-17 17:39:52.077 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel

==> /var/log/openhab2/events.log <==

2020-06-17 17:45:46.566 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:3de88f51:node14' has been updated.

2020-06-17 17:45:46.592 [vent.ConfigStatusInfoEvent] - ConfigStatusInfo [configStatusMessages=[ConfigStatusMessage [parameterName=wakeup_node, type=PENDING, messageKey=null, arguments=null, message=null, statusCode=null], ConfigStatusMessage [parameterName=wakeup_interval, type=PENDING, messageKey=null, arguments=null, message=null, statusCode=null]]]

2020-06-17 17:48:01.522 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:3de88f51:node14' has been updated.

2020-06-17 17:48:01.531 [vent.ConfigStatusInfoEvent] - ConfigStatusInfo [configStatusMessages=[ConfigStatusMessage [parameterName=wakeup_node, type=PENDING, messageKey=null, arguments=null, message=null, statusCode=null], ConfigStatusMessage [parameterName=wakeup_interval, type=PENDING, messageKey=null, arguments=null, message=null, statusCode=null]]]

2020-06-17 17:48:46.826 [me.event.ThingUpdatedEvent] - Thing 'zwave:device:3de88f51:node14' has been updated.

2020-06-17 17:48:46.829 [vent.ConfigStatusInfoEvent] - ConfigStatusInfo [configStatusMessages=[ConfigStatusMessage [parameterName=wakeup_node, type=PENDING, messageKey=null, arguments=null, message=null, statusCode=null], ConfigStatusMessage [parameterName=wakeup_interval, type=PENDING, messageKey=null, arguments=null, message=null, statusCode=null]]]

2020-06-17 17:49:25.295 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node13_sensor_temperature changed from NULL to 23.1 °C

If you use the DSL rules, always have a window with the running log open. When you save the rule, always watch what happens in the log. If the rules file has an error, OpenHAB will not load the rule (and your new rule will not run) and in the log you will see an error message which tells you (roughly) where the error is in the file. If the rule contains no syntax errors, you will see a messaged that the ‘such and such rule was refreshed’
Do this every time you edit a rule. I’ve been writing rules for over a year and still make little mistakes and this is how you catch them

Oh I did as you suggested and this came up

2020-06-17 18:21:27.376 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.rules'

2020-06-17 18:21:27.391 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'home.rules' is either empty or cannot be parsed correctly!

any idea what might be the problem? The file is not empty it has this rule inside

Fibaro_Dimmer1rule "light on test"
when
    Item zwave_device_3de88f51_node14_alarm_motion changed
then
    if (newState == ON) {
         FibaroDimmer1_DimmerSwitch1.sendCommand(ON)
    } else {
         FibaroDimmer1_DimmerSwitch1.sendCommand(OFF)
end

Hi @zakon,

You are missing Rule and quotes around the name of the rule at a minimum.

Rules must start with the keyword “rule” and then the name of the rule in quotes

rule "Fibaro_Dimmer1rule light on test"
when
    Item zwave_device_3de88f51_node14_alarm_motion changed
then
    if (newState == ON) {
         FibaroDimmer1_DimmerSwitch1.sendCommand(ON)
    } else {
         FibaroDimmer1_DimmerSwitch1.sendCommand(OFF)
end

There is a closing bracket here… I updated my post. As pointed out, you will also need the rule keyword at the beginning, but in lower case.

What were you doing while generating these logs? It looks like the zwave binding is restarting, which is a symptom of a larger issue. The device may need to wake up a few times to complete initialization, or the associations may not be setup.

If your device is not reporting motion, you could create a test Item, add it to a sitemap, add it to the rule, and then test the rule with that Item.

I rebooted the RPI and these were the logs but I created a new demo switch item for the motion controller, I added it into a sitemap and in the rule I replace the old motion sensor with the demo one and then I tried switching it on and off on the sitemap and it was switching the light on and off.

These are the new logs

2020-06-17 19:55:08.974 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'iPhone.sitemap'

2020-06-17 19:55:09.039 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.sitemap.Slider

2020-06-17 19:55:09.042 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'FibaroFGD212Dimmer2_DimmerSwitch1' for widget org.eclipse.smarthome.model.sitemap.sitemap.Slider

2020-06-17 19:55:09.045 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'FibaroFGD212Dimmer2_DimmerSwitch1' for widget org.eclipse.smarthome.model.sitemap.sitemap.Slider

2020-06-17 19:55:09.047 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'FibaroFGD212Dimmer2_DimmerSwitch1' for widget org.eclipse.smarthome.model.sitemap.sitemap.Slider

2020-06-17 19:55:09.050 [WARN ] [basic.internal.render.SwitchRenderer] - Cannot determine item type of 'NEO_Coolcam_MS_TS'

org.eclipse.smarthome.core.items.ItemNotFoundException: Item 'NEO_Coolcam_MS_TS' could not be found in the item registry

	at org.eclipse.smarthome.core.internal.items.ItemRegistryImpl.getItem(ItemRegistryImpl.java:85) ~[?:?]

	at org.eclipse.smarthome.ui.internal.items.ItemUIRegistryImpl.getItem(ItemUIRegistryImpl.java:837) ~[?:?]

	at org.openhab.ui.basic.internal.render.SwitchRenderer.renderWidget(SwitchRenderer.java:84) [bundleFile:?]

	at org.openhab.ui.basic.internal.render.PageRenderer.renderWidget(PageRenderer.java:194) [bundleFile:?]

	at org.openhab.ui.basic.internal.render.PageRenderer.processChildren(PageRenderer.java:160) [bundleFile:?]

	at org.openhab.ui.basic.internal.render.PageRenderer.processChildren(PageRenderer.java:181) [bundleFile:?]

	at org.openhab.ui.basic.internal.render.PageRenderer.processPage(PageRenderer.java:124) [bundleFile:?]

	at org.openhab.ui.basic.internal.servlet.WebAppServlet.service(WebAppServlet.java:189) [bundleFile:?]

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [bundleFile:3.1.0]

	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:544) [bundleFile:9.4.20.v20190813]

	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [bundleFile:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:536) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1581) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1307) [bundleFile:9.4.20.v20190813]

	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [bundleFile:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:482) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1549) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1204) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [bundleFile:9.4.20.v20190813]

	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [bundleFile:?]

	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.Server.handle(Server.java:494) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:374) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:268) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:367) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918) [bundleFile:9.4.20.v20190813]

	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]

2020-06-17 19:55:09.067 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'NEO_Coolcam_MS_TS' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-06-17 19:55:09.071 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-06-17 19:55:09.073 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'NEO_Coolcam_MS_TS' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-06-17 19:55:09.077 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'NEO_Coolcam_MS_TS' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-06-17 19:55:09.079 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'NEO_Coolcam_MS_TS' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-06-17 19:55:09.083 [WARN ] [basic.internal.render.SwitchRenderer] - Cannot determine item type of 'FibaroFGD212Dimmer2_DimmerSwitch1'

org.eclipse.smarthome.core.items.ItemNotFoundException: Item 'FibaroFGD212Dimmer2_DimmerSwitch1' could not be found in the item registry

	at org.eclipse.smarthome.core.internal.items.ItemRegistryImpl.getItem(ItemRegistryImpl.java:85) ~[?:?]

	at org.eclipse.smarthome.ui.internal.items.ItemUIRegistryImpl.getItem(ItemUIRegistryImpl.java:837) ~[?:?]

	at org.openhab.ui.basic.internal.render.SwitchRenderer.renderWidget(SwitchRenderer.java:84) [bundleFile:?]

	at org.openhab.ui.basic.internal.render.PageRenderer.renderWidget(PageRenderer.java:194) [bundleFile:?]

	at org.openhab.ui.basic.internal.render.PageRenderer.processChildren(PageRenderer.java:160) [bundleFile:?]

	at org.openhab.ui.basic.internal.render.PageRenderer.processChildren(PageRenderer.java:181) [bundleFile:?]

	at org.openhab.ui.basic.internal.render.PageRenderer.processPage(PageRenderer.java:124) [bundleFile:?]

	at org.openhab.ui.basic.internal.servlet.WebAppServlet.service(WebAppServlet.java:189) [bundleFile:?]

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [bundleFile:3.1.0]

	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:544) [bundleFile:9.4.20.v20190813]

	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [bundleFile:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:536) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1581) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1307) [bundleFile:9.4.20.v20190813]

	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [bundleFile:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:482) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1549) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1204) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [bundleFile:9.4.20.v20190813]

	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [bundleFile:?]

	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.Server.handle(Server.java:494) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:374) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:268) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:367) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782) [bundleFile:9.4.20.v20190813]

	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918) [bundleFile:9.4.20.v20190813]

	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]

2020-06-17 19:55:09.099 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'FibaroFGD212Dimmer2_DimmerSwitch1' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-06-17 19:55:09.102 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-06-17 19:55:09.104 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'FibaroFGD212Dimmer2_DimmerSwitch1' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-06-17 19:55:09.107 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'FibaroFGD212Dimmer2_DimmerSwitch1' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-06-17 19:55:09.109 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'FibaroFGD212Dimmer2_DimmerSwitch1' for widget org.eclipse.smarthome.model.sitemap.sitemap.Switch

2020-06-17 19:55:09.113 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-06-17 19:55:09.115 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'NEO_Coolcam_MS_TS2' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-06-17 19:55:09.119 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'NEO_Coolcam_MS_TS2' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-06-17 19:55:09.121 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'NEO_Coolcam_MS_TS2' for widget org.eclipse.smarthome.model.sitemap.sitemap.Text

2020-06-17 20:03:43.070 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'home.rules'

2020-06-17 20:26:13.564 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'iPhone.sitemap'

==> /var/log/openhab2/events.log <==

2020-06-17 20:26:25.655 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command 100

2020-06-17 20:26:25.726 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become 100

2020-06-17 20:26:25.748 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 0 to 100

2020-06-17 20:26:28.204 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command 49

2020-06-17 20:26:28.267 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become 49

2020-06-17 20:26:28.297 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 100 to 49

2020-06-17 20:26:29.498 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command 8

2020-06-17 20:26:29.556 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become 8

2020-06-17 20:26:29.582 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 49 to 8

2020-06-17 20:26:31.073 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command 0

2020-06-17 20:26:31.130 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become 0

2020-06-17 20:26:31.177 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 8 to 0

2020-06-17 20:26:32.050 [ome.event.ItemCommandEvent] - Item 'Fibaro_Dimmer1' received command ON

2020-06-17 20:26:32.105 [nt.ItemStatePredictedEvent] - Fibaro_Dimmer1 predicted to become ON

2020-06-17 20:26:32.126 [vent.ItemStateChangedEvent] - Fibaro_Dimmer1 changed from NULL to ON

2020-06-17 20:26:32.917 [ome.event.ItemCommandEvent] - Item 'Fibaro_Dimmer1' received command OFF

2020-06-17 20:26:33.077 [nt.ItemStatePredictedEvent] - Fibaro_Dimmer1 predicted to become OFF

2020-06-17 20:26:33.092 [vent.ItemStateChangedEvent] - Fibaro_Dimmer1 changed from ON to OFF

2020-06-17 20:26:34.397 [ome.event.ItemCommandEvent] - Item 'zwave_device_3de88f51_node14_alarm_motion' received command ON

2020-06-17 20:26:34.445 [nt.ItemStatePredictedEvent] - zwave_device_3de88f51_node14_alarm_motion predicted to become ON

2020-06-17 20:26:34.469 [vent.ItemStateChangedEvent] - zwave_device_3de88f51_node14_alarm_motion changed from NULL to ON

2020-06-17 20:26:46.519 [ome.event.ItemCommandEvent] - Item 'demo_motion' received command ON

2020-06-17 20:26:46.563 [nt.ItemStatePredictedEvent] - demo_motion predicted to become ON

2020-06-17 20:26:46.589 [vent.ItemStateChangedEvent] - demo_motion changed from NULL to ON

2020-06-17 20:26:46.967 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command ON

2020-06-17 20:26:46.993 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become ON

2020-06-17 20:26:47.010 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 0 to 100

2020-06-17 20:26:48.270 [ome.event.ItemCommandEvent] - Item 'demo_motion' received command OFF

2020-06-17 20:26:48.317 [nt.ItemStatePredictedEvent] - demo_motion predicted to become OFF

2020-06-17 20:26:48.358 [vent.ItemStateChangedEvent] - demo_motion changed from ON to OFF

2020-06-17 20:26:48.361 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command OFF

2020-06-17 20:26:48.409 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become OFF

2020-06-17 20:26:48.436 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 100 to 0

2020-06-17 20:27:22.424 [ome.event.ItemCommandEvent] - Item 'demo_motion' received command ON

2020-06-17 20:27:22.468 [nt.ItemStatePredictedEvent] - demo_motion predicted to become ON

2020-06-17 20:27:22.491 [vent.ItemStateChangedEvent] - demo_motion changed from OFF to ON

2020-06-17 20:27:22.534 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command ON

2020-06-17 20:27:22.557 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become ON

2020-06-17 20:27:22.570 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 0 to 100

2020-06-17 20:27:24.765 [ome.event.ItemCommandEvent] - Item 'demo_motion' received command OFF

2020-06-17 20:27:24.800 [nt.ItemStatePredictedEvent] - demo_motion predicted to become OFF

2020-06-17 20:27:24.817 [vent.ItemStateChangedEvent] - demo_motion changed from ON to OFF

2020-06-17 20:27:24.828 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command OFF

2020-06-17 20:27:24.866 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become OFF

2020-06-17 20:27:24.906 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 100 to 0

2020-06-17 20:28:10.999 [ome.event.ItemCommandEvent] - Item 'demo_motion' received command ON

2020-06-17 20:28:11.046 [nt.ItemStatePredictedEvent] - demo_motion predicted to become ON

2020-06-17 20:28:11.070 [vent.ItemStateChangedEvent] - demo_motion changed from OFF to ON

2020-06-17 20:28:11.073 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command ON

2020-06-17 20:28:11.121 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become ON

2020-06-17 20:28:11.142 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 0 to 100

2020-06-17 20:28:11.183 [ome.event.ItemCommandEvent] - Item 'demo_motion' received command OFF

2020-06-17 20:28:11.214 [nt.ItemStatePredictedEvent] - demo_motion predicted to become OFF

2020-06-17 20:28:11.237 [vent.ItemStateChangedEvent] - demo_motion changed from ON to OFF

2020-06-17 20:28:11.243 [ome.event.ItemCommandEvent] - Item 'FibaroDimmer1_DimmerSwitch1' received command OFF

2020-06-17 20:28:11.292 [nt.ItemStatePredictedEvent] - FibaroDimmer1_DimmerSwitch1 predicted to become OFF

2020-06-17 20:28:11.321 [vent.ItemStateChangedEvent] - FibaroDimmer1_DimmerSwitch1 changed from 100 to 0

It looks to my like something with the sitemap. Can you post it?

Thats it but it works fine for me.


sitemap iPhone label="Home"
{
        Frame label="Home"
        {
                Slider item=FibaroDimmer1_DimmerSwitch1
                Switch item=zwave_device_3de88f51_node14_alarm_motion
                Switch item=Fibaro_Dimmer1
                Text item=zwave_device_3de88f51_node14_sensor_temperature
        }
        Frame label="Kitchen"
        {
                Switch item=DEMOSW
                Switch item=demo_motion
        }
        Frame label="Master Bedroom"
        {
                Switch item=DEMOSW
        }
        Frame label="Bathroom"
        {
                Switch item=DEMOSW
        }
        Frame label="Anex"
        {
                Switch item=DEMOSW
        }
}

You have Switch and Slider widgets in your sitemap with item=FibaroFGD212Dimmer2_DimmerSwitch1 but that Item does not exist in your system.

You have a Switch widget etc.