Items randomly turning on

Hi,

i use an rpi3 with openhab 3.0.0.
Since a week, maybe 2… my curtains (gordijn in dutch) and 1 light received a command which i did not press :slight_smile:
so i checked my logs and see this:

2022-05-12 11:40:25.933 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Livingeettafelrolgordijn' received command UP

2022-05-12 11:40:25.951 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Livingeettafelrolgordijn' predicted to become UP

2022-05-12 11:40:26.102 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Livingeettafelrolgordijn' changed from 0 to 100

2022-05-12 11:40:26.798 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP

2022-05-12 11:40:26.817 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP

2022-05-12 11:40:26.830 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Keukenrolgordijn' changed from 100 to 0

2022-05-12 11:40:27.477 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Livingterrasrolgordijn' received command UP

2022-05-12 11:40:27.516 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Livingterrasrolgordijn' predicted to become UP

2022-05-12 11:40:27.624 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Livingterrasrolgordijn' changed from 0 to 100

2022-05-12 11:40:28.123 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Livingtuinrolgordijn' received command UP

2022-05-12 11:40:28.136 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Livingtuinrolgordijn' predicted to become UP

2022-05-12 11:40:28.247 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Livingtuinrolgordijn' changed from 0 to 100

This does not tell me a lot i think, is there a way to find what the input was from the command used?
Beside the curtains i also had 1 yeelight turning off.
The full log goes back nearly 2 hours if anyone would need that, but i dont see anything special in that beside other devices.

I don’t have any rules setup neither that has my curtains as an item.

20 min ago… all my curtains whent up (thats the log you see)
few other times during last week … just 1 curtain whent down, never up. (rest were down already).

The external port to openhab is closed on my firewall, i only use the Openhab app over wifi.
I do have a google home connected.

Thank you in advance!

There is no way to see why a certain command was issued.

You can check /disable your rules to see if the event was triggered by a rule or in worst case delete the item and recreate it with a different name, than any other ui action /script will fail to send a command and you will maybe see an error message giving you a hint

Do you have any Groups that involve these Items? What binding is involved with these Items?

What do you seen in openhab.org?

Dear @rlkoshak thank you for the reply.
Yes they are involved in a group in my home.items file, light and curtain not in the same group tho.

the curtains are here grouped:

Group Living "Living" <sofa> (Home, Gelijksvloers) 
    Switch Livingwandlicht "Living Wandverlichting " <light> (Living, Lichten) [ "Lighting" ] {channel="nikohomecontrol:dimmer:440e003a1939:20:brightness", ga="Light" [roomHint="Living"] }
    Dimmer Livingeettafellicht "Eettafel Licht" <slider> (Living, Lichten) [ "Lighting" ] {channel="nikohomecontrol:dimmer:440e003a1939:19:brightness", ga="Light" [roomHint="Living"] }
    Rollershutter Livingeettafelrolgordijn "Eettafel Rolgordijn" <rollershutter> (Living, Rolgordijnen) [ "Blinds" ] {channel="nikohomecontrol:blind:440e003a1939:69:rollershutter", ga="Blinds" [roomHint="Living"] }

    Dimmer Livingtvlicht "Zetel Inbouwverlichting" <slider> (Living, Lichten) [ "Lighting" ] {channel="nikohomecontrol:dimmer:440e003a1939:21:brightness", ga="Light" [roomHint="Living"] }
    Switch Livingtvledstrip "LED Strip TV" <light> (Living, Lichten) [ "Lighting" ] {channel="nikohomecontrol:onOff:440e003a1939:22:switch", ga="Light" [roomHint="Living"] }
    Rollershutter Livingtuinrolgordijn "Tuin Rolgordijn" <rollershutter> (Living, Rolgordijnen) [ "Blinds" ] {channel="nikohomecontrol:blind:440e003a1939:68:rollershutter", ga="Blinds" [roomHint="Living"] }
    Rollershutter Livingterrasrolgordijn "Terras Rolgordijn" <rollershutter> (Living, Rolgordijnen) [ "Blinds" ] {channel="nikohomecontrol:blind:440e003a1939:67:rollershutter", ga="Blinds" [roomHint="Living"] }

or my yeelight:

Group Office "Bureau Bjorn" <office> (Home, Eersteverdieping)  ["Location", "Office"]
    Switch Officebjornlicht "Desktop Licht" <light> (Office, Lichten) [ "Lighting" ] {channel="nikohomecontrol:onOff:440e003a1939:15:switch", ga="Light" [roomHint="Office"] } 
    Switch Officelililicht "Lili Licht" <light> (Office, Lichten) [ "Lighting" ] {channel="nikohomecontrol:onOff:440e003a1939:14:switch", ga="Light" [roomHint="Office"] } 
         //(yeelight binding)
    Color Officebjornlichtsmartcolor "Yeelight Monitor" <light> (Lichten) [ "Lighting" ] {channel="yeelight:wonder:0x0000000012ab1eba:color", ga="Light" [roomHint="Office"] }  
    Dimmer Officebjornlichtsmartdim "Yeelight Monitor wit" <slider> {channel="yeelight:wonder:0x0000000012ab1eba:colorTemperature"} 
    String Officebjornlichtsmartcommand "Yeelight command" <slider> {channel="yeelight:wonder:0x0000000012ab1eba:command"} 

none of the other items in the same group are trigged as far as i can see in the logs.

Bindings used:
Niko home control for curtain, and yeelight for the lamp.
Here all bindings:

What do you mean with that please?
It brings me to the mainpage of openhab.

Thank you.

You’ve looked and posted logs from events.log. In that same folder there is another file named openhab.log which is where most of the actually useful logging goes. events.log only shows the commands and changes that occur on your Items. openhab.log will show errors, warnings and other useful stuff from the bindings and your rules.

You’ve confirmed that these Items are not directly referenced in any of your rules. What about indirectly through one of the Groups they are members of?

How many UI’s do you have open? For example, do you have a tablet with MainUI up somewhere, house members with phone apps, stuff like that?

There is one other thread I know of with a similar report but it’s using the MQTT binding. But I think it involves lights and rollershutters too. @rossko57, my search skills are failing me, do you have the link to that other thread handy? Maybe this could be a second case which might point to a problem.

Dear,
i use openhab:9001 which opens my “frontail” logviewer.
After some searching i did find the openhab.log.

We know it happend at 11:40.
In this openhab.log file i dont see anything around this time.

file attached if needed.
openhab.log (86.0 KB)

I am reasonably sure its not in use by any rules, i only use a few.
A few scenes to turn lights on or off, and none use a group.

We actually only use google home, but i have 1 tablet next to me in the office, via HABPanel,
But no curtains are setup on that tablet, the yeelight is tho.

I also see in the logs this:
This all happend in 1 second.

2022-05-10 07:54:16.793 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:16.811 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:16.830 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:16.836 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Keukenrolgordijn' changed from 100 to 0
2022-05-10 07:54:16.841 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:16.850 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:16.858 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:16.907 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:16.914 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:16.920 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:16.928 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:16.949 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:16.953 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:16.980 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:16.992 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:16.999 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.005 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.017 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.024 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.068 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.073 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.096 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.104 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.116 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.129 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.136 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.146 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.164 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.167 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.205 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.209 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.272 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.278 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.327 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.333 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.712 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.719 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.776 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.780 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:17.956 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:17.960 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:18.037 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:18.044 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:18.063 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:18.069 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:18.159 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:18.174 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:18.459 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:18.467 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:19.027 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:19.035 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:19.050 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:19.055 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:19.072 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:19.085 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:19.114 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:19.125 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:19.139 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:19.143 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:19.160 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:19.165 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:19.172 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:19.177 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:23.886 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:23.891 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:23.909 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:23.914 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:23.995 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:24.000 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP
2022-05-10 07:54:24.017 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP
2022-05-10 07:54:24.023 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP

UPDATE 13/5:
15 min ago (08:44) all curtains whent up. (3 curtains are in the living, 1 kitchen)
My yeelight changed color at the same time. (In my office)
And 1 simpel ceiling light turned off. (in my office)

2022-05-13 08:44:45.925 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Officelililicht' received command OFF

2022-05-13 08:44:45.949 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Officelililicht' predicted to become OFF

2022-05-13 08:44:45.964 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Officelililicht' changed from ON to OFF

2022-05-13 08:44:55.931 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'YeelightMonitor_ColorTemperature' received command 84

2022-05-13 08:44:55.947 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'YeelightMonitor_ColorTemperature' predicted to become 84

2022-05-13 08:44:55.959 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'YeelightMonitor_ColorTemperature' changed from 27 to 84

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

2022-05-13 08:44:56.517 [INFO ] [light.internal.lib.device.DeviceBase] - ######### this is control command response, don't need to notify status change!

2022-05-13 08:44:56.521 [INFO ] [light.internal.lib.device.DeviceBase] - status = DeviceStatus [isPowerOff=false, r=75, g=81, b=77, color=4936013, brightness=10, ct=5732, hue=140, sat=7, isFlowing=false, delayOff=-1, mFlowItems=null, mode=MODE_SUNHINE, isMusicOn=false, name=RGB, backgroundIsPowerOff=false, backgroundR=0, backgroundG=0, backgroundB=0, backgroundHue=0, backgroundBrightness=0, backgroundSat=0, activeMode=null]

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

2022-05-13 08:44:56.534 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Officebjornlichtsmartcolor' changed from 140,7,10 to 139,7,10

2022-05-13 08:44:56.537 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'YeelightMonitor_Color' changed from 140,7,10 to 139,7,10

2022-05-13 08:44:56.540 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Officebjornlichtsmartdim' changed from 27 to 84

2022-05-13 08:45:00.888 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Livingeettafelrolgordijn' received command UP

2022-05-13 08:45:00.901 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Livingeettafelrolgordijn' predicted to become UP

2022-05-13 08:45:01.030 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Livingeettafelrolgordijn' changed from 0 to 100

2022-05-13 08:45:01.878 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Keukenrolgordijn' received command UP

2022-05-13 08:45:01.897 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Keukenrolgordijn' predicted to become UP

2022-05-13 08:45:01.910 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Keukenrolgordijn' changed from 100 to 0

2022-05-13 08:45:02.569 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Livingterrasrolgordijn' received command UP

2022-05-13 08:45:02.594 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Livingterrasrolgordijn' predicted to become UP

2022-05-13 08:45:02.731 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Livingterrasrolgordijn' changed from 0 to 100

2022-05-13 08:45:03.172 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Livingtuinrolgordijn' received command UP

2022-05-13 08:45:03.201 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Livingtuinrolgordijn' predicted to become UP

2022-05-13 08:45:03.306 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Livingtuinrolgordijn' changed from 0 to 100

Around the same time i only see this in the openhab.log file:

2022-05-13 08:44:56.521 [INFO ] [light.internal.lib.device.DeviceBase] - status = DeviceStatus [isPowerOff=false, r=75, g=81, b=77, color=4936013, brightness=10, ct=5732, hue=140, sat=7, isFlowing=false, delayOff=-1, mFlowItems=null, mode=MODE_SUNHINE, isMusicOn=false, name=RGB, backgroundIsPowerOff=false, backgroundR=0, backgroundG=0, backgroundB=0, backgroundHue=0, backgroundBrightness=0, backgroundSat=0, activeMode=null]

Thank you.