Hallo,
ich habe 2 gleiche SONOFF Basic mit der aktuellen Tasmota 5.10.0 geflashed. Beide starten und loggen sich ins WLAN ein. Beide Websites zu Configuration sind erreichbar.
Vom PC aus sind beide per Ping erreichbar.
Mein MQTT Broker (Mosquitto 1.4.10) läuft auf einem RPI3 mit Raspbian Stretch. Einer der beiden Sonoff verbindet sich mit dem Broker, der andere nicht. Eben dieser ist auch vom RPI aus nicht oder nur manchmal per ping erreichbar.
Das Log aus der Sonoff-Console:
Code
00:00:00 Project sonoff_wz Sonoff_wz (Topic sonoff_wz, Fallback sonoff_test1, GroupTopic sonoffs) Version 5.10.0
00:00:00 WIF: Connecting to AP1 WLAN-Access in mode 11N as sonoff_wz-7273...
00:00:07 WIF: Connected
00:00:14 DNS: Initialized
00:00:21 HTP: Web server active on sonoff_wz-7273.local with IP address 192.168.2.127
00:00:29 MQT: Attempting connection...
00:00:43 MQT: Connect failed to 192.168.2.12:1883, rc -2. Retry in 10 sec
00:01:01 MQT: Attempting connection...
00:01:27 MQT: Connect failed to 192.168.2.12:1883, rc -4. Retry in 10 sec
00:01:55 MQT: Attempting connection...
00:02:07 MQT: Connect failed to 192.168.2.12:1883, rc -2. Retry in 10 sec<
Alles anzeigen
aus dem Mosquitto Log
Code
1513544715: New connection from 192.168.2.127 on port 1883.
1513544715: New client connected from 192.168.2.127 as sonoff_test1 (c1, k120, u'test').
1513544735: Socket error on client sonoff_test1, disconnecting.
1513544809: New connection from 192.168.2.127 on port 1883.
1513544809: New client connected from 192.168.2.127 as sonoff_test1 (c1, k120, u'test').
1513544829: Socket error on client sonoff_test1, disconnecting.<
und das Ping vom RPI zum Problem-Sonoff
Code
[root@SmartHomeNGTEST ~]# ping 192.168.2.127
PING 192.168.2.127 (192.168.2.127) 56(84) bytes of data.
64 bytes from 192.168.2.127: icmp_seq=31 ttl=128 time=18.6 ms
64 bytes from 192.168.2.127: icmp_seq=376 ttl=128 time=2.41 ms
64 bytes from 192.168.2.127: icmp_seq=377 ttl=128 time=3.12 ms
64 bytes from 192.168.2.127: icmp_seq=378 ttl=128 time=2.18 ms
64 bytes from 192.168.2.127: icmp_seq=379 ttl=128 time=2.55 ms
64 bytes from 192.168.2.127: icmp_seq=380 ttl=128 time=2.43 ms
64 bytes from 192.168.2.127: icmp_seq=381 ttl=128 time=2.21 ms
64 bytes from 192.168.2.127: icmp_seq=382 ttl=128 time=2.88 ms
64 bytes from 192.168.2.127: icmp_seq=383 ttl=128 time=2.37 ms
64 bytes from 192.168.2.127: icmp_seq=384 ttl=128 time=3.08 ms
64 bytes from 192.168.2.127: icmp_seq=385 ttl=128 time=2.50 ms
64 bytes from 192.168.2.127: icmp_seq=386 ttl=128 time=2.51 ms
Alles anzeigen
Hat hier jemand eine Idee?
Danke dafür!