Python client to communicate with Moodo API
Project description
pymoodo
Python client to communicate with Moodo API.
How to use
from pymoodo.Controller import Controller
import asyncio
async def main():
controller = Controller('<email>', '<password>')
# Turn on MoodoBox
for id in controller.boxes:
controller.boxes[id].turn_on()
controller.boxes[id].set_fan_speed(50)
for slot_id in controller.boxes[id].slots:
slot = controller.boxes[id].slots[slot_id]
slot.turn_on()
slot.set_fan_speed(75)
slot.turn_off()
controller.boxes[id].turn_off()
asyncio.get_event_loop().run_until_complete(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pymoodo-0.0.2.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymoodo-0.0.2.tar.gz.
File metadata
- Download URL: pymoodo-0.0.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
423849c888653e2cead49d141c3f5fe99f5bd1d1ce642fffa56fcd805944db2a
|
|
| MD5 |
72e4315764511c15f0196a8d06c161f6
|
|
| BLAKE2b-256 |
715b541f3af98425d9ed979867206c119c665e9d4d2399e5e2c54570b617d57e
|
File details
Details for the file pymoodo-0.0.2-py3-none-any.whl.
File metadata
- Download URL: pymoodo-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d17db6472f538bef69bcc0c13f6fe321a52f1440cb291a65343d891151e75a0b
|
|
| MD5 |
e08e3a49f252385e80ca4093acdc15d3
|
|
| BLAKE2b-256 |
a4dec39e9d99f612cddc9711f483f488f77221967cddcfa095994b0eaf92bc56
|