Supereg / homebridge-http-switch

Powerful http switch for Homebridge: https://github.com/homebridge/homebridge
ISC License
219 stars 36 forks source link

shelly 2.5 tasmota #73

Closed steini72 closed 3 years ago

steini72 commented 3 years ago
        {
            "accessory": "HTTP-SWITCH",
            "name": "shelly2 5",
            "switchType": "stateful",
            "onUrl": {
                "url": "http://192.168.50.134/cm?cmnd=Power1%20On",
                "method": "POST"
            },
            "offUrl": {
                "url": "http://192.168.50.134/cm?cmnd=Power1%20Off",
                "method": "POST"
            },
            "statusUrl": {
                "url": "http://192.168.50.134/cm?cmnd=Power1",
                "method": "GET"
            },
            "statusPattern": "\"POWER1\":OFF",
            "pullInterval": 3000
        },

not work?

steini72 commented 3 years ago

my mistake "statusPattern": "\"POWER1\":\"ON", works