Skip to content

ITTV-tools/bcontrolpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bcontrolpy

This module lets you read the data from a BControl EM300.

Example:

import asyncio
import bcontrolpy
# Exmaple usage
if __name__ == '__main__':
    parser = argparse.ArgumentParser(description='BControl data retrieval')
    parser.add_argument('--ip', required=True, help='IP address of the BControl device')
    parser.add_argument('--password', required=True, help='Password for the BControl device')
    args = parser.parse_args()
    async def main():
        bcontrol = BControl(args.ip, args.password)
        await bcontrol.login()
        data = await bcontrol.get_data()
        print(data)
        await bcontrol.close()

    asyncio.run(main())

About

Async Module for BControl EM300

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages