From c00c26251984ad8a7e8b356f8bd72c8cb484ea63 Mon Sep 17 00:00:00 2001 From: Beta-User <> Date: Thu, 12 Mar 2020 18:43:43 +0000 Subject: [PATCH] mqtt2.template: add zigbee2mqtt ota setters, small tasmota 3ch+usb template git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21413 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/lib/AttrTemplate/mqtt2.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FHEM/lib/AttrTemplate/mqtt2.template b/FHEM/lib/AttrTemplate/mqtt2.template index bdf624001..b301fac86 100644 --- a/FHEM/lib/AttrTemplate/mqtt2.template +++ b/FHEM/lib/AttrTemplate/mqtt2.template @@ -82,6 +82,8 @@ attr DEVICE setList\ log_level:debug,info,warn,error $\DEVICETOPIC/bridge/config/log_level $EVTPART1\ permit_join:true,false $\DEVICETOPIC/bridge/config/permit_join $EVTPART1\ remove:textField $\DEVICETOPIC/bridge/config/remove $EVTPART1\ + ota_update:textField $\DEVICETOPIC/bridge/ota_update/update $EVTPART1\ + ota_update_check:textField $\DEVICETOPIC/bridge/ota_update/check $EVTPART1\ y_device_setting:textField $\DEVICETOPIC/$EVTPART1/set {"$EVTPART2": "$EVTPART3"}\ x_bind:textField $\DEVICETOPIC/bridge/bind/$EVTPART1 $EVTPART2\ x_bind_unbind:textField $\DEVICETOPIC/bridge/unbind/$EVTPART1 $EVTPART2\ @@ -1049,7 +1051,7 @@ attr DEVICE setList\ toggle:noArg CMNDTOPIC/POWER1 2\ x_Reboot:noArg CMNDTOPIC/restart 1\ x_Status:noArg CMNDTOPIC/Status\ - x_setOtaUrl:http://thehackbox.org/tasmota/release/tasmota-DE.bin CMNDTOPIC/OtaUrl $EVTPART1\ + x_setOtaUrl:multiple,http://thehackbox.org/tasmota/release/tasmota-DE.bin CMNDTOPIC/OtaUrl $EVTPART1\ x_upgrade:noArg CMNDTOPIC/upgrade 1\ x_ShowHostname:noArg CMNDTOPIC/Backlog setoption53 1; Status;\ x_DisableBlinkLED:noArg CMNDTOPIC/Backlog LEDPower 0; setoption31 1; Status;\