Git Product home page Git Product logo

Comments (12)

fezzz avatar fezzz commented on July 30, 2024 1

Quite a lot devices are causing the warnings during startup, these are:

There are also warnings that seem to be caused by trying to fetch the ddl of the devices:
[3/3/2024, 3:49:02 PM] [deCONZ] Phoscon-GW: Alex-Button-R: add accessory
[3/3/2024, 3:49:02 PM] [deCONZ] Alex-Button-R: LUMI lumi.remote.b1acn01 v20180525 (1 resources)
[3/3/2024, 3:49:02 PM] [deCONZ] Phoscon-GW: request 42: GET /devices/00:15:8d:00:04:5f:77:f3/ddf
[3/3/2024, 3:49:02 PM] [deCONZ] Phoscon-GW: warning: request 42: http status 404 Not Found

from homebridge-deconz.

ebaauw avatar ebaauw commented on July 30, 2024

The error suggests deCONZ exposes a resource with empty or missing manufacturername. Could you please attach the debug dump file, so I can check this?

from homebridge-deconz.

fezzz avatar fezzz commented on July 30, 2024

Hi Eric,
thanks a lot for your Plugin, I appreciate it very much.

In the debug dump for me it seems to be the ..."manufacturername":null,"modelid":null,"name":"Dimmer switch 18"...
although I can't figure out what device this should be. Maybe a scene in deconz.

Thanks,
Felix
homebridge-deconz Kopie.json.gz

from homebridge-deconz.

ebaauw avatar ebaauw commented on July 30, 2024

It's a lights resource. It has the same mac address in the uniqueid as the Waschkeller-Fenster contact sensor. I think the resource was created (in error) by the legacy code, not sure why. Maybe deCONZ read the wrong endpoints and clusters, maybe the data in the database has been corrupted. What happens of you simply delete the resource of the API? And if you delete and re-pair the contact sensor?

it doesn't break functionality, just seems to be handled as a warning:

Indeed, as far as I can tell, the error is caught correctly, and Homebridge deCONZ continues processing other resources, ignoring the invalid resource. Since manufacturername and modelid are mandatory attributes in the deCONZ API, this really is a bug in deCONZ, and I don't feel the need to change Homebridge deCONZ to issue a "normal" warning (like "missing manufacturername"), without a stack trace.

from homebridge-deconz.

fezzz avatar fezzz commented on July 30, 2024

Hi Eric, deleting it from the cache was not sufficient as you assumed. I will try and remove the whole device from deconz and re-add it.
Thanks,
Felix

from homebridge-deconz.

microfx avatar microfx commented on July 30, 2024

I have the same error sadly... first I thought it's maybe my node 18 version. Switched to 20.11.1 .. still the same. Also it's flooding my logs... did readding help? I just had to do that ... so not keen to do it again just now.

from homebridge-deconz.

fezzz avatar fezzz commented on July 30, 2024

Just readded the device and I can confirm that the situation disappeared.
Somehow strange, this was one of about 10-12 aqara window/door sensors of the same kind that I added several years ago.

Just noticed, I also have some warnings: "Phoscon-GW: warning: Button: exposed by legacy code".
Did I understand correctly, that a DDF File for the devices is already available but not used? Is there also a re-add necessary? (deconz 2.26.1/ conbee3 FW: 26500900)

Thanks, Felix

from homebridge-deconz.

microfx avatar microfx commented on July 30, 2024

Can confirm... those warnings went away after a few minutes/hours

from homebridge-deconz.

ebaauw avatar ebaauw commented on July 30, 2024

Just noticed, I also have some warnings: "Phoscon-GW: warning: Button: exposed by legacy code".
Did I understand correctly, that a DDF File for the devices is already available but not used?

Most likely, thereโ€™s no DDF (yet) for the device. Best open a device request in deCONZ. What type of button is this?

from homebridge-deconz.

microfx avatar microfx commented on July 30, 2024

I would also like to know this... I have the same button that is flooding my logs still (without the warnings now tho).

Has anyone seen this error in homebridge?

CONBEE Button: Programmable Switch Event: Single Press

from homebridge-deconz.

microfx avatar microfx commented on July 30, 2024

I own Osram Plugs and Aqara... so probably the button on my Aqara Temp/Humidity Sensor is pinging into my logs... is there a reason for this? (If it was only at startup or whatever I'd be fine but it's every minute!)

from homebridge-deconz.

ebaauw avatar ebaauw commented on July 30, 2024

Please stay on topic: the "cannot read properties of null" error.

For warnings during startup due to devices being exposed by legacy code (i.e. not having a DDF), please create a device support request in the deCONZ REST API repo.

For the "CONBEE Button: Programmable Switch Event: Single Press", see the many (closed) issues in Homebridge deCONZ about this.

from homebridge-deconz.

Related Issues (20)

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.