2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

spechrecogn.template: temporarily disable alexaName questioning

git-svn-id: https://svn.fhem.de/fhem/trunk@21433 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Beta-User 2020-03-15 20:36:08 +00:00
parent ce2712f0a5
commit 51a745ca4a
2 changed files with 5 additions and 5 deletions

View File

@ -891,7 +891,7 @@ attr DEVICE_CH2 setList \
on:noArg CMNDTOPIC/POWER2 1\ on:noArg CMNDTOPIC/POWER2 1\
toggle:noArg CMNDTOPIC/POWER2 2 toggle:noArg CMNDTOPIC/POWER2 2
attr DEVICE_CH2 setStateList on off toggle attr DEVICE_CH2 setStateList on off toggle
set DEVICE_CH2 attrTemplate speech_recognition_alaxaName_firstrun #set DEVICE_CH2 attrTemplate speech_recognition_alaxaName_firstrun
attr DEVICE,DEVICE_CH2 model tasmota_2channel_split attr DEVICE,DEVICE_CH2 model tasmota_2channel_split
#contributed by 87insane #contributed by 87insane
@ -1128,9 +1128,9 @@ attr DEVICE_USB icon rc_USB
#finally set the model attr for all new devices and do a reboot of device #finally set the model attr for all new devices and do a reboot of device
set IO_DEV publish CMNDTOPIC/status set IO_DEV publish CMNDTOPIC/status
set IO_DEV publish CMNDTOPIC/restart 1 set IO_DEV publish CMNDTOPIC/restart 1
set DEVICE_CH2 attrTemplate speech_recognition_general_naming_master_template #set DEVICE_CH2 attrTemplate speech_recognition_general_naming_master_template
set DEVICE_CH3 attrTemplate speech_recognition_general_naming_master_template #set DEVICE_CH3 attrTemplate speech_recognition_general_naming_master_template
set DEVICE_USB attrTemplate speech_recognition_general_naming_master_template #set DEVICE_USB attrTemplate speech_recognition_general_naming_master_template
farewell:Template has been applied successfully. Wait some seconds for reboot to complete and watch readings get populated. farewell:Template has been applied successfully. Wait some seconds for reboot to complete and watch readings get populated.
attr DEVICE,DEVICE_CH2,DEVICE_CH3,DEVICE_USB model tasmota_3socketUSB_channel_split attr DEVICE,DEVICE_CH2,DEVICE_CH3,DEVICE_USB model tasmota_3socketUSB_channel_split

View File

@ -85,7 +85,7 @@ order:10000200
desc:generic template to set attributes for identifying this device by speech recognition software. This template will call several sub-templates - dependent on the speech recognition solutions which are in use in your installation. Pls. do not use one of the subtemplates directly. Call e.g. with set xy attrTemplate speech_recognition_general_naming_master_template desc:generic template to set attributes for identifying this device by speech recognition software. This template will call several sub-templates - dependent on the speech recognition solutions which are in use in your installation. Pls. do not use one of the subtemplates directly. Call e.g. with set xy attrTemplate speech_recognition_general_naming_master_template
option:{my @devices=devspec2array("TYPE=siri");; $devices[0] ? return 1 : return 0} option:{my @devices=devspec2array("TYPE=siri");; $devices[0] ? return 1 : return 0}
option:{my @devices=devspec2array("TYPE=alexa");; $devices[0] ? return 1 : return 0} option:{my @devices=devspec2array("TYPE=alexa");; $devices[0] ? return 1 : return 0}
set DEVICE attrTemplate speech_recognition_alaxaName_firstrun #set DEVICE attrTemplate speech_recognition_alaxaName_firstrun
option:{my @devices=devspec2array("TYPE=gassistant");; $devices[0] ? return 1 : return 0} option:{my @devices=devspec2array("TYPE=gassistant");; $devices[0] ? return 1 : return 0}