Skip to content

gargomoma/pyOpenBeken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyOpenBeken

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.

Features

  • Send commands
  • Setup mqtt & HA autodiscovery
  • Read file system
  • Push OTAs and restore FS

Planned features

  • Scan for devices
  • Set pins (Roles, Channels)
  • Control device
  • Set other options

Examples

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

Web Manager

Update your boards with just one click.

  • Any help is welcome to make a convinient network scanner and a docker container =) plot

TO DO:

  • 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?

About

Manage your Beken boards on a easier way.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published