Skip to content
 
 

Latest commit

 

History

141 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

franklinwh-python

Python bindings to the FranklinWH API, such as it is.

In order to use this, you'll need your username (email), password, and sometimes gateway ID. Your gateway ID can be found in the app under More -> Site Address. It's shown as your SN. Or use the bundled script as shown below.

python3 -m pip install franklinwh

Informational scripts

Scripts in bin use the API to show detailed information about your installation but have extra dependencies, install with

python3 -m pip install franklinwh[bin]

Gather information about your installation(s) using your username (email) and password. Note the gatewayId field(s) in particular.

python3 bin/get_info.py $FRANKLINWH_EMAIL $FRANKLINWH_PASSWORD

Gather detailed information about an installation with gateway ID (referenced above).

python3 bin/get_info.py $FRANKLINWH_EMAIL $FRANKLINWH_PASSWORD $FRANKLINWH_GATEWAY_ID

Development

The Makefile has a target to assist development and eventual release:

  • prepare - run this once to install franklinwh in editable mode and prerequisites for bin and build.

This should be run in the context where you will eventually develop, which could be

make prepare

Release

The Makefile has targets to assist the release process:

  • build - build the distribution.
  • release - upload to PyPi.

The release process involves these steps:

Note

This may already be included in a Pull Request.

  • build

    make build

    Fix any errors and commit the changes.

  • upload

    make release

Contributors

This project forked from the original by Richo Healey. Many thanks to richö for getting us started.

Jack Thomasson extended this project and the home-assistant integration with new / fixed controls for Mode, SmartCircuits, etc.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages