SIGNALESP: Firm- und Hardware für SIGNALduino direkt auf ESP8266 oder ESP32

Begonnen von Ralf9, 24 Januar 2018, 20:04:44

Vorheriges Thema - Nächstes Thema

Ralf9

Die Raw Nachrichten von der Wetterstation fangen mit 24 und die Raw Nachrichten vom Innensensor fangen mit E an
...MN;D=24EA0F825A27000003C50013004CE0
...MN;D=E8424D2E273B070000000000000000
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

dadoc

Moin,
Vom Innensensor scheint mit 868.400 etwas zu kommen, aner ich sehe gerade, dass sich die Verlötu g der Antenne gelöst hat, muss also erst nachlöten...
2022.09.27 08:54:53 1: 192.168.50.130:23 reappeared (mkduino3)
2022.09.27 08:54:55 3: mkduino3/init: disable receiver (XQ)
2022.09.27 08:54:55 4: mkduino3/msg READ: rxB=0
2022.09.27 08:54:55 4: mkduino3/msg READ: 1. Received answer (rxB=0 ) for ping does not match ^OK$
2022.09.27 08:54:56 3: mkduino3/init: get version, retry = 0
2022.09.27 08:54:56 4: mkduino3/msg READ: V 4.2.2-dev220712 SIGNALduinoAdv ESP32 cc1101 (R: B0*) - compiled at Sep 25 2022 22:03:15
2022.09.27 08:54:56 4: mkduino3/msg READ: regexp=V\s.*SIGNAL(duino|ESP).* cmd=version msg=V 4.2.2-dev220712 SIGNALduinoAdv ESP32 cc1101 (R: B0*) - compiled at Sep 25 2022 22:03:15
2022.09.27 08:54:56 3: mkduino3/init: firmwareversion with ccBankSupport and multi cc1101 found -> send br
2022.09.27 08:54:56 4: mkduino3/msg READ: r=B b=0 rx=0 ccmode=4 sync=2DD4 ccconf=216666895C0622F856070018166C436891 boffs=0000*
2022.09.27 08:54:56 4: mkduino3/msg READ: regexp=(b=\d.* ccmode=\d.*)|(switch)|(Bank)|(bank)|(radio)|(not valid) cmd=cmdBank msg=r=B b=0 rx=0 ccmode=4 sync=2DD4 ccconf=216666895C0622F856070018166C436891 boffs=0000*
2022.09.27 08:54:56 4: mkduino3/init: Write ccBankInfo: (r=B b=0 rx=0 ccmode=4 sync=2DD4 ccconf=216666895C0622F856070018166C436891 boffs=0000*) to Internal ccconf
2022.09.27 08:54:56 2: mkduino3: initialized. v3.4.14-dev_ralf_21.07.
2022.09.27 08:54:56 3: mkduino3/init: enable receiver (XE)
2022.09.27 08:54:56 4: mkduino3/msg READ: rxB=1
2022.09.27 08:55:56 4: mkduino3/KeepAlive not ok, retry = 1 -> get ping
2022.09.27 08:55:56 4: mkduino3/msg READ: OK
2022.09.27 08:55:56 4: mkduino3/msg READ: regexp=^OK$ cmd=ping msg=OK
2022.09.27 08:55:56 4: mkduino3/HandleWriteQueue: nothing to send, stopping timer
2022.09.27 08:56:15 4: mkduino3/msg READ: MN;D=E8024B3D267A5200000000000000000000000000;R=232;
2022.09.27 08:56:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 203 length 40 -> TX38
2022.09.27 08:56:15 4: mkduino3 ParseMN: method error! LaCrosse_TX38_convert: crc Error crc=150 crcRef=179
2022.09.27 08:56:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 205 length 40 -> WH25 WH25A WH32B
2022.09.27 08:56:15 4: mkduino3 ParseMN: method error! WH25: checksum Error checksum=18 checksumRef=82
2022.09.27 08:56:47 3: WARNING master device THERMOSTAT_Bad_Climate has no week profile - create default
2022.09.27 08:56:56 4: mkduino3/keepalive ok, retry = 0
2022.09.27 08:57:15 4: mkduino3/msg READ: MN;D=E8424B3D26795100000000000000000000000000;R=231;
2022.09.27 08:57:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 203 length 40 -> TX38
2022.09.27 08:57:15 4: mkduino3 ParseMN: method error! LaCrosse_TX38_convert: crc Error crc=21 crcRef=179
2022.09.27 08:57:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 205 length 40 -> WH25 WH25A WH32B
2022.09.27 08:57:15 4: mkduino3 WH25/WH32B: dmsg=E8424B3D26795100000000000000000000000000 checksum=81 ok, bitsum=0x83 (no check)
2022.09.27 08:57:15 4: mkduino3 ParseMN: ID=205 dmsg=W205#E8424B3D26795100000000000000000000000000
2022.09.27 08:57:15 4: mkduino3 Dispatch: W205#E8424B3D26795100000000000000000000000000, -86.5 dB, dispatch
2022.09.27 08:57:15 4: mkduino3: SD_WS_Parse protocol 205, rawData E8424B3D26795100000000000000000000000000
2022.09.27 08:57:15 4: mkduino3: SD_WS_Parse decoded protocol-id 205 (WH25), sensor-id 84
2022.09.27 08:57:16 4: mkduino3/msg READ: MN;D=7EA14AA034315CFCBC481A1E9940854494203B58;R=198;
2022.09.27 08:57:56 4: mkduino3/keepalive ok, retry = 0
2022.09.27 08:58:15 4: mkduino3/msg READ: MN;D=E8424B3D26785000000000000000000000000000;R=231;
2022.09.27 08:58:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 203 length 40 -> TX38
2022.09.27 08:58:15 4: mkduino3 ParseMN: method error! LaCrosse_TX38_convert: crc Error crc=21 crcRef=179
2022.09.27 08:58:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 205 length 40 -> WH25 WH25A WH32B
2022.09.27 08:58:15 4: mkduino3 WH25/WH32B: dmsg=E8424B3D26785000000000000000000000000000 checksum=80 ok, bitsum=0x82 (no check)
2022.09.27 08:58:15 4: mkduino3 ParseMN: ID=205 dmsg=W205#E8424B3D26785000000000000000000000000000
2022.09.27 08:58:15 4: mkduino3 Dispatch: W205#E8424B3D26785000000000000000000000000000, -86.5 dB, dispatch
2022.09.27 08:58:15 4: mkduino3: SD_WS_Parse protocol 205, rawData E8424B3D26785000000000000000000000000000
2022.09.27 08:58:15 4: mkduino3: SD_WS_Parse decoded protocol-id 205 (WH25), sensor-id 84
2022.09.27 08:58:56 4: mkduino3/keepalive ok, retry = 0
2022.09.27 08:59:15 4: mkduino3/msg READ: MN;D=E8424B3D267B5300000000000000000000000000;R=230;
2022.09.27 08:59:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 203 length 40 -> TX38
2022.09.27 08:59:15 4: mkduino3 ParseMN: method error! LaCrosse_TX38_convert: crc Error crc=21 crcRef=179
2022.09.27 08:59:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 205 length 40 -> WH25 WH25A WH32B
2022.09.27 08:59:15 4: mkduino3 WH25/WH32B: dmsg=E8424B3D267B5300000000000000000000000000 checksum=83 ok, bitsum=0x81 (no check)
2022.09.27 08:59:15 4: mkduino3 ParseMN: ID=205 dmsg=W205#E8424B3D267B5300000000000000000000000000
2022.09.27 08:59:15 4: mkduino3 Dispatch: W205#E8424B3D267B5300000000000000000000000000, -87 dB, dispatch
2022.09.27 08:59:15 4: mkduino3: SD_WS_Parse protocol 205, rawData E8424B3D267B5300000000000000000000000000
2022.09.27 08:59:15 4: mkduino3: SD_WS_Parse decoded protocol-id 205 (WH25), sensor-id 84
2022.09.27 08:59:56 4: mkduino3/keepalive ok, retry = 0
2022.09.27 09:00:15 4: mkduino3/msg READ: MN;D=E8424B3D267D5500000000000000000000000000;R=232;
2022.09.27 09:00:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 203 length 40 -> TX38
2022.09.27 09:00:15 4: mkduino3 ParseMN: method error! LaCrosse_TX38_convert: crc Error crc=21 crcRef=179
2022.09.27 09:00:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 205 length 40 -> WH25 WH25A WH32B
2022.09.27 09:00:15 4: mkduino3 WH25/WH32B: dmsg=E8424B3D267D5500000000000000000000000000 checksum=85 ok, bitsum=0x87 (no check)
2022.09.27 09:00:15 4: mkduino3 ParseMN: ID=205 dmsg=W205#E8424B3D267D5500000000000000000000000000
2022.09.27 09:00:15 4: mkduino3 Dispatch: W205#E8424B3D267D5500000000000000000000000000, -86 dB, dispatch
2022.09.27 09:00:56 4: mkduino3/keepalive ok, retry = 0
2022.09.27 09:01:15 4: mkduino3/msg READ: MN;D=E8424A3D267C5300000000000000000000000000;R=231;
2022.09.27 09:01:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 203 length 40 -> TX38
2022.09.27 09:01:15 4: mkduino3 ParseMN: method error! LaCrosse_TX38_convert: crc Error crc=21 crcRef=163
2022.09.27 09:01:15 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 205 length 40 -> WH25 WH25A WH32B
2022.09.27 09:01:15 4: mkduino3 WH25/WH32B: dmsg=E8424A3D267C5300000000000000000000000000 checksum=83 ok, bitsum=0x87 (no check)
2022.09.27 09:01:15 4: mkduino3 ParseMN: ID=205 dmsg=W205#E8424A3D267C5300000000000000000000000000
2022.09.27 09:01:15 4: mkduino3 Dispatch: W205#E8424A3D267C5300000000000000000000000000, -86.5 dB, dispatch
2022.09.27 09:01:15 4: mkduino3: SD_WS_Parse protocol 205, rawData E8424A3D267C5300000000000000000000000000
2022.09.27 09:01:15 4: mkduino3: SD_WS_Parse decoded protocol-id 205 (WH25), sensor-id 84

Standort 1: FS20 mit CUL und FHEM auf Raspi. HM-Komponenten (Heizung, Rollladen, Schalter). HM IP über Raspimatic (testweise)
Standort 2: Homematic (Wired) über CCU2 und PocketHome HD
3 x Raspi3 mit piCorePlayer/Kodi für Multiroom Audio (+ Tablets/iPeng/iPods

Gisbert

Hallo Ralf,

ich hab bei meinem SIGNALduino auf ESP8266-Basis folgendes,
in den Internals:
version
V 3.4.0 SIGNALESP cc1101 (chip CC110 unknown) - compiled at Jul 16 2020 20:53:39

im Reading:
version
V 3.3.1-RC-nightly SIGNALESP cc1101 (chip CC110 unknown) - compiled at Feb 3 2019 21:37:16
2020-01-05 18:11:53


Kann ich da was verbessern, gibt es einen Handlungsbedarf, oder lasse ich es besser, wie es ist?

Viele Grüße Gisbert
Aktuelles FHEM | PROXMOX | Fujitsu Futro S740 | Debian 12 | UniFi | Homematic, VCCU, HMUART | ESP8266 | ATtiny85 | Wasser-, Stromzähler | Wlan-Kamera | SIGNALduino, Flamingo Rauchmelder FA21/22RF | RHASSPY

Ralf9

Hallo Gisbert,

ZitatV 3.4.0 SIGNALESP cc1101 (chip CC110 unknown) - compiled at Jul 16 2020 20:53:39
Dies ist die offizielle firmware von Sidey, meine firmware gibt es nicht für den ESP8266.

Wenn damit alles wie gewünscht funktioniert, und Du kein FSK benötigst, kannst Du dies so lassen.

Gruß Ralf
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

dadoc

Zitat von: Ralf9 am 26 September 2022, 22:26:57
Die Raw Nachrichten von der Wetterstation fangen mit 24 und die Raw Nachrichten vom Innensensor fangen mit E an
...MN;D=24EA0F825A27000003C50013004CE0
...MN;D=E8424D2E273B070000000000000000
Kaum frisch verlötet, schon scheint es zu funktionieren (Innenstation sendet vermutlich nicht bis in den Keller, wo der Esp32 gerade arbeitet). Ich denke, die wackelige Verlötung der Antenne war für die Auffälligkeiten verantwortlich.
Allerdings immer noch crs errors im Log:

2022.09.27 18:05:04 4: mkduino3/msg READ: MN;D=24EA4882044C1F07046D0012004B10EA84204000;R=233;
2022.09.27 18:05:04 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 204 length 40 -> WH24 WH65A/B
2022.09.27 18:05:04 4: mkduino3 ParseMN: method error! WH24: crc Error crc=144 crcRef=234
2022.09.27 18:05:20 4: mkduino3/msg READ: MN;D=24EA1682044C2007046D0013004F4C80BC201040;R=234;
2022.09.27 18:05:20 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 204 length 40 -> WH24 WH65A/B
2022.09.27 18:05:20 4: mkduino3 WH24: dmsg=24EA1682044C2007046D0013004F4C80BC201040 crc=128 ok, checksum=188 ok
2022.09.27 18:05:20 4: mkduino3 ParseMN: ID=204 dmsg=W204#24EA1682044C2007046D0013004F4C
2022.09.27 18:05:20 4: mkduino3 Dispatch: W204#24EA1682044C2007046D0013004F4C, -85 dB, dispatch
2022.09.27 18:05:36 4: mkduino3/msg READ: MN;D=44054A0046040202200425000A2051B400286480;R=180;
2022.09.27 18:05:52 4: mkduino3/msg READ: MN;D=24EA1082044C1904046D001400538EC93C2001A0;R=233;
2022.09.27 18:05:52 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 204 length 40 -> WH24 WH65A/B
2022.09.27 18:05:52 4: mkduino3 WH24: dmsg=24EA1082044C1904046D001400538EC93C2001A0 crc=201 ok, checksum=60 ok
2022.09.27 18:05:52 4: mkduino3 ParseMN: ID=204 dmsg=W204#24EA1082044C1904046D001400538E
2022.09.27 18:05:52 4: mkduino3 Dispatch: W204#24EA1082044C1904046D001400538E, -85.5 dB, dispatch
2022.09.27 18:05:52 4: mkduino3: SD_WS_Parse protocol 204, rawData 24EA1082044C1904046D001400538E
2022.09.27 18:05:52 4: mkduino3: SD_WS_Parse decoded protocol-id 204 (WH24), sensor-id EA
2022.09.27 18:06:01 4: mkduino3/keepalive ok, retry = 0
2022.09.27 18:06:24 4: mkduino3/msg READ: MN;D=24EAFD02044C0A26046D00140055667C53000003;R=232;
2022.09.27 18:06:24 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 204 length 40 -> WH24 WH65A/B
2022.09.27 18:06:24 4: mkduino3 ParseMN: method error! WH24: crc Error crc=36 crcRef=124
2022.09.27 18:06:40 4: mkduino3/msg READ: MN;D=24EAD802044C2706046D001400538E5C27200800;R=231;
2022.09.27 18:06:40 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 204 length 40 -> WH24 WH65A/B
2022.09.27 18:06:40 4: mkduino3 WH24: dmsg=24EAD802044C2706046D001400538E5C27200800 crc=92 ok, checksum=39 ok
2022.09.27 18:06:40 4: mkduino3 ParseMN: ID=204 dmsg=W204#24EAD802044C2706046D001400538E
2022.09.27 18:06:40 4: mkduino3 Dispatch: W204#24EAD802044C2706046D001400538E, -86.5 dB, dispatch
2022.09.27 18:06:56 4: mkduino3/msg READ: MN;D=24EAD002034C1204046D001300538E21CB2040B3;R=219;
2022.09.27 18:06:56 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 204 length 40 -> WH24 WH65A/B
2022.09.27 18:06:56 4: mkduino3 WH24: dmsg=24EAD002034C1204046D001300538E21CB2040B3 crc=33 ok, checksum=203 ok
2022.09.27 18:06:56 4: mkduino3 ParseMN: ID=204 dmsg=W204#24EAD002034C1204046D001300538E
2022.09.27 18:06:56 4: mkduino3 Dispatch: W204#24EAD002034C1204046D001300538E, -92.5 dB, dispatch
2022.09.27 18:07:01 4: mkduino3/keepalive ok, retry = 0

Kann/soll man das ignorieren?
Standort 1: FS20 mit CUL und FHEM auf Raspi. HM-Komponenten (Heizung, Rollladen, Schalter). HM IP über Raspimatic (testweise)
Standort 2: Homematic (Wired) über CCU2 und PocketHome HD
3 x Raspi3 mit piCorePlayer/Kodi für Multiroom Audio (+ Tablets/iPeng/iPods

Ralf9

So wies aussieht wird im Keller das Signal von der Wetterstation nur recht schwach empfangen (RSSI nur ca -85 bis -92 dB)
da kann es ab und zu vorkommen, daß einzelne Nachrichten fehlerhaft sind.

Beim sduino1 ist mit RSSI ca -70 dB der Empfang deutlich besser
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

dadoc

Ah, ok, danke. Wenn's daran liegt, kein Problem. Empfang der Wetterstation war ja nur als Test, ob alles richtig zusammen gelötet und konfiguriert ist. Eigentlich sol der Keller-Esp ja später den Mbus der Wärmemengenzähler empfangen, und die sind auch im Keller.
Standort 1: FS20 mit CUL und FHEM auf Raspi. HM-Komponenten (Heizung, Rollladen, Schalter). HM IP über Raspimatic (testweise)
Standort 2: Homematic (Wired) über CCU2 und PocketHome HD
3 x Raspi3 mit piCorePlayer/Kodi für Multiroom Audio (+ Tablets/iPeng/iPods

dadoc

Zitat von: Ralf9 am 27 September 2022, 23:07:30
da kann es ab und zu vorkommen, daß einzelne Nachrichten fehlerhaft sind.
Könnte das auch ein Absturz des Esp32 bzw. der Wifi-Verbindung verursachen? Er ist nämlich zunächst heute früh um 6, dann wieder um 10:40 Uhr aus dem Netzwerk verschwunden:
2022.09.28 10:40:11 4: mkduino3/keepalive ok, retry = 0
2022.09.28 10:40:16 4: mkduino3/msg READ: MN;D=24EA5C82064E2D07049401510300524F02201739;R=221;
2022.09.28 10:40:16 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 204 length 40 -> WH24 WH65A/B
2022.09.28 10:40:16 4: mkduino3 WH24: dmsg=24EA5C82064E2D07049401510300524F02201739 crc=79 ok, checksum=2 ok
2022.09.28 10:40:16 4: mkduino3 ParseMN: ID=204 dmsg=W204#24EA5C82064E2D0704940151030052
2022.09.28 10:40:16 4: mkduino3 Dispatch: W204#24EA5C82064E2D0704940151030052, -91.5 dB, dispatch
2022.09.28 10:40:16 4: mkduino3: SD_WS_Parse protocol 204, rawData 24EA5C82064E2D0704940151030052
2022.09.28 10:40:16 4: mkduino3: SD_WS_Parse decoded protocol-id 204 (WH24), sensor-id EA
2022.09.28 10:41:11 4: mkduino3/keepalive ok, retry = 0
2022.09.28 10:42:11 4: mkduino3/KeepAlive not ok, retry = 1 -> get ping
2022.09.28 10:42:11 4: mkduino3/HandleWriteQueue: nothing to send, stopping timer
2022.09.28 10:43:11 3: mkduino3/KeepAlive not ok, retry = 2 -> get ping
2022.09.28 10:43:11 4: mkduino3/HandleWriteQueue: nothing to send, stopping timer
2022.09.28 10:44:11 3: mkduino3/KeepAlive not ok, retry = 3 -> get ping
2022.09.28 10:44:11 4: mkduino3/HandleWriteQueue: nothing to send, stopping timer
2022.09.28 10:45:11 3: mkduino3/keepalive not ok, retry count reached. Reset
2022.09.28 10:45:11 3: mkduino3 reset
2022.09.28 10:45:11 3: Opening mkduino3 device 192.168.50.130:23
2022.09.28 10:45:11 4: IP: 192.168.50.130 -> 192.168.50.130
2022.09.28 10:45:11 4: HttpUtils: 192.168.50.130: No route to host (113)
2022.09.28 10:45:11 1: mkduino3: Can't connect to 192.168.50.130:23: Operation now in progress
2022.09.28 10:45:11 1: mkduino3: Can't connect to 192.168.50.130:23: 192.168.50.130: No route to host (113)
2022.09.28 10:45:11 3: mkduino3: 192.168.50.130: No route to host (113)
2022.09.28 10:46:12 4: IP: 192.168.50.130 -> 192.168.50.130
2022.09.28 10:47:16 4: IP: 192.168.50.130 -> 192.168.50.130

Wenn ich das richtig sehe, sendet fhem ein reset, wenn der Esp32 nicht mehr erreichbar ist? Bringt natürlich nichts, wenn er nicht mehr im Netzwerk ist.
Auch die Fritzbox (5 Meter entfernt) zeigt ihn nicht mehr an. Hatte bei ihr bisher "Auch An- und Abmeldungen und erweiterte WLAN-Informationen protokollieren" nicht aktiviert, kann also nicht nach Meldungen schauen.
Nach Kaltstart des Esp32 klappt es wieder umgehend.
Standort 1: FS20 mit CUL und FHEM auf Raspi. HM-Komponenten (Heizung, Rollladen, Schalter). HM IP über Raspimatic (testweise)
Standort 2: Homematic (Wired) über CCU2 und PocketHome HD
3 x Raspi3 mit piCorePlayer/Kodi für Multiroom Audio (+ Tablets/iPeng/iPods

Ralf9

Hast Du das Problem mit beiden ESP32?
Ist das Netzteil für den ESP32 ok? Eine zu niedrige Spannung kann auch Probleme machen
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

dadoc

Zitat von: Ralf9 am 28 September 2022, 14:05:47
Hast Du das Problem mit beiden ESP32?
Nur beim 2.
Zitat
Ist das Netzteil für den ESP32 ok? Eine zu niedrige Spannung kann auch Probleme machen
Habe ich auch schon überlegt. Ist m.W. ein ziemlich altes iPad- oder iPhone-Netzteil. Ich werde heute Abend zum einen mal ein anderes nehmen, zum anderen die beiden Duinos gegeneinander tauschen.
Standort 1: FS20 mit CUL und FHEM auf Raspi. HM-Komponenten (Heizung, Rollladen, Schalter). HM IP über Raspimatic (testweise)
Standort 2: Homematic (Wired) über CCU2 und PocketHome HD
3 x Raspi3 mit piCorePlayer/Kodi für Multiroom Audio (+ Tablets/iPeng/iPods

dadoc

Anderes Netzteil, same problem. Es scheint, als könne der Esp32 nach einem routinemäßigem Wechsel des Wlan Funkkanals der Fritzbox nicht mehr verbinden: 2022.09.29 00:26:55 4: mkduino3/msg READ: MN;D=24EAFA01F55A0401049400020000006259200222;R=215;
2022.09.29 00:26:55 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 204 length 40 -> WH24 WH65A/B
2022.09.29 00:26:55 4: mkduino3 WH24: dmsg=24EAFA01F55A0401049400020000006259200222 crc=98 ok, checksum=89 ok
2022.09.29 00:26:55 4: mkduino3 ParseMN: ID=204 dmsg=W204#24EAFA01F55A040104940002000000
2022.09.29 00:26:55 4: mkduino3 Dispatch: W204#24EAFA01F55A040104940002000000, -94.5 dB, dispatch
2022.09.29 00:27:11 4: mkduino3/msg READ: MN;D=24EABE01F55A0101049400020000003BF3A049EA;R=218;
2022.09.29 00:27:11 4: mkduino3 Parse_MN: Found 2-FSK Protocol id 204 length 40 -> WH24 WH65A/B
2022.09.29 00:27:11 4: mkduino3 WH24: dmsg=24EABE01F55A0101049400020000003BF3A049EA crc=59 ok, checksum=243 ok
2022.09.29 00:27:11 4: mkduino3 ParseMN: ID=204 dmsg=W204#24EABE01F55A010104940002000000
2022.09.29 00:27:11 4: mkduino3 Dispatch: W204#24EABE01F55A010104940002000000, -93 dB, dispatch
2022.09.29 00:27:15 4: mkduino3/keepalive ok, retry = 0
2022.09.29 00:28:15 4: mkduino3/KeepAlive not ok, retry = 1 -> get ping
2022.09.29 00:28:16 4: mkduino3/HandleWriteQueue: nothing to send, stopping timer
2022.09.29 00:29:15 3: mkduino3/KeepAlive not ok, retry = 2 -> get ping
2022.09.29 00:29:16 4: mkduino3/HandleWriteQueue: nothing to send, stopping timer
2022.09.29 00:30:15 3: mkduino3/KeepAlive not ok, retry = 3 -> get ping
2022.09.29 00:30:16 4: mkduino3/HandleWriteQueue: nothing to send, stopping timer
2022.09.29 00:31:15 3: mkduino3/keepalive not ok, retry count reached. Reset
2022.09.29 00:31:15 3: mkduino3 reset
2022.09.29 00:31:15 3: Opening mkduino3 device 192.168.50.130:23
2022.09.29 00:31:15 4: IP: 192.168.50.130 -> 192.168.50.130
2022.09.29 00:31:16 4: HttpUtils: 192.168.50.130: No route to host (113)
2022.09.29 00:31:16 1: mkduino3: Can't connect to 192.168.50.130:23: No such file or directory
2022.09.29 00:31:16 1: mkduino3: Can't connect to 192.168.50.130:23: 192.168.50.130: No route to host (113)
2022.09.29 00:31:16 3: mkduino3: 192.168.50.130: No route to host (113)
2022.09.29 00:32:16 4: IP: 192.168.50.130 -> 192.168.50.130



29.09.22
00:32:18
WLAN-Autokanal: Die Kanaleinstellungen wurden nicht geändert, weiter aktiv auf Kanal 6 (2,4 GHz).
29.09.22
00:32:14
WLAN-Autokanal: Aktuelle Erfassung der WLAN-Umgebung (2,4 GHz) zur Optimierung der genutzten WLAN Kanäle läuft, WLAN-Geräte werden daher unter Umständen neu angemeldet.
29.09.22
00:30:13
Kein WLAN-Gerät mehr angemeldet, Stromverbrauch wird reduziert .
29.09.22
00:27:14
WLAN-Gerät wurde abgemeldet (2,4 GHz), PC-192-168-50-130, IP 192.168.50.130, MAC 08:3A:F2:AA:98:68.
29.09.22
00:27:14
WLAN-Autokanal: Die Kanaleinstellungen (vorher Kanal 11 (2,4 GHz)) wurden geändert, aktiv auf Kanal 6 (2,4 GHz).
29.09.22
00:27:12
WLAN-Autokanal: Aktuelle Erfassung der WLAN-Umgebung (2,4 GHz) zur Optimierung der genutzten WLAN Kanäle läuft, WLAN-Geräte werden daher unter Umständen neu angemeldet.
28.09.22
18:26:54
WLAN-Gerät angemeldet (2,4 GHz), 72 Mbit/s, PC-192-168-50-130, IP 192.168.50.130, MAC 08:3A:F2:AA:98:68.


Standort 1: FS20 mit CUL und FHEM auf Raspi. HM-Komponenten (Heizung, Rollladen, Schalter). HM IP über Raspimatic (testweise)
Standort 2: Homematic (Wired) über CCU2 und PocketHome HD
3 x Raspi3 mit piCorePlayer/Kodi für Multiroom Audio (+ Tablets/iPeng/iPods

Ralf9

Ja, ein reconnect nach einem Kanalwechsel funktioniert beim ESP32 nicht zuverlässig.

Dies lässt sich auch bei den Debugausgaben anschauen, z.B. mit dem seriellen Monitor der Arduino IDE
wenn es funktioniert siehts so aus:
WiFi lost connection. Reason: 200
*wm:[2] [EVENT] WIFI_REASON:  200
WiFi lost connection. Reason: 201
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
...
WiFi lost connection. Reason: 4
-----WiFi try reconnect------
*wm:[2] [EVENT] WIFI_REASON:  4
WiFi lost connection. Reason: 4
-----WiFi try reconnect------
*wm:[2] [EVENT] WIFI_REASON:  4
*******Connected*****
New client: ...


Wenn der reconnect nicht funktioniert kommt nur
WiFi lost connection. Reason: 200
*wm:[2] [EVENT] WIFI_REASON:  200


FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

dadoc

Das erklärt auch, warum der andere Sduino die Verbindung nicht verliert, denn die Box im Dachgeschoss macht anscheinend trotz aktivem Autokanal keine Kanalwechsel (mangels Notwendigkeit?).
Ich vermute, solche Workaround-Ideen greifen hier nicht? Dann bliebe ja nur, den Kanal fest vorzugeben, was natürlich oft auch nicht ideal ist.
Standort 1: FS20 mit CUL und FHEM auf Raspi. HM-Komponenten (Heizung, Rollladen, Schalter). HM IP über Raspimatic (testweise)
Standort 2: Homematic (Wired) über CCU2 und PocketHome HD
3 x Raspi3 mit piCorePlayer/Kodi für Multiroom Audio (+ Tablets/iPeng/iPods

sash.sc

Das Problem mit den esp32 habe ich auch. Kein automatisches verbunden.
Mit dem esp8266 klappt es soweit.

Gruß Sascha
Raspi 4B+ Bullseye ;LaCrosse; HomeMatic; MapleCUL; ZigBee; Signalduino ESP32 ; Shellys; MQTT2; Grafana mit Influxdb

dadoc

Ist AP hidden? Könnte evtl. damit zusammenhängen, bei mir war er es, wobei ich erst nochmal,rekonstruieren muss, ob er es auch beim Auftreten des Fehlers war.
S. https//www.mikrocontroller.net/topic/483542
bzw. Von dort verlinkt:

ZitatWi-Fi Mode
Policy
Description
Station
WIFI_COUNTRY_POLICY_AUTO
If the connected AP has country IE in its beacon, the country info equals to the country info in beacon. Otherwise, use the default country info.
For scan:
Use active scan from 1 to 11 and use passive scan from 12 to 14.
Always keep in mind that if an AP with hidden SSID and station is set to a passive scan channel, the passive scan will not find it. In other words, if the application hopes to find the AP with hidden SSID in every channel, the policy of country info should be configured to WIFI_COUNTRY_POLICY_MANUAL.
Standort 1: FS20 mit CUL und FHEM auf Raspi. HM-Komponenten (Heizung, Rollladen, Schalter). HM IP über Raspimatic (testweise)
Standort 2: Homematic (Wired) über CCU2 und PocketHome HD
3 x Raspi3 mit piCorePlayer/Kodi für Multiroom Audio (+ Tablets/iPeng/iPods