Hey Guys,
I like to control my shutters for some situations via a shell command.
I am not able to find the correct syntax to let the shutter run.
http://192.168.178.200/api/devices/jalousiemodul-esszimmer
results in
{"device":{"id":"jalousiemodul-esszimmer","name":"Jalousiemodul Esszimmer","template":"shutter","attributes":[{"label":"Position","description":"State of the shutter","type":"string","enum":["up","down","stopped"],"discrete":true,"name":"position","value":"stopped","history":[{"t":1531676423389,"v":"stopped"},{"t":1532136982628,"v":"stopped"},{"t":1532167432172,"v":"down"},{"t":1532167453877,"v":"stopped"},{"t":1532202861457,"v":"down"},{"t":1532202882791,"v":"stopped"}],"lastUpdate":1532202882791}],"actions":[{"description":"Raise the shutter","name":"moveUp"},{"description":"Lower the shutter","name":"moveDown"},{"description":"Stops the shutter move","name":"stop"},{"description":"Changes the shutter state","params":{"state":{"type":"string"}},"name":"moveToPosition"},{"description":"Move shutter by percentage relative to current position","params":{"percentage":{"type":"number"}},"name":"moveByPercentage"}],"config":{"protocols":[{"name":"shutter3","options":{"id":46491981,"channel":6,"command":""},"send":true}],"xConfirm":true,"id":"jalousiemodul-esszimmer","name":"Jalousiemodul Esszimmer","class":"HomeduinoRFShutter"},"configDefaults":{"protocols":[],"forceSend":true},"capabilities":["Actuator","ShutterController"]},"success":true}
My idea was simply to use:
http://192.168.178.200/api/devices/jalousiemodul-esszimmer/moveDown
But it doesn’t work!
Maybe I’m to blind to find the correct way. Can somebody help please…