A aiohttp-based client for Intergas Intouch Lan2RF systems
Project description
DEPRECATED
This package has been deprecated in favour of incomfort-client
intouch-client
Python client library for Intergas InTouch-compatible boilers accesible via a Lan2RF gateway. It includes a basic CLI to demonstrate how to use the library.
Porting from syncio libraries
This library is based upon https://github.com/bwesterb/incomfort, but uses aiohttp rather than synchronous I/O (such as requests or httplib).
Where possible, it uses uses the same methods and properties as incomfort, but with the following differences:
-
InTouchGateway
class renamed from Gateway- added kwargs:
username
,password
(used for later versions of firmware)
- added kwargs:
-
InTouchHeater
class renamed from Heater- renamed:
is_burning
,is_failed
,is_pumping
,is_tapping
- moved out:
room_temp
,setpoint
,setpoint_override
,set
- new/added:
update
,status
,rooms
- renamed:
-
InTouchRoom
class has been added, and some methods moved in from Heater- same name:
room_temp
,setpoint
- renamed:
override
,set_override
- new/added:
status
- same name:
Basic CLI included
There is a very basic CLI (the output has been formatted here for readability):
(venv) root@hostname:~/client_apis/intouch-client$ python intouchclient/__init__.py ${HOSTNAME}
{
'display_code': 126,
'display_text': 'standby',
'fault_code': 0,
'is_burning': False,
'is_failed': False,
'is_pumping': False,
'is_tapping': False,
'heater_temp': 31.22,
'tap_temp': 27.91,
'pressure': 1.23,
'serial_no': '175t23072',
'nodenr': 200,
'rf_message_rssi': 38,
'rfstatus_cntr': 0,
'room_1': {'room_temp': 26.4, 'setpoint': 19.5, 'override': 19.5},
'room_2': {'room_temp': None, 'setpoint': None, 'override': 19.0}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file intouch-client-0.2.4.post0.tar.gz
.
File metadata
- Download URL: intouch-client-0.2.4.post0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba121bd4641f3a167369fa4b5da4d82908f359edbe1fccf365271a6fa0f44687 |
|
MD5 | e7430395f600f4ba3a0d504cdf2093f3 |
|
BLAKE2b-256 | 44c3efdf465d6d5f76a9fc1cc2caa75ec3bfb684c1021014e5c840c9c0e1d8e2 |