Code Monkey home page Code Monkey logo

Comments (3)

SphtKr avatar SphtKr commented on September 15, 2024

Hmm...I thought I had support for "binary switch" window coverings before, but I don't see it now. Either I'm misremembering or I took it out when I added multilevel support. Anyway...

Can you send me a your /devices JSON output? I can use that to figure out which kind of device needs the command sent to.

from homebridge-zway.

A5HRAJ avatar A5HRAJ commented on September 15, 2024

Sure :)

{
    "data":{
        "structureChanged":true,
        "updateTime":1469356292,
        "devices":[
            {
                "creationTime":1469355042,
                "creatorId":7,
                "deviceType":"battery",
                "h":-592588978,
                "hasHistory":false,
                "id":"BatteryPolling_7",
                "location":0,
                "metrics":{
                    "probeTitle":"Battery",
                    "scaleTitle":"%",
                    "title":"Battery digest 7"
                },
                "permanently_hidden":false,
                "probeType":"",
                "tags":[

                ],
                "visibility":true,
                "updateTime":1469355042
            },
            {
                "creationTime":1469355662,
                "creatorId":1,
                "deviceType":"switchMultilevel",
                "h":1107079067,
                "hasHistory":false,
                "id":"ZWayVDev_zway_3-0-38",
                "location":0,
                "metrics":{
                    "icon":"blinds",
                    "title":"Somfy Shade 1",
                    "level":1
                },
                "permanently_hidden":false,
                "probeType":"motor",
                "tags":[

                ],
                "visibility":true,
                "updateTime":1469355773
            },
            {
                "creationTime":1469355688,
                "creatorId":1,
                "deviceType":"switchBinary",
                "h":1107079066,
                "hasHistory":false,
                "id":"ZWayVDev_zway_3-0-37",
                "location":0,
                "metrics":{
                    "icon":"switch",
                    "title":"Somfy Switch 1",
                    "level":"off"
                },
                "permanently_hidden":false,
                "probeType":"",
                "tags":[

                ],
                "visibility":true,
                "updateTime":1469355773
            }
        ]
    },
    "code":200,
    "message":"200 OK",
    "error":null
}

For some reason, each virtual node shows up as two elements. "Somfy Shade 1" and "Somfy Switch 1" operate the same shade. Both of them can raise and lower the shade, but only "Somfy Shade 1" can stop the shade (using the command StopLevelChange).

from homebridge-zway.

SphtKr avatar SphtKr commented on September 15, 2024

Believed fixed in 969d905, release 0.5.0-alpha4. Reopen if still an issue!

from homebridge-zway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.