Aioshelly

Latest version: v12.3.2

Safety actively analyzes 702098 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 15

0.5.0

Breaking Change

Aioshelly has migrated to its own COAP implementation. Updated usage instructions:

python
import asyncio
from pprint import pprint
import aiohttp
import aioshelly

async def main():
options = aioshelly.ConnectionOptions("192.168.1.165", "username", "password")

async with aiohttp.ClientSession() as aiohttp_session, aioshelly.COAP() as coap_context:
try:
device = await asyncio.wait_for(
aioshelly.Device.create(aiohttp_session, coap_context, options), 5
)
except asyncio.TimeoutError:
print("Timeout connecting to", ip)
return

for block in device.blocks:
print(block)
pprint(block.current_values())
print()


if __name__ == "__main__":
asyncio.run(main())


What's Changed

* Use datagram transport to send data + fix mypy (39) balloob
* Fix for no CoAP context (verify.py) (38) chemelli74
* Cleanup aiocoap leftovers (37) chemelli74
* Example.py: introduction of devices external list (36) chemelli74
* Swap from aiocoap to own CoAP handler (33) chemelli74
* Add pylint to pre-commit (35) chemelli74
* Fix pre-commit (34) chemelli74
* Bump isort from 5.6.3 to 5.6.4 (32) dependabot

0.4.0

Breaking Change

Devices now use a shared COAP context instead of each device using their own.

**Breaking change:** you now need to pass an `aiocoap_context` when creating a device.

What's Changed

* Add semaphore to ensure maximum one request at a time (30) bieniu
* Use a shared aiocoap context (29) balloob

0.3.4

What's Changed

* Change the message type from CON to NON (25) bieniu
* Bump isort from 5.5.3 to 5.5.4 (24) dependabot

0.3.3

What's Changed

* Add firmware version check (20) bieniu
* Bump isort from 5.5.2 to 5.5.3 (18) dependabot
* Fix parameter names after PR17 (19) bieniu
* Make code more pylint compliant (17) chemelli74
* Implemented method for REST updates (16) chemelli74

0.3.2

What's Changed

* Add REST call to /status needed for RSSI, Cloud, Uptime sensors (15) chemelli74
* Fix channel property when description doesn't contain "_" (14) bieniu

0.3.1

What's Changed

* Route rgbw2 set state commands correctly (12) balloob
* Add verify script (11) balloob

Page 13 of 15

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.