EfestoClient provides controlling Efesto heat devices
Project description
efestoclient
EfestoClient provides controlling Efesto heat devices
Usage
heater = EfestoClient(url, username, password, deviceid)
where as (for example):
- url = https://evastampaggi.efesto.web2app.it
- username = john_diggle
- password = MySup8rS3cretP@ssword
- deviceid = AA11BB22CC33
Methods
All methods return JSON output and there is always a 'status' field present.
- If status = 0 => OK
- If status > 0 => FAILED
Get system modes
heater.get_system_modes()
example output:
['OFF', 'START', 'LOAD PELLETS', 'FLAME LIGHT', 'ON', 'CLEANING FIRE-POT', 'CLEANING FINAL', 'ECO-STOP', '?', 'NO FIRE?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?']
Get heater status
heater.get_status()
example output:
{'status': 0, 'deviceStatus': 7, 'smokeTemperature': 60, 'airTemperature': 24, 'deviceStatusTranslated': 'CLEANING FINAL', 'lastSetPower': 5, 'realPower': 2, 'lastSetAirTemperature': 20}
Turn heater off
heater.set_off()
example output:
{'status': 0, 'message': 'ok'}
Turn heater on
heater.set_on()
example output:
{'status': 0, 'message': 'ok'}
Set temperature
heater.set_temperature(value)
value = number that represents temperature value
example output:
{'status': 0, 'message': 'ok'}
Set power
heater.set_power(value)
value = number that represents the power level (fan operation)
example output:
{'status': 0, 'message': 'ok'}
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
Built Distribution
Hashes for efestoclient-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b54155145f44c3fb86916e93e78e059b8040c177d0595b5c3026b94c0a1973e8 |
|
MD5 | c0b3f6552f0b878d289b399da3350bd0 |
|
BLAKE2b-256 | 753b55c3cdce58ffe4a1f8637b8b713c1c38ed0e227d6928e7a47636cbc8473f |