brenard / aiosysbus

Manage your Livebox in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aiosysbus

Manage your Livebox in Python

Easily manage your Livebox in Python. Check your config, configure your dhcp, disable your wifi, monitor your LAN activity and many others, on LAN or remotely.

aiosysbus is a python library implementing fir the Livebox v3.

This project is based on stilllman/aiofreepybox, which provides the same features as aiofreepybox in a synchronous manner.

Install

Use the PIP package manager

$ pip install aiosysbus

Or manually download and install the last version from github

$ git clone https://github.com/cyr-ius/aiosysbus.git
$ python setup.py install

Get started

# Import the aiosysbus package.
from aiosysbus import AIOSysbus

async def reboot()
    # Instantiate the Sysbus class using default options.
    lvbx = AIOSysbus('192.168.1.1','80','xxxxxx')

    # Connect to the livebox with default options.
    lvbx.connect()

    # Do something useful, rebooting your livebox for example.
    lvbx.system.reboot()

    # Properly close the session.
    lvbx.close()

Have a look at the example.py for a more complete overview.

Notes on HTTPS

Not implemented

About

Manage your Livebox in Python

License:GNU General Public License v3.0


Languages

Language:Python 100.0%