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

not really an issue mostly a feature request :) #25

Open
Mrdindon opened this issue Oct 5, 2021 · 2 comments
Open

not really an issue mostly a feature request :) #25

Mrdindon opened this issue Oct 5, 2021 · 2 comments

Comments

@Mrdindon
Copy link

Mrdindon commented Oct 5, 2021

In the "Target door state", do you think it would be possible to add a third option ie.: Value = "2" that would act as a toggle switch so that when I set the value to "2", if the door is opened it would close it and its opposite if it is already closed ?

The reason for that is that I would like to make some automation from "ios shortcut" directly from the apple watch but conditional shortcuts doesn't seem to work from the watch (it works only from an iphone)

So that way, if you could implement that sort of "value=2" I could make a simple curl query from shortcut on the apple watch :)

Would it be hard to do ?

query:

curl -X PUT --header "Content-Type:Application/json" --header "authorization: XXX-XX-XXX" http://IPAddress/characteristics --data '{"characteristics":[{"aid":27,"iid":10,"value":2}]}'

{
"format" : "uint8",
"iid" : 10,
"perms" : [
"ev",
"pr",
"pw"
],
"maxValue" : 1,
"minValue" : 0,
"value" : 1,
"type" : "32",
"description" : "Target Door State",
"minStep" : 1,

@knuckleheadsmiff
Copy link
Owner

knuckleheadsmiff commented Oct 5, 2021

It's not trivial (for me) because of the way the code is structured and for the fact that it may not have the correct current door state. Ideally to make it work I'd send a 'toggle' command to ryobi backend and it would return the new door state.

You might try looking into scripting a shortcut to the ryobi app to see if you can do what you need to do.

I'm also not really doing active development because i'm not set up for it currently (I could do small bug fixes if needed but not new features.)

Worse, I can't test currently because my garage door (not the opener) is busted and because of supply chain issues my new door is not expected to be installed until December (a 5 month wait for what pre-pandemic would have been 2 weeks!) I also may be upgrading my opener when I get the new door although I have not made that decision yet-- If I do that I'll be looking for someone to take ownership of this.

I'll leave this request as open for now.

@Mrdindon
Copy link
Author

Mrdindon commented Oct 5, 2021

I totally understand ! I'm also thinking of replacing the opener... so many issues with it... even the car remotes are not reliable !

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

2 participants