Hallo zusammen,
ich versuche meinen Shelly Plus 1PM per MQTT2 ein- und auszuschalten. Leider gelingt mir dies nicht und ich brauche Hilfe.
Anbei das List des Devices:
Internals:
CFGFN
CID shellyplus1pm_a8032abe179c
DEF shellyplus1pm_a8032abe179c
DEVICETOPIC MQTT2_shellyplus1pm_a8032abe179c
FUUID 6197d5c8-f33f-e93f-d43c-da313fabf5089409
IODev myBroker
LASTInputDev myBroker
MSGCNT 14
NAME MQTT2_shellyplus1pm_a8032abe179c
NR 427
STATE ???
TYPE MQTT2_DEVICE
myBroker_MSGCNT 14
myBroker_TIME 2021-11-19 17:53:10
READINGS:
2021-11-19 17:50:16 IODev myBroker
2021-11-19 17:50:16 mqtt_connected true
2021-11-19 17:50:16 online true
2021-11-19 17:53:10 rpc_dst shellyplus1pm-a8032abe179c/events
2021-11-19 17:53:10 rpc_method NotifyStatus
2021-11-19 17:50:16 rpc_params_mqtt_connected true
2021-11-19 17:53:10 rpc_params_switch_0_aenergy_by_minute_1 0.000
2021-11-19 17:53:10 rpc_params_switch_0_aenergy_by_minute_2 0.000
2021-11-19 17:53:10 rpc_params_switch_0_aenergy_by_minute_3 0.000
2021-11-19 17:53:10 rpc_params_switch_0_aenergy_minute_ts 1637340778
2021-11-19 17:53:10 rpc_params_switch_0_aenergy_total 271.561
2021-11-19 17:53:10 rpc_params_switch_0_id 0
2021-11-19 17:50:16 rpc_params_switch_0_temperature_tC 52.00
2021-11-19 17:50:16 rpc_params_switch_0_temperature_tF 125.60
2021-11-19 17:50:16 rpc_params_switch_0_voltage 234.09
2021-11-19 17:50:26 rpc_params_sys_available_updates_beta_version 0.9.0-beta2
2021-11-19 17:53:10 rpc_params_ts 1637340780.19
2021-11-19 17:50:16 rpc_params_wifi_rssi -47
2021-11-19 17:50:16 rpc_params_wifi_ssid Finger von die Box
2021-11-19 17:50:16 rpc_params_wifi_sta_ip 192.168.187.246
2021-11-19 17:50:16 rpc_params_wifi_status got ip
2021-11-19 17:53:10 rpc_src shellyplus1pm-a8032abe179c
2021-11-19 17:52:59 switch_0_aenergy_by_minute_1 0.000
2021-11-19 17:52:59 switch_0_aenergy_by_minute_2 0.000
2021-11-19 17:52:59 switch_0_aenergy_by_minute_3 0.000
2021-11-19 17:52:59 switch_0_aenergy_minute_ts 1637340778
2021-11-19 17:52:59 switch_0_aenergy_total 271.561
2021-11-19 17:52:59 switch_0_apower 0.000
2021-11-19 17:52:59 switch_0_id 0
2021-11-19 17:52:59 switch_0_output true
2021-11-19 17:52:59 switch_0_source init
2021-11-19 17:52:59 switch_0_temperature_tC 52.1
2021-11-19 17:52:59 switch_0_temperature_tF 125.8
2021-11-19 17:52:59 switch_0_voltage 233.790
2021-11-19 17:50:26 sys_available_updates_beta_version 0.9.0-beta2
2021-11-19 17:50:26 sys_fs_free 258781
2021-11-19 17:50:26 sys_fs_size 414401
2021-11-19 17:50:26 sys_mac A8032ABE179C
2021-11-19 17:50:26 sys_ram_free 181036
2021-11-19 17:50:26 sys_ram_size 250040
2021-11-19 17:50:26 sys_restart_required false
2021-11-19 17:50:26 sys_time 17:50
2021-11-19 17:50:26 sys_unixtime 1637340626
2021-11-19 17:50:26 sys_uptime 15
Attributes:
alias Trockner
readingList shellyplus1pm_a8032abe179c:shellyplus1pm-a8032abe179c/online:.* online
shellyplus1pm_a8032abe179c:shellyplus1pm-a8032abe179c/status/mqtt:.* { json2nameValue($EVENT, 'mqtt_', $JSONMAP) }
shellyplus1pm_a8032abe179c:shellyplus1pm-a8032abe179c/events/rpc:.* { json2nameValue($EVENT, 'rpc_', $JSONMAP) }
shellyplus1pm_a8032abe179c:shellyplus1pm-a8032abe179c/status/sys:.* { json2nameValue($EVENT, 'sys_', $JSONMAP) }
shellyplus1pm_a8032abe179c:shellyplus1pm-a8032abe179c/status/switch_0:.* { json2nameValue($EVENT, 'switch_0_', $JSONMAP) }
room MQTT2_DEVICE
Bisher habe ich diese SetList ausprobiert :
on shellies/shellyplus1pm_a8032abe179c/relay/0/command on
off shellies/shellyplus1pm_a8032abe179c/relay/0/command off
auch ein
off shellies/shellyplus1pm_a8032abe179c/rpc {"method":"Switch.Set","params":{"id":0,"on":false}}
hat nicht funktioniert.
Gruß
Roman
EDIT: Falscher Type im Betreff, geändert