NEWS
Sonoff NSPanel und MQTT
-
Hallo,
ich versuche gerade das NSPanel zum Laufen zu bringen. Anscheinend ist irgendwo ein Fehler in der MQTT-Konfiguration. Ich benutze den MQTT-Broker/Server und den MQTT-Client des ioBrokers. Als Port habe ich bei allen MQTT-Geräten 1883 eigetragen, auch beim Panel.
Das Panel zeigt "Waiting for content" an.
Nach starten des Skriptes bekomme ich die Warnung:code_text ```javascript.0 (46116) script.js.NSPanels.NSPanel1: Instance of Adapter: mqtt-client.0 is running on same Port:1883 as mqtt.0``` code_text
In der Anleitung auf Github steht, dass man das Panel auf Port1886 für MQTT eintragen soll.
Ich verstehe nicht, wieso man verschiedene Ports für MQTT Geräte eintragen soll. Ich kann doch den Broker nicht auf 1886 ändern, dann würden doch meine anderen MQTT-Geräte nicht mehr funktionieren.
Kann mir jemand weiterhelfen? -
@doggie kannst du bitte den kompletten Log vom Start des Script posten.
Hast du die Step by Step Anleitung im Wiki abgearbeitet??
Hast du schon den CustomSend angelegt?
Warum hast du noch eine Client Instanz ?Port 1886 ist nur ein Beispiel, entscheidend ist das die Port Einstellung überall gleich ist.
-
@tt-tom O.K. Mach ich gerne, ist nur sehr lang.
cod8.1.2024, 17:41:52.290 [info ]: javascript.0 (46116) Stop script script.js.NSPanels.NSPanel1 8.1.2024, 17:41:53.389 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: compiling TypeScript source... 8.1.2024, 17:41:54.947 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: source code did not change, using cached compilation result... 8.1.2024, 17:41:55.250 [error]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Config-Parameter: << config.panelRecvTopic - mqtt.0.SmartHome.NSPanel1.tele.RESULT >> is not reachable. Please Check Parameters! 8.1.2024, 17:41:55.250 [error]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Config-Parameter: << config.panelSendTopic - mqtt.0.SmartHome.NSPanel1.cmnd.CustomSend >> is not reachable. Please Check Parameters! 8.1.2024, 17:41:55.335 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: setObjects enabled - create Alias Channels possible 8.1.2024, 17:41:55.355 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: weather alias for accuweather.0. already exists 8.1.2024, 17:41:55.376 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:41:55.377 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:41:55.377 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:41:55.377 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:41:55.377 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:41:55.377 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:41:55.378 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2487:29 8.1.2024, 17:41:55.378 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:41:55.378 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:41:55.378 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:41:55.378 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:41:55.379 [warn ]: javascript.0 (46116) at InitDimmode (script.js.NSPanels.NSPanel1:2394:12) 8.1.2024, 17:41:55.379 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2505:1 8.1.2024, 17:41:55.381 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:41:55.381 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:41:55.383 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:41:55.383 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:41:55.384 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:41:55.384 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:41:55.384 [warn ]: javascript.0 (46116) at ScreensaverDimmode (script.js.NSPanels.NSPanel1:2315:17) 8.1.2024, 17:41:55.384 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2492:25 8.1.2024, 17:41:55.384 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:41:55.385 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:41:55.385 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:41:55.385 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:41:55.386 [warn ]: javascript.0 (46116) at InitDimmode (script.js.NSPanels.NSPanel1:2394:12) 8.1.2024, 17:41:55.386 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2505:1 8.1.2024, 17:41:55.443 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2843:1 8.1.2024, 17:41:55.444 [warn ]: javascript.0 (46116) at get_current_tasmota_ip_address (script.js.NSPanels.NSPanel1:3223:34) 8.1.2024, 17:41:55.444 [warn ]: javascript.0 (46116) at get_tasmota_status0 (script.js.NSPanels.NSPanel1:3344:42) 8.1.2024, 17:41:55.445 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2844:1 8.1.2024, 17:41:55.445 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: error at function get_current_tasmota_ip_address: Cannot read properties of null (reading 'Info2') 8.1.2024, 17:41:55.451 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: No Updates for NSPanel available 8.1.2024, 17:41:55.453 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: registered 30 subscriptions, 7 schedules, 0 messages, 0 logs and 0 file subscriptions 8.1.2024, 17:41:55.461 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: {'message':'getaddrinfo ENOTFOUND undefined','name':'Error','stack':'Error: getaddrinfo ENOTFOUND undefined\n at AxiosError.from (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/dist/node/axios.cjs:837:14)\n at RedirectableRequest.handleRequestError (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/dist/node/axios.cjs:3090:25)\n at RedirectableRequest.emit (node:events:517:28)\n at eventHandlers.<computed> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/follow-redirects/index.js:37:24)\n at ClientRequest.emit (node:events:517:28)\n at Socket.socketErrorListener (node:_http_client:501:9)\n at Socket.emit (node:events:517:28)\n at emitErrorNT (node:internal/streams/destroy:151:8)\n at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)','config':{'transitional':{'silentJSONParsing':true,'forcedJSONParsing':true,'clarifyTimeoutError':false},'adapter':['xhr','http'],'transformRequest':[null],'transformResponse':[null],'timeout':0,'xsrfCookieName':'XSRF-TOKEN','xsrfHeaderName':'X-XSRF-TOKEN','maxContentLength':-1,'maxBodyLength':-1,'env':{},'headers':{'Accept':'application/json, text/plain, */*','User-Agent':'ioBroker','Accept-Encoding':'gzip, compress, deflate, br'},'method':'get','url':'http://undefined/cm?cmnd=Status0'},'code':'ENOTFOUND','status':null} 8.1.2024, 17:41:55.617 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Desired TFT Firmware: 53 / v4.3.3 8.1.2024, 17:41:55.761 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Debug mode disabled 8.1.2024, 17:41:56.017 [warn ]: javascript.0 (46116) at get_current_tasmota_ip_address (script.js.NSPanels.NSPanel1:3223:34) 8.1.2024, 17:41:56.018 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3194:99 8.1.2024, 17:41:56.018 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:41:56.018 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:41:56.018 [warn ]: javascript.0 (46116) at fulfilled (script.js.NSPanels.NSPanel1:5:58) 8.1.2024, 17:41:56.019 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: error at function get_current_tasmota_ip_address: Cannot read properties of null (reading 'Info2') 8.1.2024, 17:41:56.096 [warn ]: javascript.0 (46116) at get_current_tasmota_ip_address (script.js.NSPanels.NSPanel1:3223:34) 8.1.2024, 17:41:56.096 [warn ]: javascript.0 (46116) at get_current_berry_driver_version (script.js.NSPanels.NSPanel1:3289:42) 8.1.2024, 17:41:56.097 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3205:21 8.1.2024, 17:41:56.097 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:41:56.097 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:41:56.097 [warn ]: javascript.0 (46116) at fulfilled (script.js.NSPanels.NSPanel1:5:58) 8.1.2024, 17:41:56.098 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: error at function get_current_tasmota_ip_address: Cannot read properties of null (reading 'Info2') 8.1.2024, 17:41:56.130 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: {'message':'getaddrinfo ENOTFOUND undefined','name':'Error','stack':'Error: getaddrinfo ENOTFOUND undefined\n at AxiosError.from (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/dist/node/axios.cjs:837:14)\n at RedirectableRequest.handleRequestError (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/dist/node/axios.cjs:3090:25)\n at RedirectableRequest.emit (node:events:517:28)\n at eventHandlers.<computed> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/follow-redirects/index.js:37:24)\n at ClientRequest.emit (node:events:517:28)\n at Socket.socketErrorListener (node:_http_client:501:9)\n at Socket.emit (node:events:517:28)\n at emitErrorNT (node:internal/streams/destroy:151:8)\n at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)','config':{'transitional':{'silentJSONParsing':true,'forcedJSONParsing':true,'clarifyTimeoutError':false},'adapter':['xhr','http'],'transformRequest':[null],'transformResponse':[null],'timeout':0,'xsrfCookieName':'XSRF-TOKEN','xsrfHeaderName':'X-XSRF-TOKEN','maxContentLength':-1,'maxBodyLength':-1,'env':{},'headers':{'Accept':'application/json, text/plain, */*','User-Agent':'ioBroker','Accept-Encoding':'gzip, compress, deflate, br'},'method':'get','url':'http://undefined/cm?cmnd=GetDriverVersion'},'code':'ENOTFOUND','status':null} 8.1.2024, 17:41:59.343 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Start MQTT-Port-Check ------------------------------------- 8.1.2024, 17:41:59.344 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- admin.0 - 8081 8.1.2024, 17:41:59.344 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- influxdb.0 - 8086 8.1.2024, 17:41:59.344 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- mqtt-client.0 - 1883 8.1.2024, 17:41:59.344 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- mqtt.0 - 1883 8.1.2024, 17:41:59.344 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- shelly.0 - 1882 8.1.2024, 17:41:59.344 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- web.0 - 8082 8.1.2024, 17:41:59.345 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- zigbee.0 - /dev 8.1.2024, 17:41:59.345 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Instance of Adapter: mqtt-client.0 is running on same Port:1883 as mqtt.0 8.1.2024, 17:41:59.346 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Please Change Port of Instance: mqtt-client.0 8.1.2024, 17:41:59.346 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: - MQTT-Port-Check OK: Instance of Adapter: mqtt.0 is running on Port:1883 8.1.2024, 17:41:59.346 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: End MQTT-Port-Check --------------------------------------- 8.1.2024, 17:42:00.032 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:42:00.032 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:42:00.032 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:42:00.032 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:42:00.033 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:42:00.033 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:42:00.033 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:42:00.033 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:43:00.031 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:43:00.031 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:43:00.032 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:43:00.032 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:43:00.032 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:43:00.033 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:43:00.033 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:43:00.033 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:44:00.059 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:44:00.059 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:44:00.059 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:44:00.060 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:44:00.060 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:44:00.061 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:44:00.061 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:44:00.061 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:45:00.033 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:45:00.033 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:45:00.034 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:45:00.035 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:45:00.037 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:45:00.037 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:45:00.038 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:45:00.038 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:46:00.060 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:46:00.060 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:46:00.061 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:46:00.061 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:46:00.062 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:46:00.062 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:46:00.063 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:46:00.063 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:47:00.024 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:47:00.025 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:47:00.026 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:47:00.026 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:47:00.028 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:47:00.028 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:47:00.029 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:47:00.029 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:47:05.291 [info ]: javascript.0 (46116) Stop script script.js.NSPanels.NSPanel1 8.1.2024, 17:47:06.328 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: compiling TypeScript source... 8.1.2024, 17:47:07.957 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: source code did not change, using cached compilation result... 8.1.2024, 17:47:08.233 [error]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Config-Parameter: << config.panelRecvTopic - mqtt.0.SmartHome.NSPanel1.tele.RESULT >> is not reachable. Please Check Parameters! 8.1.2024, 17:47:08.233 [error]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Config-Parameter: << config.panelSendTopic - mqtt.0.SmartHome.NSPanel1.cmnd.CustomSend >> is not reachable. Please Check Parameters! 8.1.2024, 17:47:08.254 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: setObjects enabled - create Alias Channels possible 8.1.2024, 17:47:08.269 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: weather alias for accuweather.0. already exists 8.1.2024, 17:47:08.288 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:47:08.289 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:47:08.289 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:47:08.289 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:47:08.289 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:47:08.289 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:47:08.289 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2487:29 8.1.2024, 17:47:08.290 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:47:08.290 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:47:08.290 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:47:08.290 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:47:08.290 [warn ]: javascript.0 (46116) at InitDimmode (script.js.NSPanels.NSPanel1:2394:12) 8.1.2024, 17:47:08.290 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2505:1 8.1.2024, 17:47:08.292 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:47:08.292 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:47:08.293 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:47:08.293 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:47:08.293 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:47:08.293 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:47:08.294 [warn ]: javascript.0 (46116) at ScreensaverDimmode (script.js.NSPanels.NSPanel1:2315:17) 8.1.2024, 17:47:08.294 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2492:25 8.1.2024, 17:47:08.294 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:47:08.294 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:47:08.295 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:47:08.295 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:47:08.295 [warn ]: javascript.0 (46116) at InitDimmode (script.js.NSPanels.NSPanel1:2394:12) 8.1.2024, 17:47:08.295 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2505:1 8.1.2024, 17:47:08.358 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2843:1 8.1.2024, 17:47:08.360 [warn ]: javascript.0 (46116) at get_current_tasmota_ip_address (script.js.NSPanels.NSPanel1:3223:34) 8.1.2024, 17:47:08.360 [warn ]: javascript.0 (46116) at get_tasmota_status0 (script.js.NSPanels.NSPanel1:3344:42) 8.1.2024, 17:47:08.360 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:2844:1 8.1.2024, 17:47:08.361 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: error at function get_current_tasmota_ip_address: Cannot read properties of null (reading 'Info2') 8.1.2024, 17:47:08.366 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: No Updates for NSPanel available 8.1.2024, 17:47:08.366 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: registered 30 subscriptions, 7 schedules, 0 messages, 0 logs and 0 file subscriptions 8.1.2024, 17:47:08.374 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: {'message':'getaddrinfo ENOTFOUND undefined','name':'Error','stack':'Error: getaddrinfo ENOTFOUND undefined\n at AxiosError.from (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/dist/node/axios.cjs:837:14)\n at RedirectableRequest.handleRequestError (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/dist/node/axios.cjs:3090:25)\n at RedirectableRequest.emit (node:events:517:28)\n at eventHandlers.<computed> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/follow-redirects/index.js:37:24)\n at ClientRequest.emit (node:events:517:28)\n at Socket.socketErrorListener (node:_http_client:501:9)\n at Socket.emit (node:events:517:28)\n at emitErrorNT (node:internal/streams/destroy:151:8)\n at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)','config':{'transitional':{'silentJSONParsing':true,'forcedJSONParsing':true,'clarifyTimeoutError':false},'adapter':['xhr','http'],'transformRequest':[null],'transformResponse':[null],'timeout':0,'xsrfCookieName':'XSRF-TOKEN','xsrfHeaderName':'X-XSRF-TOKEN','maxContentLength':-1,'maxBodyLength':-1,'env':{},'headers':{'Accept':'application/json, text/plain, */*','User-Agent':'ioBroker','Accept-Encoding':'gzip, compress, deflate, br'},'method':'get','url':'http://undefined/cm?cmnd=Status0'},'code':'ENOTFOUND','status':null} 8.1.2024, 17:47:08.660 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Desired TFT Firmware: 53 / v4.3.3 8.1.2024, 17:47:08.902 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Debug mode disabled 8.1.2024, 17:47:09.234 [warn ]: javascript.0 (46116) at get_current_tasmota_ip_address (script.js.NSPanels.NSPanel1:3223:34) 8.1.2024, 17:47:09.234 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3194:99 8.1.2024, 17:47:09.234 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:47:09.235 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:47:09.235 [warn ]: javascript.0 (46116) at fulfilled (script.js.NSPanels.NSPanel1:5:58) 8.1.2024, 17:47:09.236 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: error at function get_current_tasmota_ip_address: Cannot read properties of null (reading 'Info2') 8.1.2024, 17:47:09.322 [warn ]: javascript.0 (46116) at get_current_tasmota_ip_address (script.js.NSPanels.NSPanel1:3223:34) 8.1.2024, 17:47:09.322 [warn ]: javascript.0 (46116) at get_current_berry_driver_version (script.js.NSPanels.NSPanel1:3289:42) 8.1.2024, 17:47:09.322 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3205:21 8.1.2024, 17:47:09.323 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:47:09.323 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:47:09.323 [warn ]: javascript.0 (46116) at fulfilled (script.js.NSPanels.NSPanel1:5:58) 8.1.2024, 17:47:09.324 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: error at function get_current_tasmota_ip_address: Cannot read properties of null (reading 'Info2') 8.1.2024, 17:47:09.355 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: {'message':'getaddrinfo ENOTFOUND undefined','name':'Error','stack':'Error: getaddrinfo ENOTFOUND undefined\n at AxiosError.from (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/dist/node/axios.cjs:837:14)\n at RedirectableRequest.handleRequestError (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/dist/node/axios.cjs:3090:25)\n at RedirectableRequest.emit (node:events:517:28)\n at eventHandlers.<computed> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/follow-redirects/index.js:37:24)\n at ClientRequest.emit (node:events:517:28)\n at Socket.socketErrorListener (node:_http_client:501:9)\n at Socket.emit (node:events:517:28)\n at emitErrorNT (node:internal/streams/destroy:151:8)\n at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)','config':{'transitional':{'silentJSONParsing':true,'forcedJSONParsing':true,'clarifyTimeoutError':false},'adapter':['xhr','http'],'transformRequest':[null],'transformResponse':[null],'timeout':0,'xsrfCookieName':'XSRF-TOKEN','xsrfHeaderName':'X-XSRF-TOKEN','maxContentLength':-1,'maxBodyLength':-1,'env':{},'headers':{'Accept':'application/json, text/plain, */*','User-Agent':'ioBroker','Accept-Encoding':'gzip, compress, deflate, br'},'method':'get','url':'http://undefined/cm?cmnd=GetDriverVersion'},'code':'ENOTFOUND','status':null} 8.1.2024, 17:47:12.823 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Start MQTT-Port-Check ------------------------------------- 8.1.2024, 17:47:12.824 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- admin.0 - 8081 8.1.2024, 17:47:12.824 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- influxdb.0 - 8086 8.1.2024, 17:47:12.824 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- mqtt-client.0 - 1883 8.1.2024, 17:47:12.825 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- mqtt.0 - 1883 8.1.2024, 17:47:12.825 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- shelly.0 - 1882 8.1.2024, 17:47:12.825 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- web.0 - 8082 8.1.2024, 17:47:12.825 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: -- zigbee.0 - /dev 8.1.2024, 17:47:12.826 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Instance of Adapter: mqtt-client.0 is running on same Port:1883 as mqtt.0 8.1.2024, 17:47:12.826 [warn ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: Please Change Port of Instance: mqtt-client.0 8.1.2024, 17:47:12.826 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: - MQTT-Port-Check OK: Instance of Adapter: mqtt.0 is running on Port:1883 8.1.2024, 17:47:12.826 [info ]: javascript.0 (46116) script.js.NSPanels.NSPanel1: End MQTT-Port-Check --------------------------------------- 8.1.2024, 17:48:00.033 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:48:00.033 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:48:00.033 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:48:00.034 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:48:00.034 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:48:00.034 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:48:00.035 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:48:00.035 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:49:00.017 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:49:00.017 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:49:00.018 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:49:00.018 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:49:00.019 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:49:00.020 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:49:00.020 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:49:00.020 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:50:00.040 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:50:00.041 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:50:00.041 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:50:00.042 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:50:00.042 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:50:00.043 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:50:00.043 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:50:00.043 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:51:00.018 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:51:00.018 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:51:00.019 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:51:00.019 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:51:00.020 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:51:00.020 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:51:00.020 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:51:00.021 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:52:00.079 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:52:00.079 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:52:00.080 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:52:00.080 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:52:00.082 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:52:00.083 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:52:00.083 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:52:00.085 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:53:00.026 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:53:00.027 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:53:00.027 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:53:00.027 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:53:00.028 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:53:00.028 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:53:00.028 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:53:00.029 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:54:00.075 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:3891:21 8.1.2024, 17:54:00.075 [warn ]: javascript.0 (46116) at step (script.js.NSPanels.NSPanel1:33:23) 8.1.2024, 17:54:00.075 [warn ]: javascript.0 (46116) at Object.next (script.js.NSPanels.NSPanel1:14:53) 8.1.2024, 17:54:00.076 [warn ]: javascript.0 (46116) at script.js.NSPanels.NSPanel1:8:71 8.1.2024, 17:54:00.076 [warn ]: javascript.0 (46116) at __awaiter (script.js.NSPanels.NSPanel1:4:12) 8.1.2024, 17:54:00.076 [warn ]: javascript.0 (46116) at SendToPanel (script.js.NSPanels.NSPanel1:3879:12) 8.1.2024, 17:54:00.077 [warn ]: javascript.0 (46116) at SendTime (script.js.NSPanels.NSPanel1:4150:9) 8.1.2024, 17:54:00.077 [warn ]: javascript.0 (46116) at Object.<anonymous> (script.js.NSPanels.NSPanel1:2732:9) 8.1.2024, 17:54:27.074 [info ]: javascript.0 (46116) Stop script script.js.NSPanels.NSPanel1e_text
Ja, die Anleitung habe ich abgearbeitet, und ich hoffe Fehlerfrei. Custom Send habe ich angelegt. Merkwürdigerweise können die Datenpunkte Result und CustomSend nicht erreicht werden.
Was heisst noch eine Client Instanz? Ist das nicht üblich?
Im Tasmota-Log fällt auf, dass die TLS Verbindung nicht klappt.00:00:00.002-215/50 HDW: ESP32-D0WD-V3 v3.0 00:00:00.039-213/50 UFS: FlashFS mounted with 276 kB free 00:00:00.053 CFG: Loaded from File, Count 72 00:00:00.063 QPC: Count 2 00:00:00.148 BRY: Berry initialized, RAM used 4462 bytes 00:00:00.168 Project tasmota - Tasmota Version 13.3.0(nspanel)-2_0_14(2023-12-12T14:31:39) 00:00:00.358 NXP: Initializing Driver 00:00:00.365 BRY: Successfully loaded 'autoexec.be' 00:00:00.511 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 00:00:00.950 WIF: Connecting to AP1 FRITZ!Box BR WLAN 7390 Channel 11 BSSId 98:9B:CB:C1:9A:95 in mode 11n as Nspanel1-1712... 00:00:02.661 WIF: Connected 00:00:02.922 HTP: Web server active on Nspanel1-1712 with IP address 192.168.178.51 19:50:17.912 MQT: Attempting connection... 19:50:17.939 MQT: TLS connection error: 0 19:50:17.940 MQT: Connect failed to 192.168.178.41:1883, rc -2. Retry in 10 sec 19:50:20.232 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 19:50:20.923 QPC: Reset 19:50:26.170 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 19:50:28.912 MQT: Attempting connection... 19:50:28.942 MQT: TLS connection error: 0 19:50:28.944 MQT: Connect failed to 192.168.178.41:1883, rc -2. Retry in 20 sec 19:50:32.473 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 19:50:38.370 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 19:50:44.370 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 19:50:49.913 MQT: Attempting connection... 19:50:49.944 MQT: TLS connection error: 0 19:50:49.945 MQT: Connect failed to 192.168.178.41:1883, rc -2. Retry in 30 sec 19:50:50.270 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 19:50:56.270 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 19:51:02.171 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 19:51:08.176 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 19:51:14.070 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 19:51:20.070 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"} 19:51:20.912 MQT: Attempting connection... 19:51:20.944 MQT: TLS connection error: 0 19:51:20.946 MQT: Connect failed to 192.168.178.41:1883, rc -2. Retry in 40 sec 19:51:25.970 RSL: RESULT = {"CustomRecv":"event,startup,53,eu"}
Die Port-Einstellung ist überall gleich.
Vielen Dank für die schnelle Antwort. -
In der Tasmota Konfiguration hatte ich fälschlicherweise einen Haken bei MQTT TLS gesetzt.
Den habe ich weggenommen und den Fehler nicht mehr im Log. -
@doggie
Welcher Server ist den mit dem Client verbunden?? und welche Daten bekommst du dort?Wie hast du den CustomSend angelegt?
zeige bitte mal die Einstellungen von der MQTT Instanz des Servers.
und die Einstellungen vom Tasmota MQTT. -
@tt-tom Der Client, also das NSPanel sollte mit dem MQTT-Server des ioBrokers verbunden sein.
Den CustomSend habe ich "per Hand" angelegt. -
Also diesen Fehler verstehe ich nicht:
die Struktur ist doch richtig, doch nicht erreichbar?
-
@doggie
Ich schon, auch wenns wegen der Bilder... Bilder...Wirklich nicht gut zu sehen ist. NSPanel ist was anderes als Nspanel
-
in den MQTT Einstellungen muss auch mqtt.0.* heißen, bei dir steht nur mqtt.0
und werfe den mqttClient weg, für das Panel brauchst du ihn nicht oder hast du noch andere MQTT server am laufen? -
Ich denke mal alle Fehler sind gefunden worden:
- der Port 1883 des MQTT-Clients wird mit dem MQTT-Broker (Client/Server) auf dem gleichen Port sicher nicht langfristig zu mehr Freude führen. Man kann jedoch auch eine optionale MQTT-Instanz des MQTT-Adapter separat unter einem anderen Port exklusiv für die NSPanel installieren (mqtt.1 - unter abweichendem Port). Der MQTT-Client wird vorausichtlich weitere Störungen verursachen (analog @TT-Tom Aussage)
- Groß- und Kleinschreibung bei den beiden Config-Parametern im NSPanelTs.ts nicht berücksichtigt. Ein großes "P" führt da schon zu fehlern, wenn es im Tasmota anders angelegt ist.
- Und auch korrekt.
sollte dann wohl mqtt.0.* sein.
Wenn diese Fehler ausgebessert sind, dann wird das NSPanel höchstwahrscheinlich sofort anspringen.
-
@ticaki o.k. vielen Dank! glatt übersehen. Dieser Fehler ist jetzt weg.
-
Ohne die Maske mqtt.0.* wird es ebenfalls keine Kommunikation geben
Bei einer optionalen Instanz dann natürlich mqtt.1.*
-
@armilar und alle Beteiligten vielen, vielen Dank! Das Display "läuft" und zeigt Uhrzeit, Datum und Wetter an.
So schnell waren -dank eurer Hilfe- alle Fehler beseitigt
Jetzt habe ich aber noch eine MQTT-Verständnis-Frage: Den MQTT-Client im ioBroker brauche ich nicht? (Aussage Tom)
Ich dachte immer er wird benötigt um den ioBroker mit den MQTT-Geräten kommunizieren zu lassen. Andere MQTT-Server laufen bei mir nicht.
Wieso darf der Client und der MQTT-Broker nicht den gleichen Port (1883) benutzen?
Müssen nicht alle MQTT-Geräte auf dem gleichen Port laufen?
Wäre es besser ich installiere noch einen MQTT-Client mit dem Port 1886 und ändere im Panel den MQTT-Port auf 1886? -
@armilar Frage zum Voting: beim Clicken auf den Pfeil nach oben tut sich nichts. Oder was ist mit Voting gemeint?
-
@Doggie
deine Geräte sind auch nur Clients die sich mit dem ioBroker (Server) verbinden. Den Adapter mqtt-client benötigst du nur, wenn du vom ioBroker etwas zu einem externen MQTT-Server senden willst.Deine Geräte sollten alle unter mqtt.0. zu finden sein.
Wieso darf der Client und der MQTT-Broker nicht den gleichen Port (1883) benutzen?
der MQTT-Client und der MQTT-Server auf dem selben ioBroker macht kein Sinn, die Daten sind ja schon im ioBroker und würden ja nochmal einlaufen. Wobei Server und Client immer den selben Port haben müssen.
Müssen nicht alle MQTT-Geräte auf dem gleichen Port laufen?
ja das ist richtig, aber du brauchst in deinem System nur einen Server und das ist der ioBroker mit dem Adapter MQTT in der Einstellung als Server/Broker.
Wäre es besser ich installiere noch einen MQTT-Client mit dem Port 1886 und ändere im Panel den MQTT-Port auf 1886?
das mit dem Client haben wir jetzt geklärt, du kannst von der MQTT Instanz eine Zweite anlegen, muss dann aber den Port ändern, im Script Anpassungen durchführen und im Panel auch den Port anpassen. Solange jetzt alles läuft, kannst du es so lassen.
-
@doggie dein Voting hat doch funktioniert, wenn du auf die Zahl klickst siehst du die Namen und deinen auch.
-
Ja - Voting hat funktioniert
Ich denke es ist schon alles durch @TT-Tom gesagt... Ich vergleiche das immer mit einer Straße in der mehrere Häuser stehen und alle die gleiche Hausnummer und den gleichen Namen ans Haus schreiben. Wohin soll der Briefträger denn die Post bringen? Und da der mqtt.0. ja Client und Broker ist, ist ein optionaler Client da nicht mehr erforderlich. Das Script hilft lediglich dabei diese Ports kurz zu betrachten und Kollisionen mit anderen Adaptern zu vermeiden. Ist weniger Support für uns und mehr Freude für euch
Viel Spaß noch bei der weiteren Konfiguration
Gerne weitere Fragen im Support-Thread stellen, falls Fragen, Anregungen oder Probleme beim Einrichten der Seiten...
https://forum.iobroker.net/topic/58170/sonoff-nspanel-mit-lovelace-ui/6000
Einfach irgendwo am Ende auf "Antworten" klicken und losschreiben...
-
@tt-tom Danke für die Erläuterungen!
Viele Grüße
Bernd