Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Rollershutter #7

Closed
htreu opened this issue Jun 9, 2015 · 9 comments
Closed

Implement Rollershutter #7

htreu opened this issue Jun 9, 2015 · 9 comments

Comments

@htreu
Copy link
Owner

htreu commented Jun 9, 2015

No description provided.

@lilalinux
Copy link

The Rollershutter works fine with the dimmer code :-)

updateOpenHabItem(value, callback) {
    console.log("received rollershutter value from iOS: " + value + ' ' + this.url);
    if (this.updatingFromOpenHAB) {
        callback();
        return;
    }
    var command = 0;
    if (typeof value === 'boolean') {
        command = value ? '100' : '0';
    } else {
        command = "" + value;
    }
    request.post(
            this.url,
            {
                body: command,
                headers: {'Content-Type': 'text/plain'}
            },
            function (error, response, body) {
                    if (!error && response.statusCode == 200) {
                            console.log(body)
                    }
                    callback();
            }
    );
};

@htreu
Copy link
Owner Author

htreu commented Sep 23, 2015

cool. pull requests are welcome :-)

what is still open: update the CurrentPosition and PositionState while the roller shutter is moving.

@lilalinux
Copy link

BTW: Do you know the german Siri command for operating the shutters?

@lilalinux
Copy link

I added a pull request

@tex4ever
Copy link

Hi, could you please tell me how you got your shutters working?

I have:
(in items)
Rollershutter EG_Wohnzimmer_Rolladen_Links "Fenster links" (EG_Wohnzimmer_Rolladen) { knx="6/1/3,6/2/3" }

(in sitemap)
Switch item=EG_Wohnzimmer_Rolladen_Links label="Wohnzimmer links"

Now, when I say in German:

  • Setze Rolladen Wohnzimmer links auf 0%. -> nothing happens
  • I tried several other stuff, but when I say: Setze Rolladen auf 0%. then Siri recognize my item, but doesn't do anything. Strange is to, that Siri says: Setze Rolladen Wohnzimmer auf %. (without a number, just %).

How did you get this working? Do you say: Dimme Wohnzimmer links auf 0%? Could you please explain how you accomplished this? ;-)

Thanks a lot ;-)

@lilalinux
Copy link

@tex4ever You need to create a scene. There is currently no workable RollerShutter voice command in Siri (although Siri's "error message" indicates, that it does know "something" about RollerShutter.

@JanGoe
Copy link

JanGoe commented Jan 5, 2016

Hello,

any news for the RollerShutter possible ?

@lilalinux
Copy link

Not that I'm aware of, but you can use a scene to workaround

@htreu
Copy link
Owner Author

htreu commented Feb 15, 2016

Rollershutters do work as of 35eafde (basic implementation). See #18 for german voice commands and sample rules to control up/down shutters.

@htreu htreu closed this as completed Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants