Ghost and unwanted commands (very annoying)

  • Platform information:
    • Hardware: VM on mini PC 4Go RAM, 64go SSD
    • OS: debian 12
    • Java Runtime Environment:openjdk version “17.0.13” 2024-10-15
    • openHAB version:4.3.0 (but since 4.2.x)
  • Issue of the topic:
    Openhab triggers some very strange and annoying commands from time to time.
    And very unwanted.
    Since 4.2.x releases (I upgrade almost every stable release), I got a dozen of unwanted bunch of commands related to a group of dimmers.
    And the most annoying : two times a set of command for rollershutter (and garage door) !
    But perhaps this is only the visible commands only.
    For dimmers, I use zwaveJSUI that send MQTT command to openhab. Never had a bug or similar issue for 4 years.
    For rollershutters and garage door I use KLF200 binding.
    I guess the problem is not from 2 different addons.
    I did suspect intrusion from internet, but there is absolutly nothing in my apache proxy logs.
    Each time, values from these ghost commands seems ‘random’.
    The fact is I never use directly these group items in my rules, so I am pretty sure it is not a problem of rules.
    Here are some logs for the top parent items hierarchy (whole house) :
/var/log/openhab/events.log:2024-12-21 23:44:50.579 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonVolet' received command 3
/var/log/openhab/events.log.16.gz:2024-09-27 11:34:22.808 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonVolet' received command 7
/var/log/openhab/events.log.15.gz:2024-09-15 20:27:58.425 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonDimmer' received command 42
/var/log/openhab/events.log.19.gz:2024-10-22 20:37:04.601 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonDimmer' received command 44
/var/log/openhab/events.log.19.gz:2024-10-27 23:26:09.727 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonDimmer' received command 25
/var/log/openhab/events.log.19.gz:2024-10-30 18:25:01.201 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonDimmer' received command 25
/var/log/openhab/events.log.21.gz:2024-10-31 19:28:40.171 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonDimmer' received command 41
/var/log/openhab/events.log.22.gz:2024-11-03 19:19:26.846 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonDimmer' received command 50
/var/log/openhab/events.log.23.gz:2024-11-13 23:36:19.236 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonDimmer' received command 48
/var/log/openhab/events.log.25.gz:2024-11-22 19:41:49.291 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonDimmer' received command 47

Imagine my surprise when all the house lights power on and rollershutters activate !
I dont know how to investigate further.
I suspect that these commands are related because I declare a complex hierarchy of items and groups of groups. (at the beginning I had a lot of warning saying that parent and children where in same group so recursively errors, but I dont have these warnings no more.
I am really worried about this behaviour and I cannot completly exclude some kind of intrusion. (but see nothing in OS or apache logs)
As previoulsy said, I use openhab now for many years and never had this before.
Did anyone already had the same thing ? Or have a clue to investigate more ?
My immediate request would be : Is it possible to activate some kind of openhab ‘internal logs’ to see what triggered a command ? (I did not found anything)
Many thanks.

Open openhab‘s json database files and search for maisonVolet. Then you will see if you unintentionally did something wrong in your configuration.

Unfortunately once the command hits the event bus, where the command came from is lost. So you’d have to have a log that logs out the command before sendCommand is called to find what issued the command.

The potential sources for commands to Items are:

  • REST API, which includes commands send from any of the UIs
  • Rules
  • Bindings
  • commands forwarded from a Group

When this has come up in the past, it’s usually been caused by a mistake in a widget or a rule that issues a command to to a Group or a Group is mistakenly linked to a Channel.

It might be the Binding sending commands unexpectedly as well. You should be able to roommate that by putting the bindings in question into debug or trace level logging.

Beyond that I’m not sure what more we can suggest. But that may help narrow down the search.

But OH doesn’t spontaneously issue commands to Items on it’s own. There has to be something configured somewhere that is causing these commands.

OK thanks for advices and info.
I spent a lot of time trying to debug this, and still stuck.
For more details, I was able to catch 2 new bunch of ‘ghost command’ these days :

2025-01-05 15:37:33.772 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonHautDimmer' received command 4
2025-01-05 15:37:33.777 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'chambreJardinDimmer1' received command 4
2025-01-05 15:37:33.777 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'bureauDimmer' received command 4
2025-01-05 15:37:33.777 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'bureauDebugDimmer' received command 4
2025-01-05 15:37:33.777 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'couloirDimmer' received command 4
2025-01-05 15:37:33.777 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salleDEauDimmer' received command 4
2025-01-05 15:37:33.777 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salleDeBainDimmer' received command 4

Note that the first is a group, and obvioulsy transferts the command to children.
Note also that the value ‘4’ is totally abnormal and never used in any rule. (nor than a direct command to this group, never used this)
Another example (just today !) :

2025-01-07 12:25:12.380 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'couloirDimmer' received command 100
2025-01-07 12:25:12.380 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonBarDimmer' received command 100
2025-01-07 12:25:12.382 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonDimmer' received command 100
2025-01-07 12:25:12.382 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonBarDimmer' received command 100

2025-01-07 12:25:12.382 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'sejourDimmer' received command 50
2025-01-07 12:25:12.383 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonDimmer' received command 50
2025-01-07 12:25:12.384 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salleAMangerDimmer' received command 50
2025-01-07 12:25:12.385 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonBarDimmer' received command 50

2025-01-07 12:25:12.383 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonBasDimmer' received command 12
2025-01-07 12:25:12.385 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'sejourDimmer' received command 12
2025-01-07 12:25:12.385 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'buanderieDimmer' received command 12
2025-01-07 12:25:12.385 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'cuisineDimmer' received command 12
2025-01-07 12:25:12.385 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'escalierDimmer' received command 12
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonDimmer' received command 12
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salleAMangerDimmer' received command 12
2025-01-07 12:25:12.391 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonBarDimmer' received command 12

2025-01-07 12:25:12.387 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonHautDimmer' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'chambreJardinDimmer1' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'bureauDimmer' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'bureauDebugDimmer' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'couloirDimmer' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salleDEauDimmer' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salleDeBainDimmer' received command 34

I separate the group of log lines to be more visible.
In this case, I received 4 “bunch ghost” commands at the same time, totally with random dimmer items/group and messed with also strange values (100, 50, 12, 34) directly to multiple items or for group.

@rlkoshak I think I can exclude the binding debug approach, because as mentionned at least 2 kind of items from 2 differents bindings are impacted (rollershutters and dimmers/via MQTT)

The only interesting clue I can notice (for today example) is that I was using firefox and the sitemap page when the commands occur. (may be related to widgets ? whene firefox starts/stop it loads also sitemap pages as they are pinned). But why this would send random commands ?

I would try to rule this out properly by severing any incoming connections from the internet, and seeing if you still get the ghost commands.

There were many instances in the past of people exposing their openHAB instance to the internet, and then someone else found it and flicked some switches.

Good advice thanks.
I will block internet access for few days/week and see.
But when I see logs, I guess it is not human-type intrusion but could be potentially bots. (multiple random commands at the exact same millisecond, with random items/values)
I will keep you in touch.

If not already done, I would always add as first line to each single rule a command to make a log entry (like „Rule xyz started“).
This way you always know if an ItemCommandEvent comes from a rule or not.

Thanks for the tip @Oliver2 .
I already debug/trace a lot of things in rules, and nothing from my rules triggers these ghost commands (nothing in openhab.log at all). But of course in return, these ghost commands trigger rules after being received.

An easier approach is to set the openhab.event.RuleStatusInfoEvent logger to INFO level. This will add entries to events.log every time a rule starts running and stops running. Not only is this one change in one place, it also will capture managed rules that have conditions which might suppress the actions of the rules from running, and therefore suppress the log statement.

Do these events represent a change? I don’t see any Item changed events. It might be relevant if these Items are being commanded to a state they are already in.

1 Like

Interresting.
Yes I only filtered received commands, full log event at this time is (with recursive changes for group of group…) :

2025-01-07 12:25:12.380 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'couloirDimmer' received command 100
2025-01-07 12:25:12.380 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonBarDimmer' received command 100
2025-01-07 12:25:12.382 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'couloirDimmer' predicted to become 100
2025-01-07 12:25:12.382 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'salonBarDimmer' predicted to become 100
2025-01-07 12:25:12.382 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonDimmer' received command 100
2025-01-07 12:25:12.382 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'couloirDimmer' changed from 0 to 100
2025-01-07 12:25:12.382 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonBarDimmer' received command 100
2025-01-07 12:25:12.382 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'sejourDimmer' received command 50
2025-01-07 12:25:12.383 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonBasDimmer' received command 12
2025-01-07 12:25:12.383 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'salonBarDimmer' predicted to become 100
2025-01-07 12:25:12.383 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonDimmer' received command 50
2025-01-07 12:25:12.384 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salleAMangerDimmer' received command 50
2025-01-07 12:25:12.384 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 25.3333333333333333333333333333333300 to 33.6666666666666666666666666666666600 through maisonHautDimmer
2025-01-07 12:25:12.384 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonHautDimmer' changed from 0.666666666666666666666666666666666700 to 17.3333333333333333333333333333333300 through couloirDimmer
2025-01-07 12:25:12.384 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'salleAMangerDimmer' predicted to become 50
2025-01-07 12:25:12.385 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'sejourDimmer' received command 12
2025-01-07 12:25:12.385 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'buanderieDimmer' received command 12
2025-01-07 12:25:12.385 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'cuisineDimmer' received command 12
2025-01-07 12:25:12.385 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'escalierDimmer' received command 12
2025-01-07 12:25:12.385 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonBarDimmer' received command 50
2025-01-07 12:25:12.387 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'maisonHautDimmer' received command 34
2025-01-07 12:25:12.387 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'buanderieDimmer' predicted to become 12
2025-01-07 12:25:12.387 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'cuisineDimmer' predicted to become 12
2025-01-07 12:25:12.387 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'escalierDimmer' predicted to become 12
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleAMangerDimmer' changed from 100 to 50
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonDimmer' received command 12
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salleAMangerDimmer' received command 12
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'chambreJardinDimmer1' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'bureauDimmer' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'bureauDebugDimmer' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'couloirDimmer' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salleDEauDimmer' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salleDeBainDimmer' received command 34
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'buanderieDimmer' changed from 0 to 12
2025-01-07 12:25:12.388 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'cuisineDimmer' changed from 100 to 12
2025-01-07 12:25:12.389 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'escalierDimmer' changed from 0 to 12
2025-01-07 12:25:12.389 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 50.00000000 to 27.75000000 through buanderieDimmer
2025-01-07 12:25:12.389 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 33.6666666666666666666666666666666600 to 22.5416666666666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:12.390 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 100.00000000 to 75.00000000 through salleAMangerDimmer
2025-01-07 12:25:12.391 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'salonBarDimmer' received command 12
2025-01-07 12:25:12.391 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'salonBarDimmer' predicted to become 50
2025-01-07 12:25:12.391 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salonBarDimmer' changed from 100 to 50
2025-01-07 12:25:12.391 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'salleAMangerDimmer' predicted to become 12
2025-01-07 12:25:12.391 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'chambreJardinDimmer1' predicted to become 0,0,0
2025-01-07 12:25:12.391 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'bureauDimmer' predicted to become 34
2025-01-07 12:25:12.391 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'couloirDimmer' predicted to become 34
2025-01-07 12:25:12.391 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'salleDEauDimmer' predicted to become 34
2025-01-07 12:25:12.391 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'salleDeBainDimmer' predicted to become 34
2025-01-07 12:25:12.391 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'salonDimmer' changed from 100.00000000 to 50.00000000 through salonBarDimmer
2025-01-07 12:25:12.392 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 27.75000000 to 21.50000000 through sejourDimmer
2025-01-07 12:25:12.392 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 75.00000000 to 50.00000000 through salonDimmer
2025-01-07 12:25:12.392 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 22.5416666666666666666666666666666600 to 19.4166666666666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:12.392 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleAMangerDimmer' changed from 50 to 12
2025-01-07 12:25:12.392 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'bureauDimmer' changed from 0 to 34
2025-01-07 12:25:12.392 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'bureauDebugDimmer' changed from 4 to 34
2025-01-07 12:25:12.392 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'couloirDimmer' changed from 100 to 34
2025-01-07 12:25:12.392 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleDEauDimmer' changed from 0 to 34
2025-01-07 12:25:12.392 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleDeBainDimmer' changed from 0 to 34
2025-01-07 12:25:12.392 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonHautDimmer' changed from 17.3333333333333333333333333333333300 to 28.3333333333333333333333333333333300 through bureauDimmer
2025-01-07 12:25:12.392 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 50.00000000 to 31.00000000 through salleAMangerDimmer
2025-01-07 12:25:12.393 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 19.4166666666666666666666666666666600 to 22.5416666666666666666666666666666600 through maisonHautDimmer
2025-01-07 12:25:12.393 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 21.50000000 to 16.75000000 through sejourDimmer
2025-01-07 12:25:12.394 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'salonBarDimmer' predicted to become 12
2025-01-07 12:25:12.394 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salonBarDimmer' changed from 50 to 12
2025-01-07 12:25:12.395 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 22.5416666666666666666666666666666600 to 20.1666666666666666666666666666666600 through maisonHautDimmer
2025-01-07 12:25:12.395 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'salonDimmer' changed from 50.00000000 to 12.00000000 through salonBarDimmer
2025-01-07 12:25:12.396 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 31.00000000 to 12.00000000 through salonDimmer
2025-01-07 12:25:12.396 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 16.75000000 to 12.00000000 through sejourDimmer
2025-01-07 12:25:12.400 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'prise11' received command ON
2025-01-07 12:25:12.401 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'prise11' predicted to become ON
2025-01-07 12:25:12.401 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'prise11' changed from OFF to ON
2025-01-07 12:25:12.437 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salonBarDimmer' changed from 12 to 100
2025-01-07 12:25:12.438 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'salonDimmer' changed from 12.00000000 to 100.00000000 through salonBarDimmer
2025-01-07 12:25:12.439 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 12.00000000 to 56.00000000 through salonDimmer
2025-01-07 12:25:12.439 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 12.00000000 to 23.00000000 through sejourDimmer
2025-01-07 12:25:12.439 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 20.1666666666666666666666666666666600 to 25.6666666666666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:12.466 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'couloirDimmer' changed from 34 to 100
2025-01-07 12:25:12.466 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonHautDimmer' changed from 28.3333333333333333333333333333333300 to 39.3333333333333333333333333333333300 through couloirDimmer
2025-01-07 12:25:12.466 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 25.6666666666666666666666666666666600 to 31.1666666666666666666666666666666600 through maisonHautDimmer
2025-01-07 12:25:12.768 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salonBarSwitchPuissance' changed from 589.3 to 1.5
2025-01-07 12:25:12.978 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleAMangerDimmer' changed from 12 to 50.0
2025-01-07 12:25:12.979 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 56.00000000 to 75.00000000 through salleAMangerDimmer
2025-01-07 12:25:12.979 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 23.00000000 to 27.75000000 through sejourDimmer
2025-01-07 12:25:12.979 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 31.1666666666666666666666666666666600 to 33.5416666666666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:13.016 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'couloirDimmerPuissanceInst' changed from 0 to 0.3
2025-01-07 12:25:13.167 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'couloirDimmer' changed from 100 to 34.00
2025-01-07 12:25:13.168 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonHautDimmer' changed from 39.3333333333333333333333333333333300 to 28.3333333333333333333333333333333300 through couloirDimmer
2025-01-07 12:25:13.168 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 33.5416666666666666666666666666666600 to 28.0416666666666666666666666666666600 through maisonHautDimmer
2025-01-07 12:25:13.265 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleAMangerDimmer' changed from 50.0 to 49.49494949494949494949494949494949
2025-01-07 12:25:13.266 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 75.00000000 to 74.74747500 through salleAMangerDimmer
2025-01-07 12:25:13.266 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 27.75000000 to 27.6868687500 through sejourDimmer
2025-01-07 12:25:13.266 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 28.0416666666666666666666666666666600 to 28.0101010416666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:13.508 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleAMangerDimmerPuissanceInst' changed from 12.1 to 9.3
2025-01-07 12:25:13.564 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'couloirDimmer' changed from 34.00 to 33.33333333333333333333333333333333
2025-01-07 12:25:13.564 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonHautDimmer' changed from 28.3333333333333333333333333333333300 to 28.2222223333333333333333333333333300 through couloirDimmer
2025-01-07 12:25:13.564 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 28.0101010416666666666666666666666600 to 27.9545455416666666666666666666666600 through maisonHautDimmer
2025-01-07 12:25:13.747 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'buanderieDimmer' changed from 12.00 to 11.11111111111111111111111111111111
2025-01-07 12:25:13.748 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 27.6868687500 to 27.4646467500 through buanderieDimmer
2025-01-07 12:25:13.748 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 27.9545455416666666666666666666666600 to 27.8434345416666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:13.902 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleDEauDimmer' changed from 34.00 to 100
2025-01-07 12:25:13.902 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonHautDimmer' changed from 28.2222223333333333333333333333333300 to 39.2222223333333333333333333333333300 through salleDEauDimmer
2025-01-07 12:25:13.902 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 27.8434345416666666666666666666666600 to 33.3434345416666666666666666666666600 through maisonHautDimmer
2025-01-07 12:25:13.917 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'escalierDimmer' changed from 12.00 to 11.11111111111111111111111111111111
2025-01-07 12:25:13.917 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 27.4646467500 to 27.2424247500 through escalierDimmer
2025-01-07 12:25:13.917 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 33.3434345416666666666666666666666600 to 33.2323235416666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:13.969 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleAMangerDimmer' changed from 49.49494949494949494949494949494949 to 12.00
2025-01-07 12:25:13.969 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 74.74747500 to 56.00000000 through salleAMangerDimmer
2025-01-07 12:25:13.969 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 27.2424247500 to 22.55555600 through sejourDimmer
2025-01-07 12:25:13.969 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 33.2323235416666666666666666666666600 to 30.8888891666666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:14.426 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleDeBainDimmer' changed from 34.00 to 33.33333333333333333333333333333333
2025-01-07 12:25:14.426 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonHautDimmer' changed from 39.2222223333333333333333333333333300 to 39.1111113333333333333333333333333300 through salleDeBainDimmer
2025-01-07 12:25:14.426 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 30.8888891666666666666666666666666600 to 30.8333336666666666666666666666666600 through maisonHautDimmer
2025-01-07 12:25:14.499 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'cuisineDimmer' changed from 12.00 to 11.11111111111111111111111111111111
2025-01-07 12:25:14.499 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 22.55555600 to 22.33333400 through cuisineDimmer
2025-01-07 12:25:14.499 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 30.8333336666666666666666666666666600 to 30.7222226666666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:14.532 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'cuisineDimmerPuissanceInst' changed from 16.3 to 11.8
2025-01-07 12:25:14.638 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salonBarDimmer' changed from 100 to 50.0
2025-01-07 12:25:14.639 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'salonDimmer' changed from 100.00000000 to 50.00000000 through salonBarDimmer
2025-01-07 12:25:14.639 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 56.00000000 to 31.00000000 through salonDimmer
2025-01-07 12:25:14.639 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 22.33333400 to 16.08333400 through sejourDimmer
2025-01-07 12:25:14.639 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 30.7222226666666666666666666666666600 to 27.5972226666666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:14.670 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleDEauDimmerPuissanceInst' changed from 0 to 16
2025-01-07 12:25:15.125 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salleAMangerDimmer' changed from 12.00 to 11.11111111111111111111111111111111
2025-01-07 12:25:15.125 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 31.00000000 to 30.55555600 through salleAMangerDimmer
2025-01-07 12:25:15.125 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 16.08333400 to 15.97222300 through sejourDimmer
2025-01-07 12:25:15.125 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 27.5972226666666666666666666666666600 to 27.5416671666666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:15.255 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salonBarDimmer' changed from 50.0 to 49.49494949494949494949494949494949
2025-01-07 12:25:15.255 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'salonDimmer' changed from 50.00000000 to 49.49495000 through salonBarDimmer
2025-01-07 12:25:15.255 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 30.55555600 to 30.30303100 through salonDimmer
2025-01-07 12:25:15.255 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 15.97222300 to 15.9090917500 through sejourDimmer
2025-01-07 12:25:15.255 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 27.5416671666666666666666666666666600 to 27.5101015416666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:15.282 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'buanderieDimmerPuissanceInst' changed from 0 to 2.6
2025-01-07 12:25:16.026 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salonBarDimmer' changed from 49.49494949494949494949494949494949 to 12.00
2025-01-07 12:25:16.026 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'salonDimmer' changed from 49.49495000 to 12.00000000 through salonBarDimmer
2025-01-07 12:25:16.026 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 30.30303100 to 11.55555600 through salonDimmer
2025-01-07 12:25:16.026 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 15.9090917500 to 11.22222300 through sejourDimmer
2025-01-07 12:25:16.026 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 27.5101015416666666666666666666666600 to 25.1666671666666666666666666666666600 through maisonBasDimmer
2025-01-07 12:25:16.206 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'escalierDimmerPuissanceInst' changed from 0 to 0.2
2025-01-07 12:25:16.384 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'salonBarDimmer' changed from 12.00 to 49.49494949494949494949494949494949
2025-01-07 12:25:16.385 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'salonDimmer' changed from 12.00000000 to 49.49495000 through salonBarDimmer
2025-01-07 12:25:16.385 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'sejourDimmer' changed from 11.55555600 to 30.30303100 through salonDimmer
2025-01-07 12:25:16.385 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonBasDimmer' changed from 11.22222300 to 15.9090917500 through sejourDimmer
2025-01-07 12:25:16.385 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'maisonDimmer' changed from 25.1666671666666666666666666666666600 to 27.5101015416666666666666666666666600 through maisonBasDimmer

Thanks for this great tip! Will set it up right away this evening!

1 Like

OK, I found a huge clue and can reproduce the problem as I want.
As I said, I suspected web/firefox sitemap usage and this is it.
To reproduce, on two different computers in my home, I simply :

  • open a tab in firefow browserwith a OH sitemap page with my dimmers for example
  • make a modification (send a command)
  • unload tab in firefox
  • reload it/refresh, and it mysteriously send plenty of random commands to OpenHAB on items that were in the sitemap page …

Not sure what it is at work here. Probably a bug in the sitemap code ? Firefox behavior ? But why the hell firefox tab would send some commands to OpenHab ?
I guess this is the same problem when computer restart for example with firefox at startup during windows update & co.

You can answer one of those questions by trying it in a different browser.

Beyond that it does seem to be some sort of bug. It looks like for some reason the sitemap rendering on Firefox (at least) is causing commands to be emitted. It’s odd that others are not reporting the same though. Firefox is very popular among OH users.

I dont know well other browsers and as far as I know it not possible to unload a tab with brave for example ?
I use the Sidebery plugin in firefox to handle multiple and vertical tabs. I will try to test without the plugin (but difficult)
Maybe an additionally clue : only sitemap pages with sliders seem impacted.

It’s built into the browser. No special extension is required.

Settings → System → Memory Saver

Veritcal tabs can be set at Settings → Apperance → Tabs

OK, made some tests : the bug seems only occurs in firefox, not edge nor brave.
Bug also not linked to Sideberry plugin, just close firefox tab, and click “reopened close tab” (tested in private mode without plugin)
And yes it occurs when I put some group of group sliders in the page. No bug when there are only item or simple group sliders. Very strange.

I think that is just about enough info to file an issue. The only additional info I can think of is grab the logs from the browser console.