Open maxpd1 opened 1 year ago
Please provide a debug log of a connection try ...
Hi @Apollon77
I tried it once with and without SSL.
Credentials are hisenseservice multimqttservice
as per default according to https://github.com/Krazy998/mqtt-hisensetv
`
mqtt.0
2023-01-15 06:26:08.923 debug Send to server "info/connection": {"val":false,"ack":true,"ts":1673760368848,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1673760335293}
mqtt.0
2023-01-15 06:26:08.921 info send2Server mqtt.0.info.connection[info/connection]
mqtt.0
2023-01-15 06:26:08.895 debug Send to server "info/connection": {"val":true,"ack":true,"ts":1673760368834,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1673760368834}
mqtt.0
2023-01-15 06:26:08.892 info send2Server mqtt.0.info.connection[info/connection]
mqtt.0
2023-01-15 06:26:08.885 debug stateChange mqtt.0.info.connection: {"val":false,"ack":true,"ts":1673760368848,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1673760335293}
mqtt.0
2023-01-15 06:26:08.874 debug stateChange mqtt.0.info.connection: {"val":true,"ack":true,"ts":1673760368834,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1673760368834}
mqtt.0
2023-01-15 06:26:08.806 info Disconnected from 192.168.178.106
mqtt.0
2023-01-15 06:26:08.803 error Client error:Error: read ECONNRESET
mqtt.0
2023-01-15 06:26:08.778 info Reconnected to 192.168.178.106
mqtt.0
2023-01-15 06:25:58.773 error Client error:Error: read ECONNRESET
mqtt.0
2023-01-15 06:25:58.550 info Try to connect to mqtt://192.168.178.106:36669 with clientId=mqtt.mqtt.0and credentials hisenseservice:*******************
mqtt.0
2023-01-15 06:25:57.272 info starting. Version 4.0.7 in /opt/iobroker/node_modules/iobroker.mqtt, node: v14.20.0, js-controller: 4.0.23
mqtt.0
2023-01-15 06:25:55.921 debug Plugin sentry Initialize Plugin (enabled=true)
mqtt.0
2023-01-15 06:25:54.986 debug States connected to redis: 127.0.0.1:9000
mqtt.0
2023-01-15 06:25:54.782 debug States create User PubSub Client
mqtt.0
2023-01-15 06:25:54.779 debug States create System PubSub Client
mqtt.0
2023-01-15 06:25:54.678 debug Redis States: Use Redis connection: 127.0.0.1:9000
mqtt.0
2023-01-15 06:25:54.510 debug Objects connected to redis: 127.0.0.1:9001
mqtt.0
2023-01-15 06:25:54.492 debug Objects client initialize lua scripts
mqtt.0
2023-01-15 06:25:54.147 debug Objects create User PubSub Client
mqtt.0
2023-01-15 06:25:54.143 debug Objects create System PubSub Client
mqtt.0
2023-01-15 06:25:54.011 debug Objects client ready ... initialize now
mqtt.0
2023-01-15 06:25:53.794 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
mqtt.0
2023-01-15 06:25:46.706 info terminating with timeout
mqtt.0
2023-01-15 06:25:45.704 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
mqtt.0
2023-01-15 06:25:45.701 debug Plugin sentry destroyed
mqtt.0
2023-01-15 06:25:45.697 info terminating
mqtt.0
2023-01-15 06:25:45.190 info Got terminate signal TERMINATE_YOURSELF
mqtt.0
2023-01-15 06:25:35.305 debug Send to server "info/connection": {"val":false,"ack":true,"ts":1673760335293,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1673760335293}
mqtt.0
2023-01-15 06:25:35.304 info send2Server mqtt.0.info.connection[info/connection]
mqtt.0
2023-01-15 06:25:35.302 debug stateChange mqtt.0.info.connection: {"val":false,"ack":true,"ts":1673760335293,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1673760335293}
mqtt.0
2023-01-15 06:25:35.284 info Disconnected from 192.168.178.106: undefined
mqtt.0
2023-01-15 06:25:35.241 debug Send to server "info/connection": {"val":true,"ack":true,"ts":1673760335218,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1673760335218}
mqtt.0
2023-01-15 06:25:35.239 info send2Server mqtt.0.info.connection[info/connection]
mqtt.0
2023-01-15 06:25:35.229 debug stateChange mqtt.0.info.connection: {"val":true,"ack":true,"ts":1673760335218,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1673760335218}
mqtt.0
2023-01-15 06:25:35.200 info Reconnected to 192.168.178.106
mqtt.0
2023-01-15 06:25:24.823 info Try to connect to mqtts://192.168.178.106:36669 with clientId=mqtt.mqtt.0and credentials hisenseservice:*******************
mqtt.0
2023-01-15 06:25:23.665 info starting. Version 4.0.7 in /opt/iobroker/node_modules/iobroker.mqtt, node: v14.20.0, js-controller: 4.0.23
mqtt.0
2023-01-15 06:25:22.610 debug Plugin sentry Initialize Plugin (enabled=true)
mqtt.0
2023-01-15 06:25:21.825 debug States connected to redis: 127.0.0.1:9000
mqtt.0
2023-01-15 06:25:21.623 debug States create User PubSub Client
mqtt.0
2023-01-15 06:25:21.620 debug States create System PubSub Client
mqtt.0
2023-01-15 06:25:21.536 debug Redis States: Use Redis connection: 127.0.0.1:9000
mqtt.0
2023-01-15 06:25:21.401 debug Objects connected to redis: 127.0.0.1:9001
mqtt.0
2023-01-15 06:25:21.354 debug Objects client initialize lua scripts
mqtt.0
2023-01-15 06:25:21.073 debug Objects create User PubSub Client
mqtt.0
2023-01-15 06:25:21.069 debug Objects create System PubSub Client
mqtt.0
2023-01-15 06:25:21.059 debug Objects client ready ... initialize now
mqtt.0
2023-01-15 06:25:20.851 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
mqtt.0
2023-01-15 06:25:13.157 info terminating with timeout
mqtt.0
2023-01-15 06:25:12.155 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
mqtt.0
2023-01-15 06:25:12.153 debug Plugin sentry destroyed
mqtt.0
2023-01-15 06:25:12.150 info terminating
mqtt.0
2023-01-15 06:25:11.640 info Got terminate signal TERMINATE_YOURSELF
mqtt.0
2023-01-15 06:23:22.477 debug onStateChange mqtt.0.info.connection: {"val":"","ack":true,"ts":1673760202464,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1670877163691}
mqtt.0
2023-01-15 06:23:22.474 debug stateChange mqtt.0.info.connection: {"val":"","ack":true,"ts":1673760202464,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1670877163691}
mqtt.0
2023-01-15 06:23:22.420 info Starting MQTT-WebSocket (Secure) server on 0.0.0.0:1885
mqtt.0
2023-01-15 06:23:22.418 info Starting MQTT (Secure) server on 0.0.0.0:1884
mqtt.0
2023-01-15 06:23:21.151 error Cannot configure secure web server, because no certificates found: , ,
mqtt.0
2023-01-15 06:23:21.001 info starting. Version 4.0.7 in /opt/iobroker/node_modules/iobroker.mqtt, node: v14.20.0, js-controller: 4.0.23
mqtt.0
2023-01-15 06:23:19.832 debug Plugin sentry Initialize Plugin (enabled=true)
mqtt.0
2023-01-15 06:23:18.878 debug States connected to redis: 127.0.0.1:9000
mqtt.0
2023-01-15 06:23:18.658 debug States create User PubSub Client
mqtt.0
2023-01-15 06:23:18.654 debug States create System PubSub Client
mqtt.0
2023-01-15 06:23:18.542 debug Redis States: Use Redis connection: 127.0.0.1:9000
mqtt.0
2023-01-15 06:23:18.315 debug Objects connected to redis: 127.0.0.1:9001
mqtt.0
2023-01-15 06:23:18.242 debug Objects client initialize lua scripts
mqtt.0
2023-01-15 06:23:17.855 debug Objects create User PubSub Client
mqtt.0
2023-01-15 06:23:17.851 debug Objects create System PubSub Client
mqtt.0
2023-01-15 06:23:17.845 debug Objects client ready ... initialize now
mqtt.0
2023-01-15 06:23:17.604 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
mqtt.0
2023-01-15 06:23:10.891 info terminating with timeout
mqtt.0
2023-01-15 06:23:09.890 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
mqtt.0
2023-01-15 06:23:09.886 info terminating
mqtt.0
2023-01-15 06:23:09.325 info Got terminate signal TERMINATE_YOURSELF`
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.
Is your feature request related to a problem? Please describe. I want to connect Vidaa OS from Hisense TVs which are MQTT based.
Describe the solution you'd like There are a lot of topics in Home Assistant environment which successfully get it to run. Now we should achieve this also in iobroker.
https://github.com/Krazy998/mqtt-hisensetv https://github.com/sehaas/ha_hisense_tv
Problem Perhaps I haven't enough experience. But my MQTT Adapter stays yellow when I enter IP, username and password of the TV as a client.
If certificates are necessary I don't know how to get them from TV.
Remote Apps for Android find the TV instantly and are connected via a PIN.
My TV uses Vidaa V5
Perhaps somebody can describe the intended setup to connect to such a TV. After that I will provide log details of my tries.
Regards maxpd