Skip to content

avassem85/pymoodo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python client to communicate with Moodo API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages