An easier way to manage your OpenBeken devices.
The purpose of this project is to ease the control of multiple devices avoiding all manual tasks.
- Send commands
- Setup mqtt & HA autodiscovery
- Read file system
- Push OTAs and restore FS
- Scan for devices
- Set pins (Roles, Channels)
- Control device
- Set other options
-
GitHub Token: Nobody likes to get limited by APIs quotas, get your GH API token here
-
Connect to a single board:
import pyopenbeken
gh_api_token = 'GitHub API Token'
your_device = pyopenbeken.device( IP_HERE,gh_api_token )
#Get board info
your_device.board_info
#Update board
your_device.check_ota()
your_device.push_ota(fileAddress)
- Connect to a series of boards by providing a list of IPs:
list_ips = [LIST OF IPS]
gh_api_token = 'GitHub API Token'
import pyopenbeken
boardMgr = pyopenbeken.BoardManager(list_ips=list_ips,gh_token=gh_api_token)
#Get boards info
boardMgr.boards
#Update boards
boardMgr.update_boards()
Update your boards with just one click.
- Create documentation
- Add more methods and commands to interact with the boards
- Ability to scan local network for OpenBeken devices (WIP).
- Docker container for the Web Manager?