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.6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 985d7961c3338ffc74db6444ed43f5ce52d00a52f071a39398584cffd9a95351 |
|
MD5 | 77273f2086d501109a1128d769d53ed3 |
|
BLAKE2b-256 | d80e975a0ec0f9ef809538886dce53ed3a4f4c2a942ba4785c7f823ed37bc8cb |