(solved)tasmota LWT reading laufend offline...

Begonnen von riker1, 28 Februar 2020, 07:58:08

Vorheriges Thema - Nächstes Thema

riker1

Hallo

ich verstehe leider nicht warum Tasmota laufend LWT Offline geht.

Wollte eine Überwachung machen, aber so kann ich LWT dafür nicht verwenden.

Bin mir nicht sicher ob ein event on change reading ausreichend wäre.

2020-02-28_00:05:12 TA_SOR2 LWT: Online
2020-02-28_00:05:28 TA_SOR2 LWT: Offline
2020-02-28_00:06:06 TA_SOR2 LWT: Offline
2020-02-28_00:06:24 TA_SOR2 LWT: Offline
2020-02-28_00:07:17 TA_SOR2 LWT: Offline
2020-02-28_00:07:50 TA_SOR2 LWT: Offline
2020-02-28_00:08:24 TA_SOR2 LWT: Offline
2020-02-28_00:08:28 TA_SOR2 LWT: Offline
2020-02-28_00:09:30 TA_SOR2 LWT: Offline
2020-02-28_00:10:10 TA_SOR2 LWT: Offline
2020-02-28_00:10:48 TA_SOR2 LWT: Offline
2020-02-28_00:11:41 TA_SOR2 LWT: Offline
2020-02-28_00:12:55 TA_SOR2 LWT: Offline
2020-02-28_00:13:38 TA_SOR2 LWT: Offline
2020-02-28_00:13:54 TA_SOR2 LWT: Offline
2020-02-28_00:13:56 TA_SOR2 LWT: Offline
2020-02-28_00:14:17 TA_SOR2 LWT: Offline
2020-02-28_00:15:14 TA_SOR2 LWT: Offline


Danke Thomas
FHEM    5.26.1 Ubuntu 18, FHEM    5.26.1 RPI 3 , Actoren: IT ,Tasmota, ESPEasy,
MAX CUBE, MAX HT, MAX WT, Selbstbau nanoCULs, FS 20,Tasmota, Homematic, FTK, SW. DIM, Smoke,KODI,Squeezebox

Beta-User

Zitat von: riker1 am 28 Februar 2020, 07:58:08
Wollte eine Überwachung machen, aber so kann ich LWT dafür nicht verwenden.
? Wieso?

Es zeigt m.E. genau das an, was es soll: Du hast ein Problem...

(Kann es sein, dass
1. in dem Log die Online-Messages entweder rausgefiltert wurden oder mangels passender regex nicht geloggt?
2. deine Sig nicht mehr stimmt? 2 * featurelevel 5.8?)

Würde mal vorschlagen, du schilderst deine (W)LAN-Infrastruktur (Typ von den AP's, DHCP-Server, #Geräte im (W)-Lan...). Du wirst dann vermutlich (!) ein paar Stichworte aufschreiben, die "berüchtigt" sind für solche Effekte ;) .
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

riker1

Zitat von: Beta-User am 28 Februar 2020, 09:25:37
? Wieso?

Es zeigt m.E. genau das an, was es soll: Du hast ein Problem...

(Kann es sein, dass
1. in dem Log die Online-Messages entweder rausgefiltert wurden oder mangels passender regex nicht geloggt?
2. deine Sig nicht mehr stimmt? 2 * featurelevel 5.8?)

Würde mal vorschlagen, du schilderst deine (W)LAN-Infrastruktur (Typ von den AP's, DHCP-Server, #Geräte im (W)-Lan...). Du wirst dann vermutlich (!) ein paar Stichworte aufschreiben, die "berüchtigt" sind für solche Effekte ;) .


Hallo,

featurelevel ist 5.9
die regex logged alles, kein filter  nur das device.

Infrastructure:
- Fritbox als DHCP Server
- Unifi AP als WLAN APs
- ca 40 WLAN Clients ESPs circa 25,


im tasmot consolenlog steht ...
auszug:
12:24:11 SRC: Backlog
12:24:11 CMD: Group 0, Index 1, Command "POWER", Data "1"
12:24:11 MQT: stat/TA_SOR2/RESULT = {"POWER1":"ON"}
12:24:11 MQT: stat/TA_SOR2/POWER1 = ON
12:24:14 WIF: Checking connection...
12:24:14 WIF: Connected
12:24:34 WIF: Checking connection...
12:24:34 WIF: Connected
12:24:54 WIF: Checking connection...
12:24:54 WIF: Connected
12:24:58 MQT: tele/TA_SOR2/STATE = {"Time":"2020-02-28T12:24:58","Uptime":"0T01:10:18","UptimeSec":4218,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":2,"POWER1":"ON","POWER2":"OFF","Wifi":{"AP":1,"SSId":"TR7272","BSSId":"26:A4:3C:DD:17:FA","Channel":1,"RSSI":100,"Signal":-42,"LinkCount":1,"Downtime":"0T00:00:06"}}
12:25:14 WIF: Checking connection...
12:25:14 WIF: Connected
12:25:34 WIF: Checking connection...
12:25:34 WIF: Connected
12:25:54 WIF: Checking connection...
12:25:54 WIF: Connected


Danke für die Tipps.

VG Thomas


FHEM    5.26.1 Ubuntu 18, FHEM    5.26.1 RPI 3 , Actoren: IT ,Tasmota, ESPEasy,
MAX CUBE, MAX HT, MAX WT, Selbstbau nanoCULs, FS 20,Tasmota, Homematic, FTK, SW. DIM, Smoke,KODI,Squeezebox

Beta-User

Zitat von: riker1 am 28 Februar 2020, 12:26:51
featurelevel ist 5.9
...dann paß' doch auch die Signatur hier mal an ;) .

(Ob es gut ist, wenn die Fritte weiter DHCP macht, sei mal dahingestellt.) Wie findet der Tasmota den MQTT-Server? Über die IP oder den hostname?

Zitatdie regex logged alles, kein filter  nur das device.
Dann ist es in der Tat komisch, dass nur "offline" wiederholt wird.

Um dem weiter auf den Grund zu gehen, wäre es m.E. hilfreich, du würdest noch "ein paar mehr" Informationen liefern: Device- und IO-Typ, z.B....

(Mir macht das so wenig Spaß, dir alles aus der Nase zu ziehen; du postest hier schließlich nicht im Anfängerbereich...)
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

riker1

Zitat von: Beta-User am 28 Februar 2020, 12:58:24
...dann paß' doch auch die Signatur hier mal an ;) .


Um dem weiter auf den Grund zu gehen, wäre es m.E. hilfreich, du würdest noch "ein paar mehr" Informationen liefern: Device- und IO-Typ, z.B....

(Mir macht das so wenig Spaß, dir alles aus der Nase zu ziehen; du postest hier schließlich nicht im Anfängerbereich...)

Signature angepasst. Hatte ich gar nicht mehr auf dem Schirm.

MQTT Server wird über IP angesteuert.

das Device ist ein Sonoff dual R2 mit Tasmota 8.1. , ansonsten nutze ich noch Gosund sp1 und einige ESP01, Lolins und Wittys.
Das Problem besteht bei den meisten obwohl per ping-presence und AP monitoring die Devices verbunden sind

IO Device: MQTT2 via FHEM

habe ich noch was wichtiges vergessen?

Danke für die Hilfe

Mal ein List vom dem Device:

Internals:
   CID        DVES_A53E29
   DEF        DVES_A53E29
   DEVICETOPIC TA_SOR2
   FUUID      5e3fddb9-f33f-74bb-12c0-13c75523ad0dd6a1
   IODev      MQTT2_TR_UB9
   LASTInputDev MQTT2_TR_UB9
   MQTT2_TR_UB9_MSGCNT 82
   MQTT2_TR_UB9_TIME 2020-02-28 15:05:47
   MSGCNT     82
   NAME       TA_SOR2
   NR         106335
   STATE      1:OFF
2:OFF
<br>
Online
<a href="http://192.168.1.155" target="_blank">192.168.1.155</a>
   TYPE       MQTT2_DEVICE
   READINGS:
     2020-02-28 12:41:20   BASE            18
     2020-02-28 12:41:27   BlinkCount      10
     2020-02-28 12:40:40   BlinkTime       10
     2020-02-28 12:41:06   ButtonDebounce  50
     2020-02-28 10:00:41   Command         Unknown
     2020-02-28 11:14:49   Delay           2
     2020-02-28 12:41:20   FLAG            15
     2020-02-28 11:14:49   FallbackTopic   cmnd/DVES_A53E29_fb/
     2020-02-22 13:09:25   FullTopic       %prefix%/%topic%/
     2020-02-28 12:40:41   GPIO0_0         None
     2020-02-28 12:40:41   GPIO1_0         None
     2020-02-28 12:40:41   GPIO3_0         None
     2020-02-28 12:40:41   GPIO9_0         None
     2020-02-28 12:41:20   GPIO_1          255
     2020-02-28 12:41:20   GPIO_10         255
     2020-02-28 12:41:20   GPIO_11         255
     2020-02-28 12:41:20   GPIO_12         255
     2020-02-28 12:41:20   GPIO_13         255
     2020-02-28 12:41:20   GPIO_2          255
     2020-02-28 12:41:20   GPIO_3          255
     2020-02-28 12:41:20   GPIO_4          255
     2020-02-28 12:41:20   GPIO_5          255
     2020-02-28 12:41:20   GPIO_6          255
     2020-02-28 12:41:20   GPIO_7          255
     2020-02-28 12:41:20   GPIO_8          255
     2020-02-28 12:41:20   GPIO_9          255
     2020-02-28 12:40:38   GPIOs1_0        None
     2020-02-28 12:40:38   GPIOs1_10       Switch2
     2020-02-28 12:40:38   GPIOs1_11       Switch3
     2020-02-28 12:40:38   GPIOs1_12       Switch4
     2020-02-28 12:40:38   GPIOs1_122      Button1i
     2020-02-28 12:40:38   GPIOs1_123      Button2i
     2020-02-28 12:40:38   GPIOs1_124      Button3i
     2020-02-28 12:40:38   GPIOs1_125      Button4i
     2020-02-28 12:40:38   GPIOs1_126      Button1in
     2020-02-28 12:40:38   GPIOs1_127      Button2in
     2020-02-28 12:40:38   GPIOs1_128      Button3in
     2020-02-28 12:40:38   GPIOs1_129      Button4in
     2020-02-28 12:40:38   GPIOs1_13       Switch5
     2020-02-28 12:40:38   GPIOs1_14       Switch6
     2020-02-28 12:40:38   GPIOs1_15       Switch7
     2020-02-28 12:40:38   GPIOs1_16       Switch8
     2020-02-28 12:40:38   GPIOs1_17       Button1
     2020-02-28 12:40:38   GPIOs1_18       Button2
     2020-02-28 12:40:38   GPIOs1_19       Button3
     2020-02-28 12:40:38   GPIOs1_20       Button4
     2020-02-28 12:40:38   GPIOs1_21       Relay1
     2020-02-28 12:40:38   GPIOs1_29       Relay1i
     2020-02-28 12:40:38   GPIOs1_82       Switch1n
     2020-02-28 12:40:38   GPIOs1_83       Switch2n
     2020-02-28 12:40:38   GPIOs1_84       Switch3n
     2020-02-28 12:40:38   GPIOs1_85       Switch4n
     2020-02-28 12:40:38   GPIOs1_86       Switch5n
     2020-02-28 12:40:38   GPIOs1_87       Switch6n
     2020-02-28 12:40:38   GPIOs1_88       Switch7n
     2020-02-28 12:40:38   GPIOs1_89       Switch8n
     2020-02-28 12:40:38   GPIOs1_9        Switch1
     2020-02-28 12:40:38   GPIOs1_90       Button1n
     2020-02-28 12:40:38   GPIOs1_91       Button2n
     2020-02-28 12:40:38   GPIOs1_92       Button3n
     2020-02-28 12:40:38   GPIOs1_93       Button4n
     2020-02-28 12:40:39   GPIOs2_157      LedLink
     2020-02-28 12:40:39   GPIOs2_158      LedLinki
     2020-02-28 12:40:39   GPIOs2_22       Relay2
     2020-02-28 12:40:39   GPIOs2_23       Relay3
     2020-02-28 12:40:39   GPIOs2_24       Relay4
     2020-02-28 12:40:39   GPIOs2_25       Relay5
     2020-02-28 12:40:39   GPIOs2_26       Relay6
     2020-02-28 12:40:39   GPIOs2_27       Relay7
     2020-02-28 12:40:39   GPIOs2_28       Relay8
     2020-02-28 12:40:39   GPIOs2_30       Relay2i
     2020-02-28 12:40:39   GPIOs2_31       Relay3i
     2020-02-28 12:40:39   GPIOs2_32       Relay4i
     2020-02-28 12:40:39   GPIOs2_33       Relay5i
     2020-02-28 12:40:39   GPIOs2_34       Relay6i
     2020-02-28 12:40:39   GPIOs2_35       Relay7i
     2020-02-28 12:40:39   GPIOs2_36       Relay8i
     2020-02-28 12:40:39   GPIOs2_37       PWM1
     2020-02-28 12:40:39   GPIOs2_38       PWM2
     2020-02-28 12:40:39   GPIOs2_39       PWM3
     2020-02-28 12:40:39   GPIOs2_40       PWM4
     2020-02-28 12:40:39   GPIOs2_41       PWM5
     2020-02-28 12:40:39   GPIOs2_42       Counter1
     2020-02-28 12:40:39   GPIOs2_43       Counter2
     2020-02-28 12:40:39   GPIOs2_44       Counter3
     2020-02-28 12:40:39   GPIOs2_46       PWM1i
     2020-02-28 12:40:39   GPIOs2_47       PWM2i
     2020-02-28 12:40:39   GPIOs2_48       PWM3i
     2020-02-28 12:40:39   GPIOs2_49       PWM4i
     2020-02-28 12:40:39   GPIOs2_50       PWM5i
     2020-02-28 12:40:39   GPIOs2_52       Led1
     2020-02-28 12:40:39   GPIOs2_53       Led2
     2020-02-28 12:40:39   GPIOs2_54       Led3
     2020-02-28 12:40:39   GPIOs2_55       Led4
     2020-02-28 12:40:39   GPIOs2_56       Led1i
     2020-02-28 12:40:39   GPIOs2_57       Led2i
     2020-02-28 12:40:39   GPIOs2_58       Led3i
     2020-02-28 12:40:39   GPIOs2_59       Led4i
     2020-02-28 12:40:39   GPIOs2_94       Counter1n
     2020-02-28 12:40:39   GPIOs2_95       Counter2n
     2020-02-28 12:40:40   GPIOs3_1        DHT11
     2020-02-28 12:40:40   GPIOs3_102      HX711 SCK
     2020-02-28 12:40:40   GPIOs3_103      HX711 DAT
     2020-02-28 12:40:40   GPIOs3_107      Tuya Tx
     2020-02-28 12:40:40   GPIOs3_108      Tuya Rx
     2020-02-28 12:40:40   GPIOs3_130      HLWBL SEL
     2020-02-28 12:40:40   GPIOs3_131      HLWBL SELi
     2020-02-28 12:40:40   GPIOs3_140      SM16716 CLK
     2020-02-28 12:40:40   GPIOs3_141      SM16716 DAT
     2020-02-28 12:40:40   GPIOs3_142      SM16716 PWR
     2020-02-28 12:40:40   GPIOs3_143      MY92x1 DI
     2020-02-28 12:40:40   GPIOs3_144      MY92x1 DCKI
     2020-02-28 12:40:40   GPIOs3_147      ALux IrRcv
     2020-02-28 12:40:40   GPIOs3_148      Serial Tx
     2020-02-28 12:40:40   GPIOs3_149      Serial Rx
     2020-02-28 12:40:40   GPIOs3_159      ALux IrSel
     2020-02-28 12:40:40   GPIOs3_160      Buzzer
     2020-02-28 12:40:40   GPIOs3_161      Buzzeri
     2020-02-28 12:40:40   GPIOs3_180      SM2135 Clk
     2020-02-28 12:40:40   GPIOs3_181      SM2135 Dat
     2020-02-28 12:40:40   GPIOs3_2        AM2301
     2020-02-28 12:40:40   GPIOs3_3        SI7021
     2020-02-28 12:40:40   GPIOs3_4        DS18x20
     2020-02-28 12:40:40   GPIOs3_45       Counter4
     2020-02-28 12:40:40   GPIOs3_5        I2C SCL
     2020-02-28 12:40:40   GPIOs3_51       IRrecv
     2020-02-28 12:40:40   GPIOs3_6        I2C SDA
     2020-02-28 12:40:40   GPIOs3_7        WS2812
     2020-02-28 12:40:40   GPIOs3_73       SR04 Tri/TX
     2020-02-28 12:40:40   GPIOs3_74       SR04 Ech/RX
     2020-02-28 12:40:40   GPIOs3_8        IRsend
     2020-02-28 12:40:40   GPIOs3_96       Counter3n
     2020-02-28 12:40:40   GPIOs3_97       Counter4n
     2020-02-28 12:40:40   GPIOs4_101      SDS0X1 Tx
     2020-02-28 12:40:40   GPIOs4_132      HLWBL CF1
     2020-02-28 12:40:40   GPIOs4_133      HLW8012 CF
     2020-02-28 12:40:40   GPIOs4_134      BL0937 CF
     2020-02-28 12:40:40   GPIOs4_135      MCP39F5 Tx
     2020-02-28 12:40:40   GPIOs4_136      MCP39F5 Rx
     2020-02-28 12:40:40   GPIOs4_137      MCP39F5 Rst
     2020-02-28 12:40:40   GPIOs4_145      CSE7766 Tx
     2020-02-28 12:40:40   GPIOs4_146      CSE7766 Rx
     2020-02-28 12:40:40   GPIOs4_156      ADE7953 IRQ
     2020-02-28 12:40:40   GPIOs4_182      DeepSleep
     2020-02-28 12:40:40   GPIOs4_60       MHZ Tx
     2020-02-28 12:40:40   GPIOs4_61       MHZ Rx
     2020-02-28 12:40:40   GPIOs4_62       PZEM0XX Tx
     2020-02-28 12:40:40   GPIOs4_63       PZEM004 Rx
     2020-02-28 12:40:40   GPIOs4_64       SAir Tx
     2020-02-28 12:40:40   GPIOs4_65       SAir Rx
     2020-02-28 12:40:40   GPIOs4_69       PMS5003
     2020-02-28 12:40:40   GPIOs4_70       SDS0X1 Rx
     2020-02-28 12:40:40   GPIOs4_71       SerBr Tx
     2020-02-28 12:40:40   GPIOs4_72       SerBr Rx
     2020-02-28 12:40:40   GPIOs4_98       PZEM016 Rx
     2020-02-28 12:40:40   GPIOs4_99       PZEM017 Rx
     2020-02-28 11:14:49   GroupTopic      cmnd/tasmotas/
     2020-02-28 12:40:41   Groups          1,2
     2020-02-28 15:05:47   Heap            27
     2020-02-28 11:14:49   Hostname        TA_SOR2-7721
     2020-02-28 11:14:49   IPAddress       192.168.1.155
     2020-02-28 12:40:41   Interlock       OFF
     2020-02-28 12:40:16   LWT             Online
     2020-02-28 15:05:47   LoadAvg         9
     2020-02-28 11:14:49   Module          Sonoff Dual R2
     2020-02-28 12:40:33   Modules1_0      Generic
     2020-02-28 12:40:33   Modules1_1      Sonoff Basic
     2020-02-28 12:40:33   Modules1_10     Sonoff Touch
     2020-02-28 12:40:33   Modules1_11     Sonoff LED
     2020-02-28 12:40:33   Modules1_12     1 Channel
     2020-02-28 12:40:33   Modules1_13     4 Channel
     2020-02-28 12:40:33   Modules1_14     Motor C/AC
     2020-02-28 12:40:33   Modules1_19     Sonoff Dev
     2020-02-28 12:40:33   Modules1_2      Sonoff RF
     2020-02-28 12:40:33   Modules1_21     Sonoff SC
     2020-02-28 12:40:33   Modules1_22     Sonoff BN-SZ
     2020-02-28 12:40:33   Modules1_23     Sonoff 4CH Pro
     2020-02-28 12:40:33   Modules1_25     Sonoff Bridge
     2020-02-28 12:40:33   Modules1_26     Sonoff B1
     2020-02-28 12:40:33   Modules1_28     Sonoff T1 1CH
     2020-02-28 12:40:33   Modules1_29     Sonoff T1 2CH
     2020-02-28 12:40:33   Modules1_3      Sonoff SV
     2020-02-28 12:40:33   Modules1_30     Sonoff T1 3CH
     2020-02-28 12:40:33   Modules1_39     Sonoff Dual R2
     2020-02-28 12:40:33   Modules1_4      Sonoff TH
     2020-02-28 12:40:33   Modules1_41     Sonoff S31
     2020-02-28 12:40:33   Modules1_43     Sonoff Pow R2
     2020-02-28 12:40:33   Modules1_44     Sonoff iFan02
     2020-02-28 12:40:33   Modules1_5      Sonoff Dual
     2020-02-28 12:40:33   Modules1_6      Sonoff Pow
     2020-02-28 12:40:33   Modules1_7      Sonoff 4CH
     2020-02-28 12:40:33   Modules1_70     Sonoff L1
     2020-02-28 12:40:33   Modules1_71     Sonoff iFan03
     2020-02-28 12:40:33   Modules1_8      Sonoff S2X
     2020-02-28 12:40:33   Modules1_9      Slampher
     2020-02-28 12:40:35   Modules2_15     ElectroDragon
     2020-02-28 12:40:35   Modules2_16     EXS Relay(s)
     2020-02-28 12:40:35   Modules2_17     WiOn
     2020-02-28 12:40:35   Modules2_20     H801
     2020-02-28 12:40:35   Modules2_31     Supla Espablo
     2020-02-28 12:40:35   Modules2_33     Yunshan Relay
     2020-02-28 12:40:35   Modules2_34     MagicHome
     2020-02-28 12:40:35   Modules2_35     Luani HVIO
     2020-02-28 12:40:35   Modules2_37     Arilux LC01
     2020-02-28 12:40:35   Modules2_45     BlitzWolf SHP
     2020-02-28 12:40:35   Modules2_46     Shelly 1
     2020-02-28 12:40:35   Modules2_47     Shelly 2
     2020-02-28 12:40:35   Modules2_49     Neo Coolcam
     2020-02-28 12:40:35   Modules2_50     ESP Switch
     2020-02-28 12:40:35   Modules2_51     OBI Socket
     2020-02-28 12:40:35   Modules2_52     Teckin
     2020-02-28 12:40:35   Modules2_53     AplicWDP303075
     2020-02-28 12:40:35   Modules2_54     Tuya MCU
     2020-02-28 12:40:35   Modules2_55     Gosund SP1 v23
     2020-02-28 12:40:35   Modules2_56     ARMTR Dimmer
     2020-02-28 12:40:35   Modules2_57     SK03 Outdoor
     2020-02-28 12:40:35   Modules2_58     PS-16-DZ
     2020-02-28 12:40:35   Modules2_59     Teckin US
     2020-02-28 12:40:35   Modules2_60     Manzoku strip
     2020-02-28 12:40:35   Modules2_61     OBI Socket 2
     2020-02-28 12:40:35   Modules2_63     Digoo DG-SP202
     2020-02-28 12:40:35   Modules2_64     KA10
     2020-02-28 12:40:35   Modules2_65     Luminea ZX2820
     2020-02-28 12:40:35   Modules2_67     SP10
     2020-02-28 12:40:35   Modules2_68     WAGA CHCZ02MB
     2020-02-28 12:40:35   Modules3_18     Generic
     2020-02-28 12:40:35   Modules3_24     Huafan SS
     2020-02-28 12:40:35   Modules3_27     AiLight
     2020-02-28 12:40:35   Modules3_32     Witty Cloud
     2020-02-28 12:40:35   Modules3_36     KMC 70011
     2020-02-28 12:40:35   Modules3_38     Arilux LC11
     2020-02-28 12:40:35   Modules3_40     Arilux LC06
     2020-02-28 12:40:35   Modules3_42     Zengge WF017
     2020-02-28 12:40:35   Modules3_48     Xiaomi Philips
     2020-02-28 12:40:35   Modules3_62     YTF IR Bridge
     2020-02-28 12:40:35   Modules3_69     SYF05
     2020-02-28 15:05:47   MqttCount       3
     2020-02-28 12:40:40   MqttLog         2
     2020-02-28 12:41:20   NAME            Generic
     2020-02-28 15:05:47   POWER1          OFF
     2020-02-28 15:05:47   POWER2          OFF
     2020-02-28 14:12:30   PulseTime1_Remaining 2800
     2020-02-28 14:12:30   PulseTime1_Set  2800
     2020-02-28 12:40:40   PulseTime2_Remaining 0
     2020-02-28 12:40:40   PulseTime2_Set  50
     2020-02-28 12:41:06   PulseTime3_Remaining 0
     2020-02-28 12:41:06   PulseTime3_Set  0
     2020-02-28 12:40:40   PulseTime4_Remaining 0
     2020-02-28 12:40:40   PulseTime4_Set  0
     2020-02-28 12:40:41   PulseTime5_Remaining 0
     2020-02-28 12:40:41   PulseTime5_Set  0
     2020-02-28 12:40:40   PulseTime6_Remaining 0
     2020-02-28 12:40:40   PulseTime6_Set  0
     2020-02-28 12:41:20   PulseTime7_Remaining 0
     2020-02-28 12:41:20   PulseTime7_Set  0
     2020-02-28 12:40:41   PulseTime8_Remaining 0
     2020-02-28 12:40:41   PulseTime8_Set  0
     2020-02-24 12:21:48   Restart         Restarting
     2020-02-28 11:14:49   RestartReason   Software/System restart
     2020-02-28 11:09:09   RestartReason_CallChain_1 40240743
     2020-02-28 11:09:09   RestartReason_CallChain_10 40246c80
     2020-02-28 11:09:09   RestartReason_CallChain_11 401009b4
     2020-02-28 11:09:09   RestartReason_CallChain_12 40106005
     2020-02-28 11:09:09   RestartReason_CallChain_13 4000050c
     2020-02-28 11:09:09   RestartReason_CallChain_14 402471a7
     2020-02-28 11:09:09   RestartReason_CallChain_15 402476cd
     2020-02-28 11:09:09   RestartReason_CallChain_16 40246c80
     2020-02-28 11:09:09   RestartReason_CallChain_17 4027f185
     2020-02-28 11:09:09   RestartReason_CallChain_18 40246c80
     2020-02-28 11:09:09   RestartReason_CallChain_19 4000050c
     2020-02-28 11:09:09   RestartReason_CallChain_2 4010307e
     2020-02-28 11:09:09   RestartReason_CallChain_20 401031eb
     2020-02-28 11:09:09   RestartReason_CallChain_21 40246d4a
     2020-02-28 11:09:09   RestartReason_CallChain_22 402475e1
     2020-02-28 11:09:09   RestartReason_CallChain_23 402630af
     2020-02-28 11:09:09   RestartReason_CallChain_24 402630fe
     2020-02-28 11:09:09   RestartReason_CallChain_25 401009b4
     2020-02-28 11:09:09   RestartReason_CallChain_26 401024ac
     2020-02-28 11:09:09   RestartReason_CallChain_27 402621bb
     2020-02-28 11:09:09   RestartReason_CallChain_28 4025575b
     2020-02-28 11:09:09   RestartReason_CallChain_29 40105daf
     2020-02-28 11:09:09   RestartReason_CallChain_3 401031eb
     2020-02-28 11:09:09   RestartReason_CallChain_30 40249145
     2020-02-28 11:09:09   RestartReason_CallChain_31 4000050c
     2020-02-28 11:09:09   RestartReason_CallChain_4 401036e6
     2020-02-28 11:09:09   RestartReason_CallChain_5 40260de9
     2020-02-28 11:09:09   RestartReason_CallChain_6 4000050c
     2020-02-28 11:09:09   RestartReason_CallChain_7 40103408
     2020-02-28 11:09:09   RestartReason_CallChain_8 4000d4d4
     2020-02-28 11:09:09   RestartReason_CallChain_9 4027f185
     2020-02-28 11:09:09   RestartReason_DEPC 00000000
     2020-02-28 11:09:09   RestartReason_EPC_1 3ffea060
     2020-02-28 11:09:09   RestartReason_EPC_2 00000000
     2020-02-28 11:09:09   RestartReason_EPC_3 00000000
     2020-02-28 11:09:09   RestartReason_EXCVADDR 3ffea060
     2020-02-28 11:09:09   RestartReason_Exception 2
     2020-02-28 11:09:09   RestartReason_Reason Exception
     2020-02-24 13:33:27   SaveData        OFF
     2020-02-14 15:31:58   SetOption53     ON
     2020-02-28 00:54:21   SetOption60     OFF
     2020-02-28 15:05:47   Sleep           100
     2020-02-28 15:05:47   SleepMode       Dynamic
     2020-02-28 14:32:02   Sleep_100_Active 100
     2020-02-28 00:56:39   Sleep_30_Active 30
     2020-02-28 00:54:00   Sleep_50_Active 50
     2020-02-28 12:40:40   SwitchDebounce  50
     2020-02-28 15:05:47   Time            2020-02-28T15:05:36
     2020-02-22 13:42:01   Timers          OFF
     2020-02-22 13:42:01   Timers1_Timer1_Action 0
     2020-02-22 13:42:01   Timers1_Timer1_Arm 0
     2020-02-22 13:42:01   Timers1_Timer1_Days 0000000
     2020-02-22 13:42:01   Timers1_Timer1_Mode 0
     2020-02-22 13:42:01   Timers1_Timer1_Output 1
     2020-02-22 13:42:01   Timers1_Timer1_Repeat 0
     2020-02-22 13:42:01   Timers1_Timer1_Time 00:00
     2020-02-22 13:42:01   Timers1_Timer1_Window 0
     2020-02-22 13:42:01   Timers1_Timer2_Action 0
     2020-02-22 13:42:01   Timers1_Timer2_Arm 0
     2020-02-22 13:42:01   Timers1_Timer2_Days 0000000
     2020-02-22 13:42:01   Timers1_Timer2_Mode 0
     2020-02-22 13:42:01   Timers1_Timer2_Output 1
     2020-02-22 13:42:01   Timers1_Timer2_Repeat 0
     2020-02-22 13:42:01   Timers1_Timer2_Time 00:00
     2020-02-22 13:42:01   Timers1_Timer2_Window 0
     2020-02-22 13:42:01   Timers1_Timer3_Action 0
     2020-02-22 13:42:01   Timers1_Timer3_Arm 0
     2020-02-22 13:42:01   Timers1_Timer3_Days 0000000
     2020-02-22 13:42:01   Timers1_Timer3_Mode 0
     2020-02-22 13:42:01   Timers1_Timer3_Output 1
     2020-02-22 13:42:01   Timers1_Timer3_Repeat 0
     2020-02-22 13:42:01   Timers1_Timer3_Time 00:00
     2020-02-22 13:42:01   Timers1_Timer3_Window 0
     2020-02-22 13:42:01   Timers1_Timer4_Action 0
     2020-02-22 13:42:01   Timers1_Timer4_Arm 0
     2020-02-22 13:42:01   Timers1_Timer4_Days 0000000
     2020-02-22 13:42:01   Timers1_Timer4_Mode 0
     2020-02-22 13:42:01   Timers1_Timer4_Output 1
     2020-02-22 13:42:01   Timers1_Timer4_Repeat 0
     2020-02-22 13:42:01   Timers1_Timer4_Time 00:00
     2020-02-22 13:42:01   Timers1_Timer4_Window 0
     2020-02-22 13:42:01   Timers2_Timer5_Action 0
     2020-02-22 13:42:01   Timers2_Timer5_Arm 0
     2020-02-22 13:42:01   Timers2_Timer5_Days 0000000
     2020-02-22 13:42:01   Timers2_Timer5_Mode 0
     2020-02-22 13:42:01   Timers2_Timer5_Output 1
     2020-02-22 13:42:01   Timers2_Timer5_Repeat 0
     2020-02-22 13:42:01   Timers2_Timer5_Time 00:00
     2020-02-22 13:42:01   Timers2_Timer5_Window 0
     2020-02-22 13:42:01   Timers2_Timer6_Action 0
     2020-02-22 13:42:01   Timers2_Timer6_Arm 0
     2020-02-22 13:42:01   Timers2_Timer6_Days 0000000
     2020-02-22 13:42:01   Timers2_Timer6_Mode 0
     2020-02-22 13:42:01   Timers2_Timer6_Output 1
     2020-02-22 13:42:01   Timers2_Timer6_Repeat 0
     2020-02-22 13:42:01   Timers2_Timer6_Time 00:00
     2020-02-22 13:42:01   Timers2_Timer6_Window 0
     2020-02-22 13:42:01   Timers2_Timer7_Action 0
     2020-02-22 13:42:01   Timers2_Timer7_Arm 0
     2020-02-22 13:42:01   Timers2_Timer7_Days 0000000
     2020-02-22 13:42:01   Timers2_Timer7_Mode 0
     2020-02-22 13:42:01   Timers2_Timer7_Output 1
     2020-02-22 13:42:01   Timers2_Timer7_Repeat 0
     2020-02-22 13:42:01   Timers2_Timer7_Time 00:00
     2020-02-22 13:42:01   Timers2_Timer7_Window 0
     2020-02-22 13:42:01   Timers2_Timer8_Action 0
     2020-02-22 13:42:01   Timers2_Timer8_Arm 0
     2020-02-22 13:42:01   Timers2_Timer8_Days 0000000
     2020-02-22 13:42:01   Timers2_Timer8_Mode 0
     2020-02-22 13:42:01   Timers2_Timer8_Output 1
     2020-02-22 13:42:01   Timers2_Timer8_Repeat 0
     2020-02-22 13:42:01   Timers2_Timer8_Time 00:00
     2020-02-22 13:42:01   Timers2_Timer8_Window 0
     2020-02-22 13:42:01   Timers3_Timer10_Action 0
     2020-02-22 13:42:01   Timers3_Timer10_Arm 0
     2020-02-22 13:42:01   Timers3_Timer10_Days 0000000
     2020-02-22 13:42:01   Timers3_Timer10_Mode 0
     2020-02-22 13:42:01   Timers3_Timer10_Output 1
     2020-02-22 13:42:01   Timers3_Timer10_Repeat 0
     2020-02-22 13:42:01   Timers3_Timer10_Time 00:00
     2020-02-22 13:42:01   Timers3_Timer10_Window 0
     2020-02-22 13:42:01   Timers3_Timer11_Action 0
     2020-02-22 13:42:01   Timers3_Timer11_Arm 0
     2020-02-22 13:42:01   Timers3_Timer11_Days 0000000
     2020-02-22 13:42:01   Timers3_Timer11_Mode 0
     2020-02-22 13:42:01   Timers3_Timer11_Output 1
     2020-02-22 13:42:01   Timers3_Timer11_Repeat 0
     2020-02-22 13:42:01   Timers3_Timer11_Time 00:00
     2020-02-22 13:42:01   Timers3_Timer11_Window 0
     2020-02-22 13:42:01   Timers3_Timer12_Action 0
     2020-02-22 13:42:01   Timers3_Timer12_Arm 0
     2020-02-22 13:42:01   Timers3_Timer12_Days 0000000
     2020-02-22 13:42:01   Timers3_Timer12_Mode 0
     2020-02-22 13:42:01   Timers3_Timer12_Output 1
     2020-02-22 13:42:01   Timers3_Timer12_Repeat 0
     2020-02-22 13:42:01   Timers3_Timer12_Time 00:00
     2020-02-22 13:42:01   Timers3_Timer12_Window 0
     2020-02-22 13:42:01   Timers3_Timer9_Action 0
     2020-02-22 13:42:01   Timers3_Timer9_Arm 0
     2020-02-22 13:42:01   Timers3_Timer9_Days 0000000
     2020-02-22 13:42:01   Timers3_Timer9_Mode 0
     2020-02-22 13:42:01   Timers3_Timer9_Output 1
     2020-02-22 13:42:01   Timers3_Timer9_Repeat 0
     2020-02-22 13:42:01   Timers3_Timer9_Time 00:00
     2020-02-22 13:42:01   Timers3_Timer9_Window 0
     2020-02-22 13:42:02   Timers4_Timer13_Action 0
     2020-02-22 13:42:02   Timers4_Timer13_Arm 0
     2020-02-22 13:42:02   Timers4_Timer13_Days 0000000
     2020-02-22 13:42:02   Timers4_Timer13_Mode 0
     2020-02-22 13:42:02   Timers4_Timer13_Output 1
     2020-02-22 13:42:02   Timers4_Timer13_Repeat 0
     2020-02-22 13:42:02   Timers4_Timer13_Time 00:00
     2020-02-22 13:42:02   Timers4_Timer13_Window 0
     2020-02-22 13:42:02   Timers4_Timer14_Action 0
     2020-02-22 13:42:02   Timers4_Timer14_Arm 0
     2020-02-22 13:42:02   Timers4_Timer14_Days 0000000
     2020-02-22 13:42:02   Timers4_Timer14_Mode 0
     2020-02-22 13:42:02   Timers4_Timer14_Output 1
     2020-02-22 13:42:02   Timers4_Timer14_Repeat 0
     2020-02-22 13:42:02   Timers4_Timer14_Time 00:00
     2020-02-22 13:42:02   Timers4_Timer14_Window 0
     2020-02-22 13:42:02   Timers4_Timer15_Action 0
     2020-02-22 13:42:02   Timers4_Timer15_Arm 0
     2020-02-22 13:42:02   Timers4_Timer15_Days 0000000
     2020-02-22 13:42:02   Timers4_Timer15_Mode 0
     2020-02-22 13:42:02   Timers4_Timer15_Output 1
     2020-02-22 13:42:02   Timers4_Timer15_Repeat 0
     2020-02-22 13:42:02   Timers4_Timer15_Time 00:00
     2020-02-22 13:42:02   Timers4_Timer15_Window 0
     2020-02-22 13:42:02   Timers4_Timer16_Action 0
     2020-02-22 13:42:02   Timers4_Timer16_Arm 0
     2020-02-22 13:42:02   Timers4_Timer16_Days 0000000
     2020-02-22 13:42:02   Timers4_Timer16_Mode 0
     2020-02-22 13:42:02   Timers4_Timer16_Output 1
     2020-02-22 13:42:02   Timers4_Timer16_Repeat 0
     2020-02-22 13:42:02   Timers4_Timer16_Time 00:00
     2020-02-22 13:42:02   Timers4_Timer16_Window 0
     2020-02-28 15:05:47   Uptime          0T03:50:56
     2020-02-28 15:05:47   UptimeSec       13856
     2020-02-28 11:14:49   Version         8.1.0(tasmota)
     2020-02-28 11:14:49   WebServerMode   Admin
     2020-02-28 15:05:47   Wifi_AP         1
     2020-02-28 15:05:47   Wifi_BSSId      26:A4:3C:DD:17:FA
     2020-02-28 15:05:47   Wifi_Channel    1
     2020-02-28 15:05:47   Wifi_Downtime   0T00:00:06
     2020-02-28 15:05:47   Wifi_LinkCount  1
     2020-02-28 15:05:47   Wifi_RSSI       100
     2020-02-28 15:05:47   Wifi_SSId       TR7272
     2020-02-28 15:05:47   Wifi_Signal     -42
     2020-02-10 09:29:17   off_R1          set
     2020-02-28 14:39:02   off_R2          set
     2020-02-28 14:12:28   on-for-timer    set 2700
     2020-02-13 17:38:24   on-for-timer_R1 set
     2020-02-28 01:00:01   on-for-timer_R2 set 120
     2020-02-13 17:31:38   on_R2           set
     2020-02-28 14:39:02   state           set_off
     2020-02-28 08:14:07   subscriptions   cmnd/DVES_A53E29_fb/# cmnd/TA_SOR2/# cmnd/tasmotas/#
     2020-02-28 07:39:42   toggle_R1       set
     2020-02-24 12:21:20   toggle_R2       set
Attributes:
   IODev      MQTT2_TR_UB9
   alias      1_KH_Pumpe_TA_SOR2
   autocreate 0
   comment    NOTE: on-for-timer is limited to 18h max duration!

tasmota-7721 wifi
   devStateIcon Online:10px-kreis-gruen Offline:10px-kreis-rot 1.on:on:POWER1+off 1.off:off:POWER1+on 2.on:on:POWER2+off 2.off:off:POWER2+on
   event-on-change-reading .*
   eventMap   /toggle_R1:POWER1/toggle_R2:POWER2/POWER1 OFF:man_aus/on-for-timer 1000:timer1000/on-for-timer3600:timer3600/on-for-timer 7200:timer7200/test:test/
   group      dummy,KleinesHaus
   icon       sani_garden_pump
   model      tasmota_basic_state_power1
   readingList tele/TA_SOR2/LWT:.* LWT
  tele/TA_SOR2/STATE:.* { json2nameValue($EVENT) }
  tele/TA_SOR2/SENSOR:.* { json2nameValue($EVENT) }
  tele/TA_SOR2/INFO.:.* { json2nameValue($EVENT) }
  tele/TA_SOR2/RESULT:.* { json2nameValue($EVENT) }
  stat/TA_SOR2/RESULT:.* { json2nameValue($EVENT) }
   tele/TA_SOR2/POWER.:.* { json2nameValue($EVENT) }
      stat/TA_SOR2/POWER.:.* { json2nameValue($EVENT) }
   room       01_Stromstatus,8_Automatisierung,8_Heizung,9_KH_Miet,9_Tasmota,MQTT2_DEVICE,Z_HZ_Notbetrieb,Z_Relay,Z_Urlaub,Z_Wartung
   setList    on:noArg cmnd/TA_SOR2/POWER1 1
off:noArg cmnd/TA_SOR2/POWER1 0
off_R1:noArg    cmnd/TA_SOR2/POWER1 0
  on_R1:noArg     cmnd/TA_SOR2/POWER1 1
  toggle_R1:noArg cmnd/TA_SOR2/POWER1 2
  on-for-timer {my $duration = $EVTPART1 < 11.2 ? $EVTPART1*10 : $EVTPART1+100; 'cmnd/TA_SOR2/Backlog pulseTime1 '.$duration.'; POWER1 1'}
    on-for-timer_R1 {my $duration = $EVTPART1 < 11.2 ? $EVTPART1*10 : $EVTPART1+100; 'cmnd/TA_SOR2/Backlog pulseTime1 '.$duration.'; POWER1 1'}
  off_R2:noArg    cmnd/TA_SOR2/POWER2 0
  on_R2:noArg     cmnd/TA_SOR2/POWER2 1
  toggle_R2:noArg cmnd/TA_SOR2/POWER2 2
  on-for-timer_R2 {my $duration = $EVTPART1 < 11.2 ? $EVTPART1*10 : $EVTPART1+100; 'cmnd/TA_SOR2/Backlog pulseTime2 '.$duration.'; POWER2 1'}
  setOtaUrl:textField cmnd/TA_SOR2/OtaUrl $EVTPART1
  upgrade:noArg   cmnd/TA_SOR2/upgrade 1
   setStateList on off toggle
   stateFormat 1:POWER1
2:POWER2
<br>
LWT
<a href="http://IPAddress" target="_blank">IPAddress</a>
   verbose    0
   webCmd     POWER1:POWER2:man_aus:timer1000:timer3600:timer7200:test
FHEM    5.26.1 Ubuntu 18, FHEM    5.26.1 RPI 3 , Actoren: IT ,Tasmota, ESPEasy,
MAX CUBE, MAX HT, MAX WT, Selbstbau nanoCULs, FS 20,Tasmota, Homematic, FTK, SW. DIM, Smoke,KODI,Squeezebox

Beta-User

Was bedeutet
Zitat von: riker1 am 28 Februar 2020, 15:07:22
IO Device: MQTT2 via FHEM
TYPE=MQTT2_SERVER?

Und noch eine weitere Anmerkung: der LAN-Ping hat mit LWT nichts zu tun, siehe z.B. hier: https://www.hivemq.com/blog/mqtt-essentials-part-9-last-will-and-testament/

(Deswegen wundert mich auch, dass keine "Online"-Message zu kommen scheint, für mich ist das untrennbar verbunden. Evtl. noch ein Problem in pubsubclient, siehe (auf die Schnelle) https://www.sigmdel.ca/michel/ha/tasmota/mqtt_disconnects_en.html?)
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

riker1

Zitat von: Beta-User am 28 Februar 2020, 16:22:48
Was bedeutetTYPE=MQTT2_SERVER?

Hallo, danke für die Hilfe.

IO Device: MQTT2 via FHEM
damit meinte ich das ich MQTT2 in Fhem nutze

Das problem taucht nicht mehr auf , weiss aber auch nicht warum es gelöst ist.



FHEM    5.26.1 Ubuntu 18, FHEM    5.26.1 RPI 3 , Actoren: IT ,Tasmota, ESPEasy,
MAX CUBE, MAX HT, MAX WT, Selbstbau nanoCULs, FS 20,Tasmota, Homematic, FTK, SW. DIM, Smoke,KODI,Squeezebox

rudolfkoenig

Die Frage war, ob IODevice MQTT2_SERVER oder MQTT2_CLIENT ist.
Bei diesem Problem ist das Unterschied recht gross.

riker1

Hallo

Also IDDev des(aller) Tasmotas ist der MQTT2_SERVER in FHEM.

Habe eigentlich nirgens MQTT2_Clients als IODevice ....der usecase ist mir auch nicht ganz klar.



FHEM    5.26.1 Ubuntu 18, FHEM    5.26.1 RPI 3 , Actoren: IT ,Tasmota, ESPEasy,
MAX CUBE, MAX HT, MAX WT, Selbstbau nanoCULs, FS 20,Tasmota, Homematic, FTK, SW. DIM, Smoke,KODI,Squeezebox

Otto123

Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

Beta-User

...oder das Verbinden zweier FHEM-Instanzen...

Aber ist das richtig, dass man als Hilfesuchender sich erst mal den Usecase für eine existierende Implementierung erläutern lassen darf, um dann irgendwann mal "netterweise" die Antwort auf eine simple Frage zu geben?

Und was ist der der Grund für ein Posting in "Unterstützende Systeme", das sich eindeutig auf MQTT2_DEVICE bezieht? (https://forum.fhem.de/index.php/topic,113310.msg1075969.html#msg1075969)? Und warum fehlt dort ein list? (Falls du Code suchst, um das JSON unbearbeitet abzufangen (?!?): https://svn.fhem.de/trac/browser/trunk/fhem/FHEM/lib/AttrTemplate/mqtt2.template?rev=22513#L962)

...bin ansonsten hier wie dort raus, ist mir zu konfus...
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

riker1

Zitat von: Beta-User am 03 August 2020, 09:55:27
...oder das Verbinden zweier FHEM-Instanzen...

Aber ist das richtig, dass man als Hilfesuchender sich erst mal den Usecase für eine existierende Implementierung erläutern lassen darf, um dann irgendwann mal "netterweise" die Antwort auf eine simple Frage zu geben?

Und was ist der der Grund für ein Posting in "Unterstützende Systeme", das sich eindeutig auf MQTT2_DEVICE bezieht? (https://forum.fhem.de/index.php/topic,113310.msg1075969.html#msg1075969)? Und warum fehlt dort ein list? (Falls du Code suchst, um das JSON unbearbeitet abzufangen (?!?): https://svn.fhem.de/trac/browser/trunk/fhem/FHEM/lib/AttrTemplate/mqtt2.template?rev=22513#L962)

...bin ansonsten hier wie dort raus, ist mir zu konfus...

Hallo, verschiebe die Frage gerne, hatte in einem Threat mit JSON und Tasmota gelesen, das man ein Thema dort aufmachen sollte.
Was genau ist konfus?

Verstehe nicht warum du sauer bist? Sorry wenn ich was falsch gemacht habe.

VG T
FHEM    5.26.1 Ubuntu 18, FHEM    5.26.1 RPI 3 , Actoren: IT ,Tasmota, ESPEasy,
MAX CUBE, MAX HT, MAX WT, Selbstbau nanoCULs, FS 20,Tasmota, Homematic, FTK, SW. DIM, Smoke,KODI,Squeezebox

Beta-User

Bin nicht wirklich sauer, habe nur keine Lust, hier weiterzuhelfen, weil wir offenbar verschiedene Sprachen sprechen:

Zum einen hatte ich 2x nach dem IO-TYPE gefragt, und zum anderen ist dir auch nach mehr als 700 Posts noch unklar, wie man den richtigen Forenbereich ermittelt und Fragen "richtig" stellt. (Also in dem anderen Thread genau die Angaben mal wieder fehlen, die ich hier auch haben wollte...)

Ich empfinde das als unstrukturierte Herangehensweise und nenne das halt dann "konfus". That's all.
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

riker1

Zitat von: Beta-User am 03 August 2020, 10:47:10
Bin nicht wirklich sauer, habe nur keine Lust, hier weiterzuhelfen, weil wir offenbar verschiedene Sprachen sprechen:

Zum einen hatte ich 2x nach dem IO-TYPE gefragt, und zum anderen ist dir auch nach mehr als 700 Posts noch unklar, wie man den richtigen Forenbereich ermittelt und Fragen "richtig" stellt. (Also in dem anderen Thread genau die Angaben mal wieder fehlen, die ich hier auch haben wollte...)

Ich empfinde das als unstrukturierte Herangehensweise und nenne das halt dann "konfus". That's all.

sorry das mit dem IO Type ist mir durchgerutscht.

hatte im Bereich JSONExpand gestöbert zur PRoblemlösung und da stand dann:  wo man Fragen stellen sollte. https://forum.fhem.de/index.php/topic,66761.msg771947.html#msg771947

Danke trotzdem

VG Thomas
FHEM    5.26.1 Ubuntu 18, FHEM    5.26.1 RPI 3 , Actoren: IT ,Tasmota, ESPEasy,
MAX CUBE, MAX HT, MAX WT, Selbstbau nanoCULs, FS 20,Tasmota, Homematic, FTK, SW. DIM, Smoke,KODI,Squeezebox

Beta-User

Zitat von: riker1 am 03 August 2020, 10:51:05
hatte im Bereich JSONExpand gestöbert zur PRoblemlösung und da stand dann:  wo man Fragen stellen sollte. https://forum.fhem.de/index.php/topic,66761.msg771947.html#msg771947
? und was hat das ganze mit expandJSON zu tun?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

riker1

Zitat von: Beta-User am 03 August 2020, 11:33:30
? und was hat das ganze mit expandJSON zu tun?

Hatte halt versucht Paypload  der MQTT Message mit ExpandJSON auszulesen und entsprechende Readings zu erzeugen.


FHEM    5.26.1 Ubuntu 18, FHEM    5.26.1 RPI 3 , Actoren: IT ,Tasmota, ESPEasy,
MAX CUBE, MAX HT, MAX WT, Selbstbau nanoCULs, FS 20,Tasmota, Homematic, FTK, SW. DIM, Smoke,KODI,Squeezebox

Beta-User

Aha. Nach intensiver Lektüre von diesem Beitrag:
Zitat von: riker1 am 03 August 2020, 08:07:09Hallo

hat jemand eine Idee wie ich die Rules als Readings bekomme?


07:52:53 MQT: stat/TA_WP_G8/RESULT = {"Rule3":"ON","Once":"OFF","StopOnError":"OFF","Length":42,"Free":469,"Rules":"ruletext"}

habe als readinglist attribut:

stat/TA_WP_G8/RESULT:.* { json2nameValue($EVENT,'',$JSONMAP) }}

im Reading landet dann aber nur das Reading: Rules

Ich verstehe nicht warum nicht RuleX (1-3) als Reading auftaucht?

Wie bekomme ich das hin?

Danke für die Hilfe

VG T
habe ich jetzt auch das list von dem expandJSON-Device gefunden :P .

Ironiefrei: nur weil irgendwo "JSON" steht, bedeutet das nicht, dass auf dieselbe Art und Weise daraus Readings erzeugt würden. Fakt ist und bleibt: Was du heute geschrieben hast, stand unter keinem guten Stern und war einfach nicht exakt genug. Da gibt es "room for improvement", nicht mehr und nicht weniger war die Botschaft von meiner Seite...
Lassen wir es damit gut sein?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files