Liking cljdoc? Tell your friends :D

fourteatoo.clj-evohome.api

Interface to the current (v1) REST API.

Interface to the current (v1) REST API.
raw docstring

authenticate-clientclj

(authenticate-client username password)
source

cancel-zone-overrideclj

(cancel-zone-override client zone-id)

Cancel a previous set-zone-temperature. This will effectively resume the normal schedule.

Cancel a previous `set-zone-temperature`.
This will effectively resume the normal schedule.
sourceraw docstring

find-location-idclj

(find-location-id name inst)

Return the location ID with name name in installation inst.

Return the location ID with name `name` in installation `inst`.
sourceraw docstring

find-temperature-control-system-idsclj

(find-temperature-control-system-ids location-name inst)

Find the temperature control system IDs at location-name in installation inst. Return a list.

Find the temperature control system IDs at `location-name` in
installation `inst`.  Return a list.
sourceraw docstring

find-zone-idclj

(find-zone-id location zone inst)

Return the zone ID in inst pointed by the pair of names location zone.

Return the zone ID in `inst` pointed by the pair of names `location`
`zone`.
sourceraw docstring

get-domestic-hot-waterclj

(get-domestic-hot-water client dhw-id)

Get the status of the domestic hot water.

Get the status of the domestic hot water.
sourceraw docstring

get-installationclj

(get-installation client user-id & {:keys [tcs?]})

Given a user ID (see get-user-account), query the installation belonging to the user. An installation is a collection of locations. The data returned for each location are name, type, adrress, gateways, etc. If tcs? is true, include the temperature control systems. Return a sequence of maps.

Given a user ID (see `get-user-account`), query the installation
belonging to the user.  An installation is a collection of
locations.  The data returned for each location are name, type,
adrress, gateways, etc.  If `tcs?` is true, include the temperature
control systems.  Return a sequence of maps.
sourceraw docstring

get-locationclj

(get-location client location & {:keys [tcs?]})

Given a location ID, query the object tree belonging to that location. The data returned are name, type, adrress, gateways, etc. If tcs? is true, include the temperature control systems. Return a map. See also get-installation.

Given a location ID, query the object tree belonging to that
location.  The data returned are name, type, adrress, gateways, etc.
If `tcs?` is true, include the temperature control systems.  Return
a map.  See also `get-installation`.
sourceraw docstring

get-location-statusclj

(get-location-status client location-id & {:keys [tcs?]})

Get the status of the specified location location-id. If tcs? is true include the temperature control systems within and their relative zones.

Get the status of the specified location `location-id`. If `tcs?` is
true include the temperature control systems within and their
relative zones.
sourceraw docstring

get-system-statusclj

(get-system-status client system-id)

Query a specific temperature control system. A system is associated to a gateway and they may be the same physical thing. Return a map.

Query a specific temperature control system.  A system is associated
to a gateway and they may be the same physical thing.  Return a map.
sourceraw docstring

get-user-accountclj

(get-user-account client)

Query the user account basic data, such as name, surname, address, language, user ID, etc. Return a map.

Query the user account basic data, such as name, surname, address,
language, user ID, etc.  Return a map.
sourceraw docstring

get-zone-scheduleclj

(get-zone-schedule client zone-id)

Return the daily schedule of zone with ID zone-id

Return the daily schedule of zone with ID `zone-id`
sourceraw docstring

location-idclj

(location-id loc)

Return the ID of the location loc.

Return the ID of the location `loc`.
sourceraw docstring

location-nameclj

(location-name loc)

Return the name of the location loc.

Return the name of the location `loc`.
sourceraw docstring

location-temperature-control-systemsclj

(location-temperature-control-systems loc)

Return the list of the temperature control systems belonging to location loc.

Return the list of the temperature control systems belonging to
location `loc`.
sourceraw docstring

(print-installation-index inst)

Print two reference tables for the installation. One with with the name and ID of the locations. The second with the name and ID of the zones.

Print two reference tables for the installation.  One with with the
name and ID of the locations.  The second with the name and ID of
the zones.
sourceraw docstring

set-domestic-hot-waterclj

(set-domestic-hot-water client dhw-id state & {:keys [until]})

Set the state of the domestic hot water. Set it permanently if until is not specified. If state is :auto the normal schedule is resumed, thus cancelling any previous setting.

Set the state of the domestic hot water.  Set it permanently if
`until` is not specified.  If `state` is `:auto` the normal schedule
is resumed, thus cancelling any previous setting.
sourceraw docstring

set-system-modeclj

(set-system-mode client system-id mode & {:keys [until]})

Set the specific system to mode. The allowed system modes depend on the installation. Refer to the sepcific installation's :allowed-system-modes, as returned by get-installations, for the list of permitted values. Set it permanently if until is not specified.

Set the specific system to `mode`.  The allowed system modes depend
on the installation.  Refer to the sepcific installation's
`:allowed-system-modes`, as returned by `get-installations`, for the
list of permitted values.  Set it permanently if `until` is not
specified.
sourceraw docstring

set-zone-scheduleclj

(set-zone-schedule client zone-id schedule)

Set the specified zone-id to have the daily plan schedule. See get-zone-schedule.

Set the specified `zone-id` to have the daily plan `schedule`. See
`get-zone-schedule`.
sourceraw docstring

set-zone-temperatureclj

(set-zone-temperature client zone-id temperature & {:keys [until]})

Set the specific zone's temperature. Set it permanently if until is not specified.

Set the specific zone's temperature.  Set it permanently if `until`
is not specified.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close