• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple screens/shutters
#1
I am using nightly 7.0-248 to operate some screens. So i have 3 screen elements and additionally an all screen-button.

If i touch down for all, the down is activated for all 3 devices (with 6 rules to add an delay between the screens, because simultanous Action does still not work in the new version).

This works fine, but there is an gui update issue. If i touch a single button in the gui it gets highlighted and the other button returns to normal. But if switched by the rule, the other button is not reset to normal. See hardcopies

This is my config
Code:
{
    "devices": {
        "Version": {
            "protocol": [ "generic_label" ],
            "id": [{
                "id": 117
            }],
            "label": "18.01.2018",
            "color": "black"
        },
        "Test": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 118
            }],
            "state": "off",
            "dimlevel": 0
        },
        "RolloEsszimmer": {
            "protocol": [ "kaku_screen_old" ],
            "id": [{
                "id": 13,
                "unit": 0
            }],
            "state": "up"
        },
        "RolloStrasse": {
            "protocol": [ "kaku_screen" ],
            "id": [{
                "id": 13,
                "unit": 1
            }],
            "state": "up"
        },
        "RolloHof": {
            "protocol": [ "kaku_screen_old" ],
            "id": [{
                "id": 13,
                "unit": 2
            }],
            "state": "up"
        },
        "RolloAlles": {
            "protocol": [ "generic_screen" ],
            "id": [{
                "id": 119
            }],
            "state": "up"
        },
        "Wohnzimmer": {
            "protocol": [ "elro_800_switch" ],
            "id": [{
                "systemcode": 208,
                "unitcode": 1
            }],
            "state": "off"
        },
        "Esszimmer": {
            "protocol": [ "elro_800_switch" ],
            "id": [{
                "systemcode": 208,
                "unitcode": 2
            }],
            "state": "off"
        },
        "Kueche": {
            "protocol": [ "elro_800_switch" ],
            "id": [{
                "systemcode": 208,
                "unitcode": 3
            }],
            "state": "off"
        },
        "Weihnachtsbaum": {
            "protocol": [ "elro_800_switch" ],
            "id": [{
                "systemcode": 208,
                "unitcode": 4
            }],
            "state": "off"
        },
        "SteckdoseRund1": {
            "protocol": [ "clarus_switch" ],
            "id": [{
                "id": "A3",
                "unit": 18
            }],
            "state": "off"
        },
        "SteckdoseRund2": {
            "protocol": [ "clarus_switch" ],
            "id": [{
                "id": "B3",
                "unit": 18
            }],
            "state": "off"
        },
        "SteckdoseRund3": {
            "protocol": [ "clarus_switch" ],
            "id": [{
                "id": "C7",
                "unit": 18
            }],
            "state": "off"
        },
        "SteckdoseEckig1": {
            "protocol": [ "elro_800_switch" ],
            "id": [{
                "systemcode": 21,
                "unitcode": 1
            }],
            "state": "off"
        },
        "SteckdoseEckig2": {
            "protocol": [ "elro_800_switch" ],
            "id": [{
                "systemcode": 21,
                "unitcode": 2
            }],
            "state": "off"
        },
        "SteckdoseEckig3": {
            "protocol": [ "elro_800_switch" ],
            "id": [{
                "systemcode": 21,
                "unitcode": 4
            }],
            "state": "off"
        },
        "Alles": {
            "protocol": [ "generic_switch" ],
            "id": [{
                "id": 98
            }],
            "state": "off"
        },
        "Diele": {
            "protocol": [ "generic_switch" ],
            "id": [{
                "id": 99
            }],
            "state": "off"
        },
        "TimerEG": {
            "protocol": [ "generic_switch" ],
            "id": [{
                "id": 100
            }],
            "state": "on"
        },
        "TimerOG": {
            "protocol": [ "generic_switch" ],
            "id": [{
                "id": 101
            }],
            "state": "on"
        },
        "TimerRollos": {
            "protocol": [ "generic_switch" ],
            "id": [{
                "id": 102
            }],
            "state": "on"
        },
        "TimerUrlaub": {
            "protocol": [ "generic_switch" ],
            "id": [{
                "id": 103
            }],
            "state": "off"
        },
        "ZeitEGDiDoFr": {
            "protocol": [ "generic_label" ],
            "id": [{
                "id": 110
            }],
            "label": "",
            "color": "black"
        },
        "ZeitEGMoMiWo": {
            "protocol": [ "generic_label" ],
            "id": [{
                "id": 111
            }],
            "label": "",
            "color": "black"
        },
        "ZeitOG": {
            "protocol": [ "generic_label" ],
            "id": [{
                "id": 112
            }],
            "label": "",
            "color": "black"
        },
        "ZeitRollos": {
            "protocol": [ "generic_label" ],
            "id": [{
                "id": 113
            }],
            "label": "22:00 bis 7:00",
            "color": "black"
        },
        "ZeitUrlaubEG": {
            "protocol": [ "generic_label" ],
            "id": [{
                "id": 114
            }],
            "label": "nicht aktiv",
            "color": "black"
        },
        "ZeitUrlaubOG": {
            "protocol": [ "generic_label" ],
            "id": [{
                "id": 115
            }],
            "label": "nicht aktiv",
            "color": "black"
        },
        "ZeitUrlaubRollos": {
            "protocol": [ "generic_label" ],
            "id": [{
                "id": 116
            }],
            "label": "nicht aktiv",
            "color": "black"
        },
        "Currentdatetime": {
            "protocol": [ "datetime" ],
            "id": [{
                "longitude": 8.675,
                "latitude": 49.991
            }],
            "year": 2017,
            "month": 7,
            "day": 11,
            "hour": 11,
            "minute": 19,
            "second": 54,
            "weekday": 3,
            "dst": 1
        },
        "Sunriseset": {
            "protocol": [ "sunriseset" ],
            "id": [{
                "longitude": 8.675,
                "latitude": 49.991
            }],
            "sunrise": 5.28,
            "sunset": 21.34,
            "sun": "rise"
        },
        "webcam": {
            "protocol": [ "generic_webcam" ],
            "id": [{
                "id": 120
            }],
            "poll-interval": 1,
            "url": "http://192.168.2.77/webcapture.jpg?command=snap&channel=1[112233]"
        }
    },
    "rules": {
        "TimerLabelEG1": {
            "rule": "IF TimerEG.state == on AND TimerUrlaub.state == off THEN label DEVICE ZeitEGDiDoFr TO ab 18:15",
            "active": 1
        },
        "TimerLabelEG2": {
            "rule": "IF TimerEG.state == on AND TimerUrlaub.state == off THEN label DEVICE ZeitEGMoMiWo TO ab 16:30",
            "active": 1
        },
        "TimerLabelEG3": {
            "rule": "IF TimerEG.state == off AND TimerUrlaub.state == off THEN label DEVICE ZeitEGDiDoFr TO nicht aktiv",
            "active": 1
        },
        "TimerLabelEG4": {
            "rule": "IF TimerEG.state == off AND TimerUrlaub.state == off THEN label DEVICE ZeitEGMoMiWo TO nicht aktiv",
            "active": 1
        },
        "TimerLabelOG1": {
            "rule": "IF TimerOG.state == on AND TimerUrlaub.state == off THEN label DEVICE ZeitOG TO 16:00 bis 23:00",
            "active": 1
        },
        "TimerLabelOG2": {
            "rule": "IF TimerOG.state == off AND TimerUrlaub.state == off THEN label DEVICE ZeitOG TO nicht aktiv",
            "active": 1
        },
        "TimerLabelRollos1": {
            "rule": "IF TimerRollos.state == on AND TimerUrlaub.state == off THEN label DEVICE ZeitRollos TO 22:00 bis 7:00",
            "active": 1
        },
        "TimerLabelRollos2": {
            "rule": "IF TimerRollos.state == off AND TimerUrlaub.state == off THEN label DEVICE ZeitRollos TO nicht aktiv",
            "active": 1
        },
        "TimerLabelUrlaubEG1": {
            "rule": "IF TimerUrlaub.state == off THEN label DEVICE ZeitUrlaubEG TO nicht aktiv",
            "active": 1
        },
        "TimerLabelUrlaubEG2": {
            "rule": "IF TimerUrlaub.state == on THEN label DEVICE ZeitUrlaubEG TO 16:00 bis 22:00 ~0:20",
            "active": 1
        },
        "TimerLabelUrlaubEG3": {
            "rule": "IF TimerUrlaub.state == on THEN label DEVICE ZeitEGDiDoFr TO Urlaub",
            "active": 1
        },
        "TimerLabelUrlaubEG4": {
            "rule": "IF TimerUrlaub.state == on THEN label DEVICE ZeitEGMoMiWo TO Urlaub",
            "active": 1
        },
        "TimerLabelUrlaubOG1": {
            "rule": "IF TimerUrlaub.state == off THEN label DEVICE ZeitUrlaubOG TO nicht aktiv",
            "active": 1
        },
        "TimerLabelUrlaubOG2": {
            "rule": "IF TimerUrlaub.state == on THEN label DEVICE ZeitUrlaubOG TO 21:45 bis 23:00 ~0:20",
            "active": 1
        },
        "TimerLabelUrlaubOG3": {
            "rule": "IF TimerUrlaub.state == on THEN label DEVICE ZeitOG TO Urlaub",
            "active": 1
        },
        "TimerLabelUrlaubRollo1": {
            "rule": "IF TimerUrlaub.state == off THEN label DEVICE ZeitUrlaubRollos TO nicht aktiv",
            "active": 1
        },
        "TimerLabelUrlaubRollo2": {
            "rule": "IF TimerUrlaub.state == on THEN label DEVICE ZeitUrlaubRollos TO nicht aktiv",
            "active": 1
        },
        "TimerLabelUrlaubRollo3": {
            "rule": "IF TimerUrlaub.state == on THEN label DEVICE ZeitRollos TO Urlaub",
            "active": 1
        },
        "TimerEGDiDoFrAn1": {
            "rule": "IF TimerUrlaub.state == off AND TimerEG.state == on AND (Currentdatetime.weekday == 3 OR Currentdatetime.weekday == 5 OR Currentdatetime.weekday == 6) AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 18.1500 THEN switch DEVICE Alles TO on",
            "active": 1
        },
        "TimerEGDiDoFrAn2": {
            "rule": "IF TimerUrlaub.state == off AND TimerEG.state == on AND (Currentdatetime.weekday == 3 OR Currentdatetime.weekday == 5 OR Currentdatetime.weekday == 6) AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 18.1400 THEN switch DEVICE Diele TO on",
            "active": 1
        },
        "TimerEGMoMiWoAn1": {
            "rule": "IF TimerUrlaub.state == off AND TimerEG.state == on AND (Currentdatetime.weekday == 2 OR Currentdatetime.weekday == 4 OR Currentdatetime.weekday == 7 OR Currentdatetime.weekday == 1) AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 16.3000 THEN switch DEVICE Alles TO on",
            "active": 1
        },
        "TimerEGMoMiWoAn2": {
            "rule": "IF TimerUrlaub.state == off AND TimerEG.state == on AND (Currentdatetime.weekday == 2 OR Currentdatetime.weekday == 4 OR Currentdatetime.weekday == 7 OR Currentdatetime.weekday == 1) AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 16.2900 THEN switch DEVICE Diele TO on",
            "active": 1
        },
        "TimerUrlaubEGAnAus1": {
            "rule": "IF TimerUrlaub.state == on AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 15.5000 THEN switch DEVICE Kueche TO on AFTER RANDOM(0,20) MINUTE FOR RANDOM(350,370) MINUTE",
            "active": 1
        },
        "TimerUrlaubEGAnAus2": {
            "rule": "IF TimerUrlaub.state == on AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 15.5000 THEN switch DEVICE Esszimmer TO on AFTER RANDOM(0,20) MINUTE FOR RANDOM(350,370) MINUTE",
            "active": 1
        },
        "TimerUrlaubEGAnAus3": {
            "rule": "IF TimerUrlaub.state == on AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 15.5000 THEN switch DEVICE Wohnzimmer TO on AFTER RANDOM(0,20) MINUTE FOR RANDOM(350,370) MINUTE",
            "active": 1
        },
        "TimerUrlaubEGAnAus4": {
            "rule": "IF TimerUrlaub.state == on AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 15.5000 THEN switch DEVICE Diele TO on AFTER RANDOM(0,20) MINUTE FOR RANDOM(350,370) MINUTE",
            "active": 1
        },
        "TimerOGAn": {
            "rule": "IF TimerUrlaub.state == off AND TimerOG.state == on AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 16.0000 THEN switch DEVICE SteckdoseEckig2 TO on",
            "active": 1
        },
        "TimerOGAus": {
            "rule": "IF TimerUrlaub.state == off AND TimerOG.state == on AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 23.0000 THEN switch DEVICE SteckdoseEckig2 TO off",
            "active": 1
        },
        "TimerUrlaubOGAnAus": {
            "rule": "IF TimerUrlaub.state == on AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 21.3500 THEN switch DEVICE SteckdoseEckig2 TO on AFTER RANDOM(0,20) MINUTE FOR RANDOM(65,85) MINUTE",
            "active": 1
        },
        "TimerRolloZu": {
            "rule": "IF TimerUrlaub.state == off AND TimerRollos.state == on AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 22.0000 THEN switch DEVICE RolloEsszimmer TO down",
            "active": 1
        },
        "TimerRolloAuf": {
            "rule": "IF TimerUrlaub.state == off AND TimerRollos.state == on AND DATE_FORMAT(Currentdatetime, %H.%M%S) == 7.0000 THEN switch DEVICE RolloEsszimmer TO up",
            "active": 1
        },
        "DieleAn1": {
            "rule": "IF Diele.state == on THEN switch DEVICE SteckdoseRund1 TO on",
            "active": 1
        },
        "DieleAn2": {
            "rule": "IF Diele.state == on THEN switch DEVICE SteckdoseRund2 TO on AFTER 100 MILLISECOND",
            "active": 1
        },
        "DieleAus1": {
            "rule": "IF Diele.state == off THEN switch DEVICE SteckdoseRund1 TO off",
            "active": 1
        },
        "DieleAus2": {
            "rule": "IF Diele.state == off THEN switch DEVICE SteckdoseRund2 TO off AFTER 100 MILLISECOND",
            "active": 1
        },
        "AllesAn1": {
            "rule": "IF Alles.state == on THEN switch DEVICE Kueche TO on",
            "active": 1
        },
        "AllesAn2": {
            "rule": "IF Alles.state == on THEN switch DEVICE Esszimmer TO on AFTER 400 MILLISECOND",
            "active": 1
        },
        "AllesAn3": {
            "rule": "IF Alles.state == on THEN switch DEVICE Wohnzimmer TO on AFTER 800 MILLISECOND",
            "active": 1
        },
        "AllesAus1": {
            "rule": "IF Alles.state == off THEN switch DEVICE Kueche TO off",
            "active": 1
        },
        "AllesAus2": {
            "rule": "IF Alles.state == off THEN switch DEVICE Esszimmer TO off AFTER 400 MILLISECOND",
            "active": 1
        },
        "AllesAus3": {
            "rule": "IF Alles.state == off THEN switch DEVICE Wohnzimmer TO off AFTER 800 MILLISECOND",
            "active": 1
        },
        "RolloAllesZu1": {
            "rule": "IF RolloAlles.state == down THEN switch DEVICE RolloEsszimmer TO down",
            "active": 1
        },
        "RolloAllesZu2": {
            "rule": "IF RolloAlles.state == down THEN switch DEVICE RolloStrasse TO down AFTER 400 MILLISECOND",
            "active": 1
        },
        "RolloAllesZu3": {
            "rule": "IF RolloAlles.state == down THEN switch DEVICE RolloHof TO down AFTER 800 MILLISECOND",
            "active": 1
        },
        "RolloAllesAuf1": {
            "rule": "IF RolloAlles.state == up THEN switch DEVICE RolloEsszimmer TO up",
            "active": 1
        },
        "RolloAllesAuf2": {
            "rule": "IF RolloAlles.state == up THEN switch DEVICE RolloStrasse TO up AFTER 400 MILLISECOND",
            "active": 1
        },
        "RolloAllesAuf3": {
            "rule": "IF RolloAlles.state == up THEN switch DEVICE RolloHof TO up AFTER 800 MILLISECOND",
            "active": 1
        }
    },
    "gui": {
        "Alles": {
            "name": "Alles",
            "group": [ "Licht" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "Wohnzimmer": {
            "name": "Wohnzimmer",
            "group": [ "Licht" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "Esszimmer": {
            "name": "Esszimmer",
            "group": [ "Licht" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "Kueche": {
            "name": "Küche",
            "group": [ "Licht" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "Diele": {
            "name": "Diele",
            "group": [ "Licht" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "SteckdoseEckig1": {
            "name": "Astrid",
            "group": [ "Licht" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "SteckdoseEckig2": {
            "name": "Schlafzimmer",
            "group": [ "Licht" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "RolloAlles": {
            "name": "Alles",
            "group": [ "Rollos" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "RolloEsszimmer": {
            "name": "Esszimmer",
            "group": [ "Rollos" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "RolloStrasse": {
            "name": "Strasse",
            "group": [ "Rollos" ],
            "media": [ "all" ]
        },
        "RolloHof": {
            "name": "Hof",
            "group": [ "Rollos" ],
            "media": [ "all" ]
        },
        "Weihnachtsbaum": {
            "name": "Weihnachtsbaum",
            "group": [ "Steckdose" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "SteckdoseRund3": {
            "name": "Rund 3",
            "group": [ "Steckdose" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "SteckdoseEckig3": {
            "name": "Eckig 3",
            "group": [ "Steckdose" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "TimerEG": {
            "name": "Timer EG",
            "group": [ "Modus" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "ZeitEGDiDoFr": {
            "name": "Zeit EG Di,Do,Fr",
            "group": [ "Modus" ],
            "media": [ "all" ]
        },
        "ZeitEGMoMiWo": {
            "name": "Zeit EG Mo,Mi,Wo",
            "group": [ "Modus" ],
            "media": [ "all" ]
        },
        "TimerOG": {
            "name": "Timer OG",
            "group": [ "Modus" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "ZeitOG": {
            "name": "Zeit OG",
            "group": [ "Modus" ],
            "media": [ "all" ]
        },
        "TimerRollos": {
            "name": "Timer Rollos",
            "group": [ "Modus" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "ZeitRollos": {
            "name": "Zeit Rollos",
            "group": [ "Modus" ],
            "media": [ "all" ]
        },
        "Sunriseset": {
            "name": "Sonnenauf/untergang",
            "group": [ "Modus" ],
            "media": [ "all" ]
        },
        "Version": {
            "name": "Version",
            "group": [ "Modus" ],
            "media": [ "all" ]
        },
        "TimerUrlaub": {
            "name": "Timer Urlaub",
            "group": [ "Modus" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "ZeitUrlaubEG": {
            "name": "Zeit EG",
            "group": [ "Modus" ],
            "media": [ "all" ]
        },
        "ZeitUrlaubOG": {
            "name": "Zeit OG",
            "group": [ "Modus" ],
            "media": [ "all" ]
        },
        "ZeitUrlaubRollos": {
            "name": "Zeit Rollos",
            "group": [ "Modus" ],
            "media": [ "all" ]
        },
        "Test": {
            "name": "Test Dimmer",
            "group": [ "Modus" ],
            "media": [ "all" ]
        },
        "webcam": {
            "name": "Tor",
            "group": [ "Webcam" ],
            "media": [ "all" ]
        }
    },
    "settings": {
        "log-level": 6,
        "pid-file": "/var/run/pilight.pid",
        "log-file": "/var/log/pilight.log",
        "webserver-enable": 1,
        "webserver-root": "/usr/local/pilight/webgui",
        "webserver-http-port": 5001,
        "webserver-https-port": 5002,
        "webserver-cache": 1,
        "gpio-platform": "raspberrypi3"
    },
    "hardware": {
        "433gpio": {
            "sender": 0,
            "receiver": 1
        }
    },
    "registry": {
        "webgui": {
            "tabs": 1
        },
        "pilight": {
            "version": {
                "current": "7.0"
            }
        }
    }
}

 Uli


Attached Files Thumbnail(s)
           
 
Reply
#2
(01-26-2018, 06:30 PM)Ulrich.Arnold Wrote: I am using nightly 7.0-248 to operate some screens. So i have 3 screen elements and additionally an all screen-button.

If i touch down for all, the down is activated for all 3 devices (with 6 rules to add an delay between the screens, because simultanous Action does still not work in the new version).
This will never work, because the 433.92Mhz technique doesn't allow it.

Quote:This works fine, but there is an gui update issue. If i touch a single button in the gui it gets highlighted and the other button returns to normal. But if switched by the rule, the other button is not reset to normal. See hardcopies
Good catch. Something i need to investigate.
 
Reply
#3
(01-26-2018, 07:29 PM)curlymo Wrote: [quote pid='22577' dateline='1516987809']
This will never work, because the 433.92Mhz technique doesn't allow it.

[/quote]
Hi curlymo!

Yes of cause it's not really simultanous, but before introducing the changes of the rewrite-branch i could use
Code:
        "AllesAn": {
            "rule": "IF Alles.state IS on THEN switch DEVICE Kueche AND Esszimmer AND Wohnzimmer AND Diele TO on",
            "active": 1
        },
        "AllesAus": {
            "rule": "IF Alles.state IS off THEN switch DEVICE Kueche AND Esszimmer AND Wohnzimmer AND Diele TO off",
            "active": 1
        },
for my elro_800_switches. Now I have to introduce a significant delay via multiple rules to make it work
Code:
        "AllesAn1": {
            "rule": "IF Alles.state == on THEN switch DEVICE Kueche TO on",
            "active": 1
        },
        "AllesAn2": {
            "rule": "IF Alles.state == on THEN switch DEVICE Esszimmer TO on AFTER 400 MILLISECOND",
            "active": 1
        },
        "AllesAn3": {
            "rule": "IF Alles.state == on THEN switch DEVICE Wohnzimmer TO on AFTER 800 MILLISECOND",
            "active": 1
        },
        "AllesAus1": {
            "rule": "IF Alles.state == off THEN switch DEVICE Kueche TO off",
            "active": 1
        },
        "AllesAus2": {
            "rule": "IF Alles.state == off THEN switch DEVICE Esszimmer TO off AFTER 400 MILLISECOND",
            "active": 1
        },
        "AllesAus3": {
            "rule": "IF Alles.state == off THEN switch DEVICE Wohnzimmer TO off AFTER 800 MILLISECOND",
            "active": 1
        },

Uli
 
Reply
#4
I think that pilight is just faster into parsing rules. It now sends codes too fast requiring the delay. But as i said, this is as expected for 433.92Mhz.
 
Reply
#5
(01-29-2018, 06:03 PM)curlymo Wrote: I think that pilight is just faster into parsing rules. It now sends codes too fast requiring the delay. But as i said, this is as expected for 433.92Mhz.

But before rewrite this was all in just one rule and there was no notable delay beween the action of the 3 switches.

Now I have to add a notable delay of at least 400 msec to make it reliable.

Is it possible that in rewrite the second command is asynchronously sent, before the first ended?

Uli
 
Reply
#6
Ofc, they are all sent asynchronous, because you can only sent one pulsestream at a time.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Problems after upgrade with switching on and off multiple lamps consecutively Mario.Steinberg 30 1,406 05-02-2019, 05:15 PM
Last Post: curlymo
  Support for shutters nerd123 0 286 10-06-2018, 01:48 PM
Last Post: nerd123
  multiple uuid's, what's the syntax? hansrijn2 3 705 10-31-2017, 12:26 PM
Last Post: curlymo
  multiple 433mhz senders koos147 9 1,818 10-05-2017, 09:12 PM
Last Post: koos147
  One Device Multiple Rules ColdScythe 1 772 11-07-2016, 07:07 PM
Last Post: curlymo
  Multiple Devices - dio_switch jcortes 2 1,316 10-18-2015, 08:31 AM
Last Post: curlymo
  pilight-receive displays multiple protocols per push f0rd42 21 7,815 01-11-2015, 05:15 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)