Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

pydeako-community

Latest version: v0.7.2

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: iulianm
0 Stars
1 Forks
4 Versions
942 Downloads
Python Repo language

Scan summary

pydeako-community was last scanned on 26 Nov 2026 at version 0.7.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published within 6 days (21–26 Nov 2026).
  • Findings: No rules fired in version 0.7.2.
  • Downloads: 942 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 0.7.2

Findings

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.

README

The publisher’s own README, as collected from the registry.

pydeako

CI PyPI Coverage: 100%

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.

Installation

pip install pydeako-community

It needs Python 3.11 or newer.

Usage

Find a device
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())
Control devices
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"

API

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.

Contributing

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.

License

MIT License, see LICENSE.txt.

Project status

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.

OX Radar and Response Center

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.

Where it’s listed

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).

  • pypi-releases pydeako-community

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229