Hop til indhold

Leaderboard

Popular Content

Showing content with the highest reputation on 15-12-2020 in all areas

  1. First create a new String item called "VoiceCommands" or something like that. Then go to: openhab/paperui/index.html#/configuration/services?tab=voice and select the new String item called "VoiceCommands" Then you have to create a rule for each command in your rules folder, see https://www.openhab.org/docs/configuration/rules-dsl.html rule "Light kitchen" when Item VoiceCommands received command then val result = VoiceCommands.state.toString.toLowerCase if (result.contains("kitchen light on")) { GF_Kitchen_Light_Table.sendCommand(ON) } else if (result.contains("kitchen light off")) { GF_Kitchen_Light_Table.sendCommand(OFF) } end Here is a example off turning on and off my kitchen switch light. You can also use Rules in Paper UI, but it might be a little buggy because off lower and uppercase letters.
    1 point
This leaderboard is set to København/GMT+01:00
×
×
  • Tilføj...

Important Information

Privatlivspolitik og We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

1200x630bb.png

ok