Giter Club home page Giter Club logo

Comments (5)

Ilovegym66 avatar Ilovegym66 commented on August 16, 2024 1

Hi,

  1. yes, more times, also with other devices, too
  2. this morning I found an error in the log, I changed to debug, restarted, and the error appears again:
2023-04-04 08:34:17.389  - debug: fully-mqtt.0 (139413) [MQTT] client.conn.remoteAddress = "::ffff:10.1.1.50" - Huawei-FlurOG
2023-04-04 08:34:17.390  - debug: fully-mqtt.0 (139413) [MQTT] Client Huawei-FlurOG (10.1.1.50) trys to authenticate...
2023-04-04 08:34:17.390  - info: fully-mqtt.0 (139413) 🔑 MQTT Client Huawei-FlurOG (10.1.1.50) successfully authenticated.
2023-04-04 08:34:17.390  - debug: fully-mqtt.0 (139413) [MQTT] Client Huawei-FlurOG (10.1.1.50) connected to broker adc4a2f6-8fdb-460d-aed1-15a5a191e77f
2023-04-04 08:34:17.390  - info: fully-mqtt.0 (139413) 🔗 MQTT Client Huawei-FlurOG (10.1.1.50) successfully connected.
2023-04-04 08:34:17.391  - info: fully-mqtt.0 (139413) Huawei-FlurOG is alive (MQTT: client connected)
2023-04-04 08:34:18.383  - debug: fully-mqtt.0 (139413) [MQTT] Client GalaxyTabGastDG = GalaxyTabGastDG = 10.1.1.42
2023-04-04 08:34:18.384  - debug: fully-mqtt.0 (139413) [MQTT] GalaxyTabGastDG published info, topic: fully/deviceInfo/44edf011-8cec2ce
2023-04-04 08:34:18.403  - debug: fully-mqtt.0 (139413) [MQTT] GalaxyTabGastDG: Initially create states for 67 info items (if not yet existing)
2023-04-04 08:34:18.383  - debug: fully-mqtt.0 (139413) [MQTT] Client GalaxyTabGastDG = GalaxyTabGastDG = 10.1.1.42
2023-04-04 08:34:18.384  - debug: fully-mqtt.0 (139413) [MQTT] GalaxyTabGastDG published info, topic: fully/deviceInfo/44edf011-8cec2ce
2023-04-04 08:34:18.403  - debug: fully-mqtt.0 (139413) [MQTT] GalaxyTabGastDG: Initially create states for 67 info items (if not yet existing)
2023-04-04 08:34:21.931  - info: javascript.0 (9926) script.js.common.Nuki.mqtt2log: NUKI Hub WT: Querying lock state: unlocked
2023-04-04 08:34:22.164  - error: fully-mqtt.0 (139413) TypeError: Cannot read properties of undefined (reading 'name')
    at Aedes.<anonymous> (/opt/iobroker/node_modules/iobroker.fully-mqtt/build/lib/mqtt-server.js:128:59)
    at Aedes.emit (node:events:513:28)
    at PublishState.callPublished (/opt/iobroker/node_modules/aedes/aedes.js:255:15)
    at makeCallTwo (/opt/iobroker/node_modules/fastseries/series.js:150:3)
    at MQEmitter.release (/opt/iobroker/node_modules/fastseries/series.js:138:7)
    at MQEmitter.parallel [as _parallel] (/opt/iobroker/node_modules/fastparallel/parallel.js:25:12)
    at MQEmitter._do (/opt/iobroker/node_modules/mqemitter/mqemitter.js:133:8)
    at MQEmitter.emit (/opt/iobroker/node_modules/mqemitter/mqemitter.js:115:10)
    at PublishState.emitPacket (/opt/iobroker/node_modules/aedes/aedes.js:194:18)
    at makeCallTwo (/opt/iobroker/node_modules/fastseries/series.js:150:3)
2023-04-04 08:34:21.931  - info: javascript.0 (9926) script.js.common.Nuki.mqtt2log: NUKI Hub WT: Querying lock state: unlocked
2023-04-04 08:34:22.164  - error: fully-mqtt.0 (139413) TypeError: Cannot read properties of undefined (reading 'name')
    at Aedes.<anonymous> (/opt/iobroker/node_modules/iobroker.fully-mqtt/build/lib/mqtt-server.js:128:59)
    at Aedes.emit (node:events:513:28)
    at PublishState.callPublished (/opt/iobroker/node_modules/aedes/aedes.js:255:15)
    at makeCallTwo (/opt/iobroker/node_modules/fastseries/series.js:150:3)
    at MQEmitter.release (/opt/iobroker/node_modules/fastseries/series.js:138:7)
    at MQEmitter.parallel [as _parallel] (/opt/iobroker/node_modules/fastparallel/parallel.js:25:12)
    at MQEmitter._do (/opt/iobroker/node_modules/mqemitter/mqemitter.js:133:8)
    at MQEmitter.emit (/opt/iobroker/node_modules/mqemitter/mqemitter.js:115:10)
    at PublishState.emitPacket (/opt/iobroker/node_modules/aedes/aedes.js:194:18)
    at makeCallTwo (/opt/iobroker/node_modules/fastseries/series.js:150:3)
2023-04-04 08:34:22.819  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:22.819  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:25.250  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:25.250  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:25.878  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:25.878  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:27.101  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:27.101  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected

here the wifi connection state:
image

  1. yes, the wifi was not stable, I changed the AP and lock it, now on the Tablet above the connection is fine, but the fault stays..
    I have the fault on one Tablet which is connected via LAN, too.. so it's looks like more a timing as a connection problem?

(edited by Acgua: added tag for multiple line code)

from iobroker.fully-mqtt.

Acgua avatar Acgua commented on August 16, 2024

Hi,
Thank you for reporting this.

  1. Did you see this just once or more often?
  2. Can you please turn on debug log and post the relevant debug log lines once you see this warn log line (Please open a issue on Github) again?

Just as a note: Per the log, it looks like that your Huawei tablet does not have a stable connection. In my tests with multiple tablets, I see ... is not alive! very rarely in the log (0-1x per day - if at all).

from iobroker.fully-mqtt.

Acgua avatar Acgua commented on August 16, 2024

Thank you Ilovegym66, I appreciate your test and feedback!

I was able to identify the cause of the error and likely also what caused the "this should never happen" log line. I finally will also need to extend my tests and test cases to get this stable and under control.

I will post an update here once completed.

from iobroker.fully-mqtt.

Acgua avatar Acgua commented on August 16, 2024

Just as a side note:

2023-04-04 08:34:22.819  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:22.819  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:25.250  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:25.250  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:25.878  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:25.878  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:27.101  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected
2023-04-04 08:34:27.101  - debug: fully-mqtt.0 (139413) [MQTT] 📡 GalaxyTabOGB published event, topic: fully/event/facesDetected/56b3894e-909435b, cmd: facesDetected

Your Tablet GalaxyTabOGB is publishing facesDetected multiple times within just a few milliseconds. I have seen too many publishings before, but after restarting Fully Browser app (or Android itself) it was gone. This is not adapter related, but caused by Fully app.
Anyway, I can't influence what the Fully app is doing, but I will include a verification of such multiple calls in the code.

from iobroker.fully-mqtt.

Ilovegym66 avatar Ilovegym66 commented on August 16, 2024

Error is solved since js-Controller 5.x

from iobroker.fully-mqtt.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.