Skip to main content

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):

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

efestoclient-0.0.6.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

efestoclient-0.0.6-py2-none-any.whl (8.6 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page