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 hashes)
Built Distribution
pybmr-0.5-py3-none-any.whl
(7.7 kB
view hashes)