Interface to the current (v1) REST API.
Interface to the current (v1) REST API.
(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.
(get-domestic-hot-water client dhw-id)
Get the status of the domestic hot water.
Get the status of the domestic hot water.
(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.
(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`.
(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.
(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.
(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.
(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`
(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.
(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.
(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`.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close