Hallo,
wollte grad einen zweiten sonoff mini anlernen mit autocreate..
eigentlich genauso wie ich den ersten eingerichtet hab.. finde aber nicht den fehler warum er nicht schaltet..in der kleinen icon lampe ist ein ausrufezeichen...
hier mal das list von dem nicht funktionierenden device
Internals:
CID DVES_C8A42E
DEF DVES_C8A42E
DEVICETOPIC MQTT2_DVES_C8A42E
FUUID 5ff9c0de-f33f-ba8d-b8ef-bf45c15e56ffe81a
IODev MQTT2_FHEM_Server
NAME MQTT2_DVES_C8A42E
NR 134
STATE set_on
TYPE MQTT2_DEVICE
JSONMAP:
Channel_0 0
Channel_1 0
Channel_2 0
Channel_3 0
Channel_4 0
Color 0
Dimmer 0
HSBColor 0
POWER1 0
POWER2 0
POWER3 0
POWER4 0
READINGS:
2021-01-09 15:46:29 attrTemplateVersion 20200522 or prior
2021-01-09 15:52:53 off set
2021-01-09 15:55:54 on set
2021-01-09 16:01:09 state set_on
2021-01-09 15:58:46 subscriptions Smarthome/Esszimmer/Esszimmerlampe/cmnd/# Smarthome/Esszimmer/sonoffs/cmnd/# cmnd/DVES_C8A42E_fb/#
Attributes:
IODev MQTT2_FHEM_Server
alexaName Esszimmerlampe
autocreate 0
comment NOTE: For on-for-timer SetExtensions are used. You may add on-for-timer option running on the device. The following is limited to 1h max duration, but will not affect future simple "on" commands:<br>on-for-timer {my $duration = $EVTPART1*10; 'cmnd/Smarthome/Esszimmer/sonoff/cmnd/Backlog POWER1 1; delay '.$duration.'; POWER1 0'}<br>See the "Praxisbeispiele" in the wiki for "pulseTime1" alternative option and it's restrictions.
genericDeviceType switch
icon hue_filled_outlet
jsonMap POWER1:0 POWER2:0 POWER3:0 POWER4:0 Dimmer:0 Channel_0:0 Channel_1:0 Channel_2:0 Channel_3:0 Channel_4:0 HSBColor:0 Color:0
model tasmota_basic_state_power1
readingList Smarthome/Esszimmer/sonoff/tele/LWT:.* LWT
Smarthome/Esszimmer/sonoff/tele/STATE:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Esszimmer/sonoff/tele/SENSOR:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Esszimmer/sonoff/tele/INFO.:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Esszimmer/sonoff/tele/UPTIME:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Esszimmer/sonoff/stat/POWER1:.* state
Smarthome/Esszimmer/sonoff/stat/RESULT:.* { json2nameValue($EVENT,'',$JSONMAP) }
room MQTT2_DEVICE
setList off:noArg Smarthome/Esszimmer/sonoff/cmnd/POWER1 0
on:noArg Smarthome/Esszimmer/sonoff/cmnd/POWER1 1
toggle:noArg Smarthome/Esszimmer/sonoff/cmnd/POWER1 2
setOtaUrl:textField Smarthome/Esszimmer/sonoff/cmnd/OtaUrl $EVTPART1
upgrade:noArg Smarthome/Esszimmer/sonoff/cmnd/upgrade 1
setStateList on off toggle
hier von dem funktionierendem device
Internals:
CID DVES_E3BEA0
DEF DVES_E3BEA0
DEVICETOPIC MQTT2_DVES_E3BEA0
FUUID 5fe38a1b-f33f-ba8d-3ba2-1a570b2b05a54b7c
IODev MQTT2_FHEM_Server
LASTInputDev MQTT2_FHEM_Server
MQTT2_FHEM_Server_MSGCNT 10
MQTT2_FHEM_Server_TIME 2021-01-09 16:03:49
MSGCNT 10
NAME MQTT2_DVES_E3BEA0
NR 20
STATE off
TYPE MQTT2_DEVICE
JSONMAP:
Channel_0 0
Channel_1 0
Channel_2 0
Channel_3 0
Channel_4 0
Color 0
Dimmer 0
HSBColor 0
POWER1 0
POWER2 0
POWER3 0
POWER4 0
READINGS:
2021-01-09 15:45:40 BASE 1
2021-01-09 15:53:40 Command Unknown
2021-01-09 15:45:40 FLAG 0
2021-01-09 15:48:24 FallbackTopic cmnd/DVES_E3BEA0_fb/
2021-01-09 15:45:40 GPIO_1 17
2021-01-09 15:45:40 GPIO_10 56
2021-01-09 15:45:40 GPIO_11 0
2021-01-09 15:45:40 GPIO_12 0
2021-01-09 15:45:40 GPIO_13 255
2021-01-09 15:45:40 GPIO_2 0
2021-01-09 15:45:40 GPIO_3 0
2021-01-09 15:45:40 GPIO_4 0
2021-01-09 15:45:40 GPIO_5 9
2021-01-09 15:45:40 GPIO_6 0
2021-01-09 15:45:40 GPIO_7 0
2021-01-09 15:45:40 GPIO_8 0
2021-01-09 15:45:40 GPIO_9 21
2021-01-09 15:48:24 GroupTopic sonoffs
2021-01-09 16:03:49 Heap 18
2021-01-09 15:48:24 Hostname Sonoff Mini 3
2021-01-09 15:48:24 IPAddress 192.168.178.29
2021-01-09 15:58:19 LWT Online
2021-01-09 16:03:49 LoadAvg 19
2021-01-09 15:48:24 Module Sonoff Mini
2021-01-09 15:45:40 NAME Sonoff Mini
2021-01-09 15:48:24 RestartReason Software/System restart
2020-12-23 21:12:16 SaveData on
2020-12-23 21:12:15 SetOption26 on
2021-01-09 16:03:49 Sleep 50
2021-01-09 16:03:49 SleepMode Dynamic
2020-12-23 21:12:14 StateText1 off
2020-12-23 21:12:15 StateText2 on
2020-12-23 21:12:15 StateText3 toggle
2020-12-23 21:12:15 StateText4 hold
2021-01-09 16:03:49 Switch1 on
2021-01-09 16:03:49 Time 2021-01-09T16:03:49
2021-01-09 16:03:49 Uptime 0T00:15:33
2021-01-09 16:03:49 Vcc 3.156
2021-01-09 15:48:24 Version 6.6.0(release-basic)
2021-01-09 15:48:24 WebServerMode Admin
2021-01-09 16:03:49 Wifi_AP 1
2021-01-09 16:03:49 Wifi_BSSId C8:0E:14:7B:CE:85
2021-01-09 16:03:49 Wifi_Channel 11
2021-01-09 16:03:49 Wifi_Downtime 0T00:00:07
2021-01-09 16:03:49 Wifi_LinkCount 1
2021-01-09 16:03:49 Wifi_RSSI 88
2021-01-09 16:03:49 Wifi_SSId LauMarSte
2020-12-23 21:12:14 attrTemplateVersion 20200522 or prior
2021-01-09 16:00:49 state off
2021-01-09 15:58:46 subscriptions Smarthome/Wohnzimmer/Deckenlampe/cmnd/# Smarthome/Wohnzimmer/sonoffs/cmnd/# cmnd/DVES_E3BEA0_fb/#
Attributes:
IODev MQTT2_FHEM_Server
alexaName Wohnzimmerlampe
alias Wohnzimmerlampe
autocreate 0
comment NOTE: For on-for-timer SetExtensions are used. You may add on-for-timer option running on the device. The following is limited to 1h max duration, but will not affect future simple "on" commands:<br>on-for-timer {my $duration = $EVTPART1*10; 'cmnd/Smarthome/Wohnzimmer/Deckenlampe/cmnd/Backlog POWER1 1; delay '.$duration.'; POWER1 0'}<br>See the "Praxisbeispiele" in the wiki for "pulseTime1" alternative option and it's restrictions.
genericDeviceType switch
icon hue_filled_outlet
jsonMap POWER1:0 POWER2:0 POWER3:0 POWER4:0 Dimmer:0 Channel_0:0 Channel_1:0 Channel_2:0 Channel_3:0 Channel_4:0 HSBColor:0 Color:0
model tasmota_basic_state_power1
readingList Smarthome/Wohnzimmer/Deckenlampe/tele/LWT:.* LWT
Smarthome/Wohnzimmer/Deckenlampe/tele/STATE:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Wohnzimmer/Deckenlampe/tele/SENSOR:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Wohnzimmer/Deckenlampe/tele/INFO.:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Wohnzimmer/Deckenlampe/tele/UPTIME:.* { json2nameValue($EVENT,'',$JSONMAP) }
Smarthome/Wohnzimmer/Deckenlampe/stat/POWER1:.* state
Smarthome/Wohnzimmer/Deckenlampe/stat/RESULT:.* { json2nameValue($EVENT,'',$JSONMAP) }
room EG Wohnzimmer
setList off:noArg Smarthome/Wohnzimmer/Deckenlampe/cmnd/POWER1 0
on:noArg Smarthome/Wohnzimmer/Deckenlampe/cmnd/POWER1 1
toggle:noArg Smarthome/Wohnzimmer/Deckenlampe/cmnd/POWER1 2
setOtaUrl:textField Smarthome/Wohnzimmer/Deckenlampe/cmnd/OtaUrl $EVTPART1
upgrade:noArg Smarthome/Wohnzimmer/Deckenlampe/cmnd/upgrade 1
setStateList on off toggle
finde leider den fehler nicht. sorry
danke gruß Marcell
Esszimmerlampe vs. sonoff...
Schau dir mal die Topic-Struktur an, da scheinst du zwischendurch was geändert zu haben...
Am besten löschen, den ESP neu starten und dann nochmal das attrTemplate drüber.
Und für MQTT gibt es einen eigenen Forenbereich (verschieben kannst du selbst...)
Sorry.. Habs verschoben.
Ehm.. Was meinst du mit ESP? Den sonoff mini?
Danke
Meine Güte....
Die Dose halt...
Der darin verbaute Mikrocontroller ist in der Regel ein ESP8266....
Danke