Sidehistorik
...
Tip |
---|
This page is very much WIP - Work in progressIn Progress, I have not a complete understading og understanding of the group and tags used in my files |
...
The setup itself is described here and works ok - https://www.openhab.org/docs/ecosystem/alexa/ - the use of https://myopenhab.org/ has a few benifits: 1) Takes care of the oAuth2 authentification precess and 2) You dont need to open for openHAB in Your firewall.
After the setup I could not get my.openhab.com to talk to my local openHAB, I saw these in the openhab.log:
...
but after a while and a few UUID/Socket entering and restarts it suddenly worked.... I never figured out why...
...
Then I created some files for binding the speach to Alexa and the (Zensehome) Things together.
Refer to OpenHAB with Zensehome . The Channel is the relation to a Thing; the "mqtt:topic:61a4bec6:kitchen-light" is the unique identifier.
Kodeblok | ||
---|---|---|
| ||
Switch Kitchen_Light "Kitchen Light" <light> (Kitchen) ["Lighting"] {channel="mqtt:topic:61a4bec6:kitchen-light"} Switch Dinner_Table_Light "Dinner Table Light" <light> (Kitchen) ["Lighting"] {channel="mqtt:topic:61a4bec6:alrum-light"} Switch Bedroom_Light "Bedroom Light" <light> (Bedroom) ["Lighting"] {channel="mqtt:topic:61a4bec6:bedrom-light"} Switch Toke_Light "Toke Ceiling Light" <light> (TokesRoom) ["Lighting"] {channel="mqtt:topic:61a4bec6:toke-light"} Switch Christopher_Light "Christopher Ceiling Light" <light> (ChristhopersRoom) ["Lighting"] {channel="mqtt:topic:61a4bec6:christopher-light"} Switch Large_bathroom_Light "Large Bathroom Light" <light> (LargeBathroom) ["Lighting"] {channel="mqtt:topic:61a4bec6:large-bathroom"} Switch Small_Bathroom_Light "Small Bathroom Light" <light> (SmallBathroom) ["Lighting"] {channel="mqtt:topic:61a4bec6:small-bathroom"} Switch TV_Light "TV Light" <light> (LivingRoom) ["Lighting"] {channel="mqtt:topic:61a4bec6:livingroom-floor-switch-south"} Switch Vintrine_Light "Vitrine Light" <light> (LivingRoom) ["Lighting"] {channel="mqtt:topic:61a4bec6:livingroom-floor-switch-west"} Switch Redlamps_Light "Redlamps Light" <light> (LivingRoom) ["Lighting"] {channel="mqtt:topic:61a4bec6:livingroom-ceiling-north"} Switch Office_Light "Office Light" <light> (Office) ["Lighting"] {channel="mqtt:topic:61a4bec6:office-ceiling"} |
...