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

Zeptrion Air #89

Open
christianmeier opened this issue Jun 10, 2018 · 1 comment
Open

Zeptrion Air #89

christianmeier opened this issue Jun 10, 2018 · 1 comment

Comments

@christianmeier
Copy link

christianmeier commented Jun 10, 2018

Hi
I'm trying to control my Zeptrion Air switches by http. I can successfully control them by Restful client

Could some please give me an example how to set up the json file correctly?
Any help on this is appreciated
Chris

POST Example:
Resource URL http:///zrap/chctrl/ch1
Body Data cmd=on

My current config file wich does not work.
{
"accessory": "Http",
"name": "Kitchen",
"on_url": "http://11.11.11.11/zrap/chctrl/ch1",
"on_body": "{cmd=on}",
"on_url": "http://11.11.11.11/zrap/chctrl/ch1",
"off_body": "{cmd=off}",
"sendimmediately": "",
"username": "",
"password": "",
"http_method": "POST "
}

Post Body

cmd stop stop dimming lights or moving blinds
cmd on switch light on (100%)
cmd off switch light off (0%)
cmd toggle toggle light command on to off or off to on
cmd dim_up dim light up (use stop to hold)
cmd dim_down dim light down(use stop to hold)
cmd close close shutters
cmd open open shutters
cmd move_close move shutters to close (use stop to hold)
cmd move_open move shutters to open (use stop to hold)
cmd recall_s(n) recall scene (n 1-4)
cmd store_s(n) store scene (n 1-4)
cmd delete_s(n) delete scene (n 1-4)
cmd dim_up_(t) dim light up and stop after time (t) (t = 100–32000 milliseconds)
cmd dim_down_(t) dim light down and stop after time (t) (t = 100–32000 milliseconds)
cmd move_open_(t) move blind and stop after time (t) (t = 100–32000 milliseconds)
cmd move_close_(t) move blind and stop after time (t) (t = 100–32000 milliseconds)
cmd dim_(t) dim light and stop after time (t) (t = 100–32000 milliseconds)

@RogerB1964
Copy link

Found a solution? I'd be interested as well

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