8000 Found an unsupported model 'yeelink.light.ceil43' for class 'Yeelight' · Issue #2011 · rytilahti/python-miio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Found an unsupported model 'yeelink.light.ceil43' for class 'Yeelight' #2011

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

Open
gavrilov opened this issue Feb 17, 2025 · 0 comments
Open

Comments

@gavrilov
Copy link

Before submitting a new request, use the search to see if there is an existing issue for the device.

If your device is rather new, it is likely supported already by the genericmiot integration. This is currently available only on the git version (until version 0.6.0 is released), so please give it a try before opening a new issue.

Device information:

Use miiocli device --ip <ip address> --token <token> info.

  • Model: yeelink.light.ceil43
  • Hardware version: esp32
  • Firmware version: 2.1.7_0018
  • Supported using: Yeelight
  • Supported by genericmiot: True

Additional context
I already tried latest genericmiot and got error:

Traceback (most recent call last):
  File "\venv\Lib\site-packages\miio\click_common.py", line 55, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\click\core.py", line 1082, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\click\core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\click\core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\click\core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\click\core.py", line 788, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\miio\click_common.py", line 306, in wrap
    result = kwargs["result"] = func(*args, **kwargs)
                                ^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\click\decorators.py", line 92, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\click\core.py", line 788, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\miio\click_common.py", line 271, in command_callback
    return miio_command.call(miio_device, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\miio\click_common.py", line 219, in call
    return method(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\miio\click_common.py", line 186, in _wrap
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\miio\integrations\genericmiot\genericmiot.py", line 64, in status
    self._initialize_descriptors()
  File "\venv\Lib\site-packages\miio\integrations\genericmiot\genericmiot.py", line 143, in _initialize_descriptors
    self.initialize_model()
  File "\venv\Lib\site-packages\miio\integrations\genericmiot\genericmiot.py", line 56, in initialize_model
    self._miot_model = miotcloud.get_device_model(self.model)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\miio\miot_cloud.py", line 90, in get_device_model
    return DeviceModel.parse_obj(spec)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\pydantic\v1\main.py", line 526, in parse_obj
    return cls(**obj)
           ^^^^^^^^^^
  File "\venv\Lib\site-packages\miio\miot_models.py", line 484, in __init__
    super().__init__(*args, **kwargs)
  File "\venv\Lib\site-packages\pydantic\v1\main.py", line 341, in __init__
    raise validation_error
pydantic.v1.error_wrappers.ValidationError: 5 validation errors for DeviceModel
services -> 1 -> properties -> 0 -> source
  extra fields not permitted (type=value_error.extra)
services -> 1 -> properties -> 1 -> source
  extra fields not permitted (type=value_error.extra)
services -> 1 -> properties -> 2 -> source
  extra fields not permitted (type=value_error.extra)
services -> 1 -> properties -> 3 -> source
  extra fields not permitted (type=value_error.extra)
services -> 1 -> properties -> 4 -> source
  extra fields not permitted (type=value_error.extra)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0