Gui "switches" behaves crazy when pressing



  • 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 ?



  • 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)



  • @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



  • @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
    

 

270
Online

8.7k
Users

9.5k
Topics

99.5k
Posts