Skip to main content

Python library for communication with BMR HC64 Heating Controller units

Project description

PyBmr

Python library for communication with BMR HC64 Heating Controller units

Install:

python3 -m pip install pybmr

Usage examples:

Initiate library:

from pybmr import pybmr

bmr = pybmr.Bmr("192.168.1.5","passwordForBmrWebUserInterface")

Get status of your unit with human readable identifications (if available):

status = bmr.getStatus()
if(status == False):
    exit("Authentication failed")

for id, value in status.items():
    print(atrea.getRoom(id) + ":" + value)

Technical details

Sample requests

curl -X POST http://192.168.1.menu.html -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -d 'loginName=C327&passwd=242136'
curl -X POST http://192.168.1.5/numOfRooms -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -d 'param=+'
curl -X POST -Si http://192.168.1.5/wholeRoom -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -d 'param=3'

Syntax returned from BMR

1Pokoj 202 v  021.7+12012.0000.000.0000000000

Upload

python3 setup.py sdist bdist_wheel
python3 -m twine upload  dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybmr-0.6.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

pybmr-0.6-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file pybmr-0.6.tar.gz.

File metadata

  • Download URL: pybmr-0.6.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for pybmr-0.6.tar.gz
Algorithm Hash digest
SHA256 f9beca93354f8e1744f0d3fd23fe9581e71bb01fc2a20970aee9382e44b53501
MD5 31e3325d942ba7c50e4847bb5455484e
BLAKE2b-256 fb7d7f835f250a21604f5e9ac6d11996c51bb0f8d952a642414b2043ba47a6ac

See more details on using hashes here.

File details

Details for the file pybmr-0.6-py3-none-any.whl.

File metadata

  • Download URL: pybmr-0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for pybmr-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0bc3568cae91916a9f7cb58dfe52af8b7e1f87cd269edf4322af0ee99dd7acfc
MD5 7a88ab091c6b0d12fdb246b7e2ac9463
BLAKE2b-256 63e95b6839cedd8cdaf080ea2fed36ff75019c47326520063da128aefe8866ea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page