Scan your whole stack
Are you using pydeako-community?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.7.2
pydeako-community was last scanned on 26 Nov 2026 at version 0.7.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.7.2 LATEST | 26 Nov 2026 | No rules fired |
| 0.7.1 | 22 Nov 2026 | No rules fired |
| 0.7.0 | 22 Nov 2026 | No rules fired |
| 0.6.1 | 21 Nov 2026 | Not shown |
Findings for v0.7.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.7.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
pydeako is a Python library for discovering, connecting to, and controlling Deako smart switches and dimmers on the local network. It talks to a Deako Connect over the Deako local API, and the Home Assistant Deako integration is built on it.
This is the community-maintained continuation of DeakoLights/pydeako, published on PyPI as pydeako-community. The import name is still pydeako.
pip install pydeako-community
It needs Python 3.11 or newer.
import asyncio
from pydeako import DeakoDiscoverer, DevicesNotFoundError
async def main() -> None:
discoverer = DeakoDiscoverer()
try:
address, name = await discoverer.get_address()
except DevicesNotFoundError:
print("No Deako device found")
else:
print(f"Found {name} at {address}")
if __name__ == "__main__":
asyncio.run(main())
import asyncio
from pydeako import Deako, DeakoDiscoverer, FindDevicesError
async def main() -> None:
discoverer = DeakoDiscoverer()
client = Deako(discoverer.get_address, client_name="my-app")
await client.connect()
try:
await client.find_devices()
for uuid, device in client.get_devices().items():
print(uuid, device["name"], device["state"])
# Turn the first device on; a dimmer goes to 50%.
uuid = next(iter(client.get_devices()))
changed = asyncio.Event()
client.set_state_callback(uuid, changed.set)
dim = 50 if client.is_dimmable(uuid) else None
await client.control_device(uuid, True, dim)
# The new state arrives as an event from the device.
await asyncio.wait_for(changed.wait(), timeout=5)
print(client.get_name(uuid), client.get_state(uuid))
except FindDevicesError as error:
print(error)
finally:
await client.disconnect()
if __name__ == "__main__":
asyncio.run(main())
Discovery is optional. Deako takes any coroutine function that returns (address, name), with the address as "host:port". The local API listens on port 23.
async def get_address() -> tuple[str, str]:
return "192.0.2.10:23", "my-bridge"
| Call | Notes |
|---|---|
DeakoDiscoverer(zeroconf=None) |
Browses for _deako._tcp.local. on a thread, using your Zeroconf instance or a new one. |
await discoverer.get_address() |
Returns (address, name). Waits up to 10 s, then raises DevicesNotFoundError. |
Deako(get_address, client_name=None) |
The client. Nothing is sent until connect(). |
await client.connect() |
Returns once connected. If no device answers within 10 s, it returns anyway and keeps trying in the background. |
await client.find_devices(timeout=10) |
Loads the devices. timeout is for the device count; the devices then get 2 s each. Raises FindDevicesError if they don't all arrive. |
client.get_devices() |
{uuid: {"name", "uuid", "dimmable", "state": {"power", "dim"}}} |
client.get_name(uuid), client.get_state(uuid), client.is_dimmable(uuid) |
Return None for an unknown uuid. |
client.set_state_callback(uuid, callback) |
One callback per device, called without arguments on the event loop. |
await client.control_device(uuid, power, dim=None) |
dim is 0 to 100. It doesn't raise; the new state arrives as an event. |
await client.disconnect() |
Closes the connection and stops reconnecting. |
The client sends one request at a time, waits up to 1 s for each answer and retries a DEVICE_BUSY answer three times. It pings the device every 10 s and reconnects when no answer comes back.
To stop discovery in a long-running program, call await asyncio.to_thread(discoverer.cancel). discoverer.stop() closes the Zeroconf instance, so don't call it on one you share with other code.
Log messages go to the pydeako.deako, pydeako.deako.utils and pydeako.discover loggers.
See CONTRIBUTING.md for the setup, the checks and how releases are made. The tests need no Deako hardware: they run against a fake device on 127.0.0.1.
MIT License, see LICENSE.txt.
Deako published and maintained pydeako until release 0.6.0 (December 2024). The repository has had no commits since then. Its only contributor no longer maintains anything related to Deako and suggested continuing it as a fork. Deako didn't answer a request to software@deako.com about maintainership.
This fork keeps the full history of the original project. Release 0.6.1 has the same library code as pydeako 0.6.0, repackaged and published from GitHub Actions. Later releases contain fixes; the release notes list them.
Bugs in the Home Assistant Deako integration go to Home Assistant Core; bugs in this library go to this repository's issues.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.