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 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.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed7a5a7da0d3456821579cb833bc95f73cc8ec3728659fac4c6d7dcab23b51db |
|
MD5 | ab5234c8cfdbc8fc828222e6a47d657a |
|
BLAKE2b-256 | 45fa87ace9346b895ccbb3813d10ebacd04506afa0ead26d81af6b747c35c292 |