-
Notifications
You must be signed in to change notification settings - Fork 16
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
Some Babysitting #26
Comments
Shutter are currently not supported. Here are all available shutter commands:
You should be able to get the position with http://myIP:8080/info/ABBXXXXXXXXXX/[channel optional]/[datapoint optional] You can activate a scene with http://myIP:8080/set/scene/SCENEID/ch0000/set You can get the information about all objects with http://myIP:8080/info |
Wow - That was quick. Many thanks for your prompt help! Wilfried |
You can relatively easy set the shutter to a specific position manually with a little code. You need the following datapoints:
Then you can calculate the relative percentage based on the current position and move the shutter up or down for a specific amount of time. If you do the calculation correct the position error should be small (about 5%). I have this implemented in my own project. You can try to implement it in your own if you like to. |
Hi Henry: Then I received a very valuable comment from Lasse Magnussen. In order to position a roller-shutter to a certain percentage, I inserted into Stefan's "sysap-external.js" (about line 67-73; shutter actions block) the line: 'set' : { 'idp0002' : value } (see ruebox/openhab2-addons#21 (comment)). I now can send directly the command "http://myIP:myPort/set/shutter/ABB700C9AB60/ch0003/set/77" to move the roller-shutter to 77%. My intention is to ask Stefan for permission to using that change for private use only. I hope you might find that information helpful as well. Wilfried |
Cool, seems I missed that. Will try to implement that in my own project as it's way better than an approximation using timeouts. You can also set a datapoint without modifying the API directly. Try http://myIP:myPort/raw/ABBXXXXX/chXXXX/dpXXXX/77 |
Hi Stefan - Thanks to your excellent work at GitHub, I today have finished my project to interface my Z-Wave based FIBARO system with my FreeHome devices. As you might have already seen at your GitHub “home —> Issues” blog, I have extended your code by one statement to enable my roller-shutters to be positioned directly to a certain percentage.
Since I’m using that change for my private installation only, I hope you are okay with my modification.
Thanks again for your help!
Wilfried
… On 14. Mar 2019, at 15:37, Stefan Stadlberger ***@***.***> wrote:
Shutter are currently not supported. Here are all available shutter commands:
up
down
toggle-up
toggle-down
pulse-up
pulse-down
stop
You should be able to get the position with http://myIP:8080/info/ABBXXXXXXXXXX/[channel <http://myip:8080/info/ABBXXXXXXXXXX/%5Bchannel> optional]/[datapoint optional]
You can activate a scene with http://myIP:8080/set/scene/SCENEID/ch0000/set <http://myip:8080/set/scene/SCENEID/ch0000/set>
(I'm not sure about ch0000, you might also want to try other channels).
You can get the information about all objects with http://myIP:8080/info <http://myip:8080/info>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#26 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Am4GT_EqwUN6EjOTKyoNNyoxhlnVx-qWks5vWl6ygaJpZM4b0Gnx>.
|
Hi all, SyntaxError: Invalid or unexpected token Pasted the JID, SysAP IP and Password to config.js (config.bosh & config.websocket) and tried "node home.js" |
Hi, a couple of questions: Did you make a copy of config.default.js and renamed it to config.js? If so can you please post a redacted (no passwords etc.) copy of your config.js? It looks like it may contain a typo. Cheers, |
I have found this project most recently and installed the software on my PI3. Everything looks great and I have started to play with the WebAPI. As I'm not an experienced programmer, could anybody please give me some babysitting for my experiments?
I figured out to e.g. close a shutter by: http://myIP:8080/set/shutter/ABB700D307C4/ch0003/down
What I'm unable to find right now are commands like:
I know about openHAB, however, it just makes fun to play a bit with this software.
Thank you.
Wilfried
The text was updated successfully, but these errors were encountered: