mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 07:16:03 +00:00
mqtt2.template: bugfix in shellyPlus_2pm_split
git-svn-id: https://svn.fhem.de/fhem/trunk@28001 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e651cd5e2c
commit
7773216177
@ -3734,8 +3734,8 @@ attr DEVICE readingList $\DEVICETOPIC/online:.* online\
|
|||||||
attr DEVICE setList toggle:noArg $\DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.Toggle","params": {"id":0}}\
|
attr DEVICE setList toggle:noArg $\DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.Toggle","params": {"id":0}}\
|
||||||
off:noArg $\DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":false}}\
|
off:noArg $\DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":false}}\
|
||||||
on:noArg $\DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":true}}\
|
on:noArg $\DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":true}}\
|
||||||
on-for-timer $\DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.Set","params": {"id":1,"on":true,"toggle_after":$EVTPART1}}\
|
on-for-timer $\DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":true,"toggle_after":$EVTPART1}}\
|
||||||
off-for-timer $\DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.Set","params": {"id":1,"on":false,"toggle_after":$EVTPART1}}\
|
off-for-timer $\DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":false,"toggle_after":$EVTPART1}}\
|
||||||
x_update:noArg $\DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Update","params": {"stage":"stable"}}\
|
x_update:noArg $\DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Update","params": {"stage":"stable"}}\
|
||||||
x_reboot:noArg $\DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Reboot"}
|
x_reboot:noArg $\DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Reboot"}
|
||||||
attr DEVICE jsonMap params_switch_0_state:state params_switch_0_aenergy_total:aenergy_total params_switch_0_apower:apower params_switch_0_temperature_tC:temperature params_switch_0_temperature_tF:0 params_wifi_sta_ip:ip temperature_tC:temperature temperature_tF:0
|
attr DEVICE jsonMap params_switch_0_state:state params_switch_0_aenergy_total:aenergy_total params_switch_0_apower:apower params_switch_0_temperature_tC:temperature params_switch_0_temperature_tF:0 params_wifi_sta_ip:ip temperature_tC:temperature temperature_tF:0
|
||||||
@ -3760,7 +3760,7 @@ attr DEVICE_CH# devicetopic DEV_TPC
|
|||||||
loop:END
|
loop:END
|
||||||
set DEVICE attrTemplate set_associatedWith \CHANNELS=2
|
set DEVICE attrTemplate set_associatedWith \CHANNELS=2
|
||||||
set DEVICE,DEVICE_CH2 attrTemplate speechcontrol_type_switch
|
set DEVICE,DEVICE_CH2 attrTemplate speechcontrol_type_switch
|
||||||
setreading DEVICE,DEVICE_CH2 attrTemplateVersion 20230111
|
setreading DEVICE,DEVICE_CH2 attrTemplateVersion 20230927
|
||||||
attr DEVICE,DEVICE_CH2 model shellyPlus_2pm_split
|
attr DEVICE,DEVICE_CH2 model shellyPlus_2pm_split
|
||||||
|
|
||||||
# Shelly Plus 2 PM using original firmware in roller mode.
|
# Shelly Plus 2 PM using original firmware in roller mode.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user