Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

...

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
title/etc/openhab2/items/alexa.items
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"}

...