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

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.5.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

pybmr-0.5-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybmr-0.5.tar.gz
  • Upload date:
  • Size: 3.3 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.8

File hashes

Hashes for pybmr-0.5.tar.gz
Algorithm Hash digest
SHA256 444bbd8561fb7851c4683f763cce0cb35515e8fab83f946e43fd0a0d8bcbba03
MD5 2d3bc5769454bc6ed7150bf466358b24
BLAKE2b-256 74e9c9e3b101715fecc74dc8ab4d1aed6fabd10059125f53824aaef903c9cc4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybmr-0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.7 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.8

File hashes

Hashes for pybmr-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 02b6169ca222629493729b60a2e4577e47e1236555fbc3793e5f5ad597ca2ec3
MD5 8369655b353688ee3099ec28b9cfe597
BLAKE2b-256 777272e87401137ae009746188d2374679b49f9f1b2d359fc55967c1c1e3f67f

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