NEWS
(gelöst) Sonoff Adapter hat keine Datenpunkte
-
@dp20eic
ja ich habe leider Probleme, die Threads wieder zu finden. Wo bekommst Du die Info her welche Threads ich angefangen habe ??
-
@williklein sagte in Sonoff Adapter:
@dp20eic
ja ich habe leider Probleme, die Threads wieder zu finden. Wo bekommst Du die Info her welche Threads ich angefangen habe ??
Moin,
Du kannst entweder
Oder
Nachschauen, was Du so verzapft hast
Oder ist glaube ich besser, schneller
VG
Bernd -
Irgendwie kann ich die anderen jetzt nicht als gelöst erklären. Die anderen Threads würde ich das gerne machen und nur diesen hier bearbeiten.
Wenn die Datenpunkte im Sonoff wieder drin sind, dann gehe ich an den Gaszähler. Der zählt jetzt schon, aber ich weiss nicht, ob richtig.
Nur der muss ja dann auch im Sonoff Adapter sichtbar sein, also wäre schön, wenn wir nur hier weiter machen könnten
-
@dp20eic
OK vielen Dank, dann habe ich wieder was dazu gelernt und finde mich besser zurecht.
-
bei Sonoff müssen dir andere weiterhelfen. Da du aber keine weiteren Sonoff - Geräte hast, ist die Frage, ob man bei Sonoff bleibt oder auf MQTT wechselt.
-
@tt-tom sagte in Sonoff Adapter:
@WilliKlein
entscheid dich doch bitte mal für ein Thread.
wir waren hier https://forum.iobroker.net/post/1015431ja auch noch nicht fertig.Es wäre schön, wenn ich hier jetzt mal ein paar Tips bekomme, was zu machen ist. Die anderen Trends habe ich soweit als gelöst erklärt.
-
@williklein na dein mqtt in deinem Gerät muss mit Nutzername, Passwort, Ip vom Host(iobroker) und Port mit den Einstellungen im Sonoff Adapter übereinstimmen. Dieser macht ja mqtt für dich und brauchst nicht extra den mqtt Adapter
Edit
Und auch wie bereits geschrieben, dein Gerät neu starten, danach sollten bei Ereignis/abhängig von teleperiod so nach und nach die Datenpunkte erscheinen.
In der Instanz würde ich erstmal alle Haken weg lassen bzw dann nur das anhaken was wirklich benötigt wird
-
@williklein sagte in Sonoff Adapter:
Ich habe beim sonoff Adapter beim Port 1883 eingestellt, ebenso in der Tasmota App.
Moin,
zeig doch nicht nur so ein Fitzelchen, sondern alles.
Dann, was Tasmota angeht, nicht sagen, sondern zeigen. Wie @crunchip auch schon gefragt hat, User/Passwort ok sowohl im Sonoff Adapter, als auch in Tasmota.Also so sieht das bei mir aus
VG
BerndEdit
Ich möchte hier noch einmal eine Lanze für die Vergabe von Ports brechen, denn ich sehe immer wieder, dass man da irgendwas einträgt, ohne zu wissen, was man da macht.
Dies ist die Liste der Standard Ports - Wikipedia.Der Bereich
- 0 - 1023 ist nur für `root-Konto` Zugriffe gestattet. - 1024 - 49151 sind oft schon durch Applikationen reserviert und damit Standard, wie z. B.: 1883 für `mqtt` - 49152 - 65535 sind dynamisch, hier sollte man sich bedienen wenn man eigene Ports nutzen möchte
P.S.: ich weiß, dass ich mich auch nicht ganz daran gehalten habe, ich habe aber einen leeren Bereich im 38k Bereich gewählt
-
@dp20eic
Nutzername und Passwort stimmen, habe ich auch wiederholt neu eingegeben.
IP und Port sind auch OK. -
@williklein Bitte den Threadtitel sinnvoll anpassen!
-
@williklein sagte in Sonoff Adapter:
IP und Port sind auch OK.
Moin,
also
192.168.178.92
ist derioBroker
?Erst machen wir ein zweites Fenster mit dem Protokoll auf, sollte unter Quelle schon ein Eintrag Sonoff sein, dann auswählen
Im ersten Fenster stellen den Adapter mal auf Debug um
!!! Achtung !!!
Nach Abschluss, nicht vergessen denExpertenmodus
wieder ausschalten.
!!! Achtung !!!Den Adapter neue starten und im zweiten Fenster schauen, was für Meldungen kommen, Meldungen hier in Code Tags </> posten
VG
Bernd -
in der Software von Tasmota in der Console steht eine Fehlermeldung. Vielleicht ist das die Ursache ?
Ich habe da schon getestet und den Port auf 1882 geändert, aber auch ohne Erfolg.
-
@williklein du darfst den Port nicht einfach so ändern, könnte anderweitug schon belegt sein
Bzw zeig mal die Ausgabe vonsudo netstat -tulpen
-
pi@raspberrypi:~ $ sudo netstad -tulben sudo: netstad: command not found pi@raspberrypi:~ $ sudo netstad -tulben sudo: netstad: command not found pi@raspberrypi:~ $
MOD-EDIT: Code in code-tags gesetzt!
-
@dp20eic
sonoff.0 2023-07-12 20:49:55.442 debug stateChange sonoff.0.info.connection: {"val":"","ack":true,"ts":1689187795435,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1689120066039} sonoff.0 2023-07-12 20:49:55.423 info Starting MQTT authenticated server on port 1883 sonoff.0 2023-07-12 20:49:55.352 info starting. Version 2.5.7 in /opt/iobroker/node_modules/iobroker.sonoff, node: v16.18.0, js-controller: 4.0.23 sonoff.0 2023-07-12 20:49:54.999 debug Plugin sentry Initialize Plugin (enabled=true) sonoff.0 2023-07-12 20:49:50.429 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason sonoff.0 2023-07-12 20:49:50.428 debug Plugin sentry destroyed sonoff.0 2023-07-12 20:49:50.427 info terminating sonoff.0 2023-07-12 20:49:50.425 info Got terminate signal TERMINATE_YOURSELF sonoff.0 2023-07-12 20:48:29.906 warn Client [DVES_E0F23B] has invalid password or username sonoff.0 2023-07-12 20:48:18.540 debug stateChange sonoff.0.info.connection: {"val":"","ack":true,"ts":1689187698533,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1689120066039} sonoff.0 2023-07-12 20:48:18.504 info Starting MQTT authenticated server on port 1883 sonoff.0 2023-07-12 20:48:18.424 info starting. Version 2.5.7 in /opt/iobroker/node_modules/iobroker.sonoff, node: v16.18.0, js-controller: 4.0.23 sonoff.0 2023-07-12 20:48:18.075 debug Plugin sentry Initialize Plugin (enabled=true) sonoff.0 2023-07-12 20:48:13.482 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason sonoff.0 2023-07-12 20:48:13.481 debug Plugin sentry destroyed sonoff.0 2023-07-12 20:48:13.480 info terminating sonoff.0 2023-07-12 20:48:13.476 info Got terminate signal TERMINATE_YOURSELF sonoff.0 2023-07-12 20:46:25.113 warn Client [DVES_E0F23B] has invalid password or username sonoff.0 2023-07-12 20:46:13.162 debug stateChange sonoff.0.info.connection: {"val":"","ack":true,"ts":1689187573156,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1689120066039} sonoff.0 2023-07-12 20:46:13.144 info Starting MQTT authenticated server on port 1883 sonoff.0 2023-07-12 20:46:13.071 info starting. Version 2.5.7 in /opt/iobroker/node_modules/iobroker.sonoff, node: v16.18.0, js-controller: 4.0.23 sonoff.0 2023-07-12 20:46:12.740 debug Plugin sentry Initialize Plugin (enabled=true) sonoff.0 2023-07-12 20:46:08.206 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason sonoff.0 2023-07-12 20:46:08.203 info terminating sonoff.0 2023-07-12 20:46:08.199 info Got terminate signal TERMINATE_YOURSELF sonoff.0 2023-07-12 20:44:33.356 info Starting MQTT authenticated server on port 1883 sonoff.0 2023-07-12 20:44:33.283 info starting. Version 2.5.7 in /opt/iobroker/node_modules/iobroker.sonoff, node: v16.18.0, js-controller: 4.0.23 sonoff.0 2023-07-12 20:44:27.918 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason sonoff.0 2023-07-12 20:44:27.915 info terminating sonoff.0 2023-07-12 20:44:27.910 info Got terminate signal TERMINATE_YOURSELF sonoff.0 2023-07-12 20:44:20.240 warn Client [DVES_E0F23B] has invalid password or username sonoff.0 2023-07-12 20:42:15.417 warn Client [DVES_E0F23B] has invalid password or username sonoff.0 2023-07-12 20:40:10.605 warn Client [DVES_E0F23B] has invalid password or username sonoff.0 2023-07-12 20:38:05.744 warn Client [DVES_E0F23B] has invalid password or username sonoff.0 2023-07-12 20:36:00.936 warn Client [DVES_E0F23B] has invalid password or username sonoff.0 2023-07-12 20:33:56.103 warn Client [DVES_E0F23B] has invalid password or username sonoff.0 2023-07-12 20:31:51.200 warn Client [DVES_E0F23B] has invalid password or username
-
Original:
@crunchip sagte in Sonoff Adapter hat keine Datenpunkte:
sudo netstat -tulpen
Und dann Deine Eingabe:
@williklein sagte in Sonoff Adapter hat keine Datenpunkte:
sudo netstad -tulben
Finde den Fehler
Und Dein System ist auch nicht grad auf neuem Stand !
node: v16.18.0, js-controller: 4.0.23
-
machmal ist man einfach zu blöd. Jetzt aber richtig
pi@raspberrypi:~ $ sudo netstat -tulben netstat: invalid option -- 'b' usage: netstat [-vWeenNcCF] [<Af>] -r netstat {-V|--version|-h|--help} netstat [-vWnNcaeol] [<Socket> ...] netstat { [-vWeenNac] -i | [-cnNe] -M | -s [-6tuw] } -r, --route display routing table -i, --interfaces display interface table -g, --groups display multicast group memberships -s, --statistics display networking statistics (like SNMP) -M, --masquerade display masqueraded connections -v, --verbose be verbose -W, --wide don't truncate IP addresses -n, --numeric don't resolve names --numeric-hosts don't resolve host names --numeric-ports don't resolve port names --numeric-users don't resolve user names -N, --symbolic resolve hardware names -e, --extend display other/more information -p, --programs display PID/Program name for sockets -o, --timers display timers -c, --continuous continuous listing -l, --listening display listening server sockets -a, --all display all sockets (default: connected) -F, --fib display Forwarding Information Base (default) -C, --cache display routing cache instead of FIB -Z, --context display SELinux security context for sockets <Socket>={-t|--tcp} {-u|--udp} {-U|--udplite} {-S|--sctp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom <AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet List of possible address families (which support routing): inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25) netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP) x25 (CCITT X.25) pi@raspberrypi:~ $
-
@williklein sagte in Sonoff Adapter hat keine Datenpunkte:
sudo netstat -tulben
finde nochmal den Fehler
-
@williklein sagte in Sonoff Adapter hat keine Datenpunkte:
Jetzt aber richtig
nicht ganz, kürz es ab
sudo netstat -ltp
-
sudo netstat -ltp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN 585/sshd: /usr/sbin tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 564/vncserver-x11-c tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 3211437/io.shelly.0 tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 3217593/io.sonoff.0 tcp 0 0 localhost:ipp 0.0.0.0:* LISTEN 3201754/cupsd tcp 0 0 localhost:9000 0.0.0.0:* LISTEN 548/iobroker.js-con tcp 0 0 localhost:9001 0.0.0.0:* LISTEN 548/iobroker.js-con tcp6 0 0 [::]:ssh [::]:* LISTEN 585/sshd: /usr/sbin tcp6 0 0 [::]:5900 [::]:* LISTEN 564/vncserver-x11-c tcp6 0 0 [::]:8082 [::]:* LISTEN 2913709/io.web.0 tcp6 0 0 [::]:tproxy [::]:* LISTEN 120900/io.admin.0 tcp6 0 0 localhost:ipp [::]:* LISTEN 3201754/cupsd pi@raspberrypi:~ $