Initializes the firebase app then set and returns both app
and auth
global variables.
Sets device backlight value, the higher the brighter. This backlight also applies when the device is off.
Sets device backlight value, the higher the brighter. This backlight only applies when the device is on.
Change radiator nominal power.
Turns radiator on or off.
set true
to turn on and false
to turn off.
Turns radiator off.
Turns radiator on.
Turns zone on or off.
set true
to turn on and false
to turn off.
Turns zone off.
Turns zone on.
Updates device raw data
property.
const id = '504DC27CB994706DC56BB993';
const temp = 20;
updateDevice(id, { temp });
const power = false;
updateDevice(id, { power });
Generated using TypeDoc
Returns the preset that's currently matching with the zone data as well as with the devices part of the zone otherwise returns null. This means if the zone has a
DeviceStatus.Comfort
, but only one of the device from the zone has a different value, the function would return null. Note that this would then query every single device of the zone.