Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. OpenHAB
  4. Gui "switches" behaves crazy when pressing

Gui "switches" behaves crazy when pressing

Scheduled Pinned Locked Moved OpenHAB
4 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ahmedadelhosniA Offline
    ahmedadelhosniA Offline
    ahmedadelhosni
    wrote on last edited by
    #1

    Hello

    I have a strange behavior and it even happens with the demo example.

    For example navigate to Ground Floor > Toilet. There are three switches.
    Set switch1 to On, then switch2 then switch3. Try to set swith1 to Off. Then swith2. Suddenly switch1 changes to ON again. You press again on switch1 and then switch2 goes ON again.

    The behavior is not the same but it happens a lot. I see on the command line that the data are not changed but only the GUI.

    Any ideas ?

    1 Reply Last reply
    0
    • dakkyD Offline
      dakkyD Offline
      dakky
      wrote on last edited by
      #2

      how do you communicate with openhab? An own mqtt broker? if yes, can u paste the messages? if not, can you paste the openhab log (if you don't see enough in the logfile, set loglevel to debug)

      Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
      Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

      Software: MySensors 2.0development

      ahmedadelhosniA 1 Reply Last reply
      0
      • dakkyD dakky

        how do you communicate with openhab? An own mqtt broker? if yes, can u paste the messages? if not, can you paste the openhab log (if you don't see enough in the logfile, set loglevel to debug)

        ahmedadelhosniA Offline
        ahmedadelhosniA Offline
        ahmedadelhosni
        wrote on last edited by ahmedadelhosni
        #3

        @dakky Thanks for your reply.

        This happens with the demo script which just send commands of ON and OFF. But generally I use mosquitto as a MQTT broker and uses gateway of W5100 from the development branch. But as I have said, it is reproducible in the demo also.

        I'll try to reproduce now and post the log file as requested

        1 Reply Last reply
        0
        • ahmedadelhosniA Offline
          ahmedadelhosniA Offline
          ahmedadelhosni
          wrote on last edited by
          #4

          @dakky The sequence is as follows:

          In the demo script. Go to "Group Demo" > "No. of Active Heaters"
          I pressed on "Office" to switch it off. GUI updated.
          then pressed on "Child's Room@ to switch it off. GUI was not updated.
          then pressed on "Bedroom" to switch it off. GUI was updated + switch position for "Child's room" was set to OFF.

          I am using 1.7.1

          I noticed that this is reproducible more when I connect remotely using my.openhab.

          22:36:34.813 [INFO ] [runtime.busevents             :22   ] - Heating_FF_Office received command OFF
          22:36:34.825 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Office' with state 'ON' in rrd4j database (again)
          22:36:34.828 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Office' with state '0' in rrd4j database
          22:36:35.232 [DEBUG] [o.o.i.r.i.b.GeneralBroadcaster:46   ] - broadcaster 'org.openhab.io.rest.internal.broadcaster.GeneralBroadcaster$1@adfa88' is empty
          22:36:35.234 [DEBUG] [o.i.r.i.resources.ItemResource:193  ] - Received HTTP POST request at 'items/Heating_FF_Child' with value 'OFF'.
          22:36:35.237 [INFO ] [runtime.busevents             :22   ] - Heating_FF_Child received command OFF
          22:36:35.248 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Child' with state 'ON' in rrd4j database (again)
          22:36:35.250 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Child' with state '0' in rrd4j database
          22:36:35.260 [DEBUG] [.r.i.resources.SitemapResource:146  ] - Received HTTP GET request at 'sitemaps/demo/030001' for media type 'null'.
          22:36:35.944 [DEBUG] [o.i.r.i.resources.ItemResource:193  ] - Received HTTP POST request at 'items/Heating_FF_Bed' with value 'OFF'.
          22:36:35.975 [INFO ] [runtime.busevents             :22   ] - Heating_FF_Bed received command OFF
          22:36:36.017 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Bed' with state 'ON' in rrd4j database (again)
          22:36:36.030 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Bed' with state '0' in rrd4j database
          22:36:36.650 [DEBUG] [o.o.i.r.i.b.GeneralBroadcaster:46   ] - broadcaster 'org.openhab.io.rest.internal.broadcaster.GeneralBroadcaster$1@adfa88' is empty
          22:36:36.650 [DEBUG] [o.o.i.r.i.b.GeneralBroadcaster:46   ] - broadcaster 'org.openhab.io.rest.internal.broadcaster.GeneralBroadcaster$1@1539d1c' is empty
          22:36:36.773 [DEBUG] [.r.i.resources.SitemapResource:146  ] - Received HTTP GET request at 'sitemaps/demo/0300' for media type 'null'.
          22:36:36.776 [DEBUG] [.r.i.resources.SitemapResource:146  ] - Received HTTP GET request at 'sitemaps/demo/030001' for media type 'null'.
          22:36:43.528 [DEBUG] [.o.b.http.internal.HttpBinding:163  ] - item 'Weather_Humidity' is about to be refreshed now
          
          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          15

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular