Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown device type id: 0 #21

Closed
pixeldoc2000 opened this issue Dec 12, 2019 · 7 comments
Closed

Unknown device type id: 0 #21

pixeldoc2000 opened this issue Dec 12, 2019 · 7 comments

Comments

@pixeldoc2000
Copy link

I'm getting the following error with Home-Assistant 0.102.3 & 0.103.0 and my Osram Lightify Gateway (current FW).

2019-12-12 01:29:53 INFO (SyncWorker_5) [homeassistant.loader] Loaded osramlightify from homeassistant.components.osramlightify
2019-12-12 01:29:54 INFO (MainThread) [homeassistant.components.light] Setting up light.osramlightify
2019-12-12 01:29:54 WARNING (SyncWorker_16) [lightify] Unknown device type id: 0. Please report to https://github.com/tfriedel/python-lightify
2019-12-12 01:29:54 INFO (SyncWorker_16) [lightify] Initializing lightify, version=1.0.7.2

@OleksandrBerchenko
Copy link

Thanks for your report! Several questions:

  1. What device triggers this error? Review your Lightify devices on Home Assistant UI and find the one that has "unknown device" in its device name attribute. What is it? Does it work correctly?
  2. Did you see this error before, or only after some "trigger" like Gateway Firmware update?

@pixeldoc2000
Copy link
Author

pixeldoc2000 commented Dec 12, 2019

  1. This is my Entitiy List with Lightify Devices in Home Assistant:
    grafik
    There are two devices that are showing with there Lightify id rather the a custom name configured via Lightify App. I'll have to check if these devices are still active.

This is a screenshot from my Lightify App:
grafik
There is an unknown device. Maybe thats causing the error in HA. I'm going the remove the unknown device and check if the error disappears.

  1. I'm don't know at which point in time the error started to appear in the HA Log

@OleksandrBerchenko
Copy link

There is an unknown device. Maybe thats causing the error in HA.

I'm sure it is. If Osram Lightify can't identify a device, it probably sends "0" as its device type and HA plugin throws a warning.

Let me know whether removing that device fixes the issue or not.

Thanks!

@OleksandrBerchenko
Copy link

@pixeldoc2000 Have removing the unknown device from Osram Lightify app helped?

Thanks!

@pixeldoc2000
Copy link
Author

@OleksandrBerchenko Yes.

Thx.

@OleksandrBerchenko
Copy link

A bit of off-topic: @pixeldoc2000, @tfriedel, have you updated your Lightify application with a mandatory Gateway firmware upgrade to version 1.5.1.0? If yes, does this library still work as expected? Especially when working with scenes? Changelog says: "increased maximum number of 32 scenes". To do that they would probably need to change binary offsets in API response.

Personally, I didn't upgrade firmware yet :)

Thanks!

@pixeldoc2000
Copy link
Author

@OleksandrBerchenko yes, i'm running the latest gateway version, but i've not tested scenes.
grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants