Hello, i hope anyone can help me.
I would like to control my PS4 or my TV with S.E.P.I.A. and do this in openhab via the Harmonyhub.
The developer and I are trying to find out how S.E.P.I.A. that can change strings.
Now my question, how do you control the strings that the Harmony Binding creates using the REST API?
Here are my current actions that I have created:
{“link”:"[http://192.168.0.25:8080/rest/items/HarmonyHub_",“state”:“NULL”,“stateDescription”:{“pattern”:"%s",“readOnly”:false,"options":{“value”:“PowerOff”,“label”:“PowerOff”},{“value”:"Fernsehen gucken",“label”:“Fernsehen gucken”},{“value”:“Film über Fernseher gucken”,“label”:“Film über Fernseher gucken”},{“value”:“PS3 spielen”,“label”:“PS3 spielen”},{“value”:“PS4 spielen”,“label”:“PS4 spielen”},{“value”:“SHIELD TV spielen”,“label”:“SHIELD TV spielen”},{“value”:“Film auf PS3 gucken”,“label”:“Film auf PS3 gucken”},{“value”:“Film auf SHIELD TV gucken”,“label”:“Film auf SHIELD TV gucken”},{“value”:“Film auf PS4 gucken”,“label”:“Film auf PS4 gucken”}]},“commandDescription”:{“commandOptions”:[{“command”:“PowerOff”,“label”:“PowerOff”},{“command”:“Fernsehen gucken”,“label”:“Fernsehen gucken”},{“command”:“Film über Fernseher gucken”,“label”:“Film über Fernseher gucken”},{“command”:“PS3 spielen”,“label”:“PS3 spielen”},{“command”:“PS4 spielen”,“label”:“PS4 spielen”},{“command”:“SHIELD TV spielen”,“label”:“SHIELD TV spielen”},{“command”:“Film auf PS3 gucken”,“label”:“Film auf PS3 gucken”},{“command”:“Film auf SHIELD TV gucken”,“label”:“Film auf SHIELD TV gucken”},{“command”:“Film auf PS4 gucken”,“label”:“Film auf PS4 gucken”}]},“editable”:true,“type”:“String”,“name”:“HarmonyHub_”,“label”:“Fernbedienung”,“tags”:[“sepia-room\u003dlivingroom”,“sepia-state-type\u003d”,“sepia-type\u003dtv”,“sepia-name\u003dHarmonyFB”],“groupNames”:[]}
How can I now change the status via the REST API so that the actions are carried out?
For example, playing on PS4, the PS4 and the soundbar would also be switched on.
I hope my englisch is not to bad.
Thanks you for your help