diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml
index 669f0162a..e9b9c1102 100644
--- a/.github/workflows/verify.yml
+++ b/.github/workflows/verify.yml
@@ -4,7 +4,7 @@
name: Latest commit
env:
- CACHE_VERSION: 16
+ CACHE_VERSION: 1
DEFAULT_PYTHON: "3.9"
PRE_COMMIT_HOME: ~/.cache/pre-commit
@@ -49,7 +49,7 @@ jobs:
python -m venv venv
. venv/bin/activate
pip install -U pip setuptools wheel
- pip install -r requirements_test.txt
+ pip install -r requirements_test.txt -r requirements_commit.txt
- name: Restore pre-commit environment from cache
id: cache-precommit
uses: actions/cache@v2
@@ -195,7 +195,10 @@ jobs:
python -m venv venv
. venv/bin/activate
pip install -U pip setuptools wheel
- pip install -r requirements_test.txt
+ #pip install -r requirements_test.txt
+ # 20220124 Mimic setup_test.sh
+ pip install --upgrade -r requirements_test.txt -c https://raw.githubusercontent.com/home-assistant/core/dev/homeassistant/package_constraints.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test_pre_commit.txt
+ pip install --upgrade pytest-asyncio
pytest:
runs-on: ubuntu-latest
diff --git a/CHANGELOG.md b/CHANGELOG.md
index afdd60b1c..57d60ea2d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+# v0.16.1 - Smile - various updates:
+ - BREAKING: Change active device detection, detect both OpenTherm (replace Auxiliary) and OnOff (new) heating and cooling devices.
+ - Add Adam v3.6.x (beta) and Anna firmware 4.2 support (representation and switching on/off of a schedule has changed)
+ - Anna: Fix cooling_active prediction
+ - Schedules: always show `available_schemas` and `selected_schema`, also with "None" available and/or selected
+ - Cleanup and optimize code
+ - Adapt and improve testcode
+
# v0.16.0 - Smile - Change output format, allowing full use of Core DataUpdateCoordintor in plugwise-beta
- Change from list- to dict-format for binary_sensors, sensors and switches
- Provide gateway-devices for Legacy Anna and Stretch
diff --git a/plugwise/__init__.py b/plugwise/__init__.py
index 3b2e0f2cc..9d10b3e9d 100644
--- a/plugwise/__init__.py
+++ b/plugwise/__init__.py
@@ -1,6 +1,6 @@
"""Plugwise module."""
-__version__ = "0.16.0"
+__version__ = "0.16.1"
from plugwise.smile import Smile
from plugwise.stick import Stick
diff --git a/plugwise/helper.py b/plugwise/helper.py
index 781e9ca2c..de734e4e5 100644
--- a/plugwise/helper.py
+++ b/plugwise/helper.py
@@ -138,25 +138,43 @@ def check_model(name, v_name):
return name
-def schemas_schedule_temp(schedules):
+def schemas_schedule_temp(schedules, name):
"""Helper-function for schemas().
Obtain the schedule temperature of the schema/schedule.
"""
- for period, temp in schedules.items():
- moment_1, moment_2 = period.split(",")
- moment_1 = moment_1.replace("[", "").split(" ")
- moment_2 = moment_2.replace(")", "").split(" ")
- result_1 = DAYS.get(moment_1[0], "None")
- result_2 = DAYS.get(moment_2[0], "None")
+ if name == "None":
+ return # pragma: no cover
+
+ schema_list = []
+ for period, temp in schedules[name].items():
+ tmp_list = []
+ moment, dummy = period.split(",")
+ moment = moment.replace("[", "").split(" ")
+ day_nr = DAYS.get(moment[0], "None")
+ start_time = dt.datetime.strptime(moment[1], "%H:%M").time()
+ tmp_list.extend((day_nr, start_time, temp))
+ schema_list.append(tmp_list)
+
+ length = len(schema_list)
+ schema_list = sorted(schema_list)
+
+ # Schema with less than 2 items
+ if length == 1:
+ return schema_list[0][2]
+
+ for i in range(length):
+ result_1 = schema_list[i][0]
+ start = schema_list[i][1]
+ n = (i + 1) % (length - 1)
+ result_2 = schema_list[n][0]
+ end = schema_list[n][1]
now = dt.datetime.now().time()
- start = dt.datetime.strptime(moment_1[1], "%H:%M").time()
- end = dt.datetime.strptime(moment_2[1], "%H:%M").time()
if (
result_1 == dt.datetime.now().weekday()
or result_2 == dt.datetime.now().weekday()
):
if in_between(now, start, end):
- return temp
+ return schema_list[i][2]
def types_finder(data):
@@ -277,17 +295,21 @@ async def _request(
url = f"{self._endpoint}{command}"
try:
+
+ if method == "delete":
+ resp = await self._websession.delete(url, auth=self._auth)
if method == "get":
# Work-around for Stretchv2, should not hurt the other smiles
headers = {"Accept-Encoding": "gzip"}
- resp = await self._websession.get(url, auth=self._auth, headers=headers)
+ resp = await self._websession.get(url, headers=headers, auth=self._auth)
if method == "put":
headers = {"Content-type": "text/xml"}
resp = await self._websession.put(
- url, data=data, headers=headers, auth=self._auth
+ url,
+ headers=headers,
+ data=data,
+ auth=self._auth,
)
- if method == "delete":
- resp = await self._websession.delete(url, auth=self._auth)
except ServerTimeoutError:
if retry < 1:
_LOGGER.error("Timed out sending command to Plugwise: %s", command)
@@ -434,7 +456,7 @@ def _energy_device_info_finder(self, appliance, appl):
return appl
def _appliance_info_finder(self, appliance, appl):
- """Collect device info (Smile/Stretch, Thermostats, Auxiliary): firmware, model and vendor name."""
+ """Collect device info (Smile/Stretch, Thermostats, OpenTherm/On-Off): firmware, model and vendor name."""
# Find gateway and heater_central devices
if appl.pwclass == "gateway":
self.gateway_id = appliance.attrib["id"]
@@ -467,12 +489,21 @@ def _appliance_info_finder(self, appliance, appl):
return appl
if appl.pwclass == "heater_central":
+ # Provide info for On-Off device
+ if self._on_off_device:
+ self._heater_id = appliance.attrib["id"]
+ appl.name = "OnOff"
+ appl.v_name = None
+ appl.model = "Unknown"
+
+ return appl
+
# Remove heater_central when no active device present
- if not self._active_device_present:
+ if not self._ot_device and not self._on_off_device:
return None
self._heater_id = appliance.attrib["id"]
- appl.name = "Auxiliary"
+ appl.name = "OpenTherm"
locator1 = ".//logs/point_log[type='flame_state']/boiler_state"
locator2 = ".//services/boiler_state"
mod_type = "boiler_state"
@@ -483,7 +514,9 @@ def _appliance_info_finder(self, appliance, appl):
appl.model = check_model(module_data[1], appl.v_name)
if appl.model is None:
appl.model = (
- "Generic heater/cooler" if self._cp_state else "Generic heater"
+ "Generic heater/cooler"
+ if self._cooling_present
+ else "Generic heater"
)
return appl
@@ -526,54 +559,44 @@ def _all_appliances(self):
self._all_locations()
- # Create a gateway for legacy P1 and Anna
- # And inject a home_location as device id for legacy so
+ # Create a gateway for legacy Anna, P1 and Stretches
+ # and inject a home_location as device id for legacy so
# appl_data can use the location id as device id, where needed.
if self._smile_legacy:
- if self.smile_type == "power":
- self._appl_data[self._home_location] = {
- "class": "gateway",
- "fw": self.smile_version[0],
- "location": self._home_location,
- "model": "P1",
- "name": "P1",
- "vendor": "Plugwise B.V.",
- }
- self.gateway_id = self._home_location
- # legacy p1 has no more devices
- return
-
- elif self.smile_type == "thermostat":
- self._appl_data[self._home_location] = {
- "class": "gateway",
- "fw": self.smile_version[0],
- "location": self._home_location,
- "model": "Anna",
- "name": "Anna",
- "vendor": "Plugwise B.V.",
- }
- self.gateway_id = self._home_location
-
- # Create a gateway for the Stretches
- if self.smile_type == "stretch":
- self._appl_data[self.gateway_id] = {
+ self._appl_data[self._home_location] = {
"class": "gateway",
"fw": self.smile_version[0],
"location": self._home_location,
- "model": "Stretch",
- "name": "Stretch",
"vendor": "Plugwise B.V.",
}
+ self.gateway_id = self._home_location
+
+ if self.smile_type == "power":
+ self._appl_data[self._home_location].update(
+ {"model": "P1", "name": "P1"}
+ )
+ # legacy p1 has no more devices
+ return
+
+ if self.smile_type == "thermostat":
+ self._appl_data[self._home_location].update(
+ {"model": "Anna", "name": "Anna"}
+ )
+
+ if self.smile_type == "stretch":
+ self._appl_data[self._home_location].update(
+ {"model": "Stretch", "name": "Stretch"}
+ )
# The presence of either indicates a local active device, e.g. heat-pump or gas-fired heater
- self._cp_state = self._appliances.find(
- ".//logs/point_log[type='compressor_state']"
+ ch_state = self._appliances.find(
+ ".//logs/point_log[type='central_heating_state']"
)
- fl_state = self._appliances.find(".//logs/point_log[type='flame_state']")
- bl_state = self._appliances.find(".//services/boiler_state")
- self._active_device_present = (
- self._cp_state is not None or fl_state is not None or bl_state is not None
+ ot_fault_code = self._appliances.find(
+ ".//logs/point_log[type='open_therm_oem_fault_code']"
)
+ self._ot_device = ch_state is not None and ot_fault_code is not None
+ self._on_off_device = ch_state is not None and ot_fault_code is None
for appliance in self._appliances.findall("./appliance"):
appl = Munch()
@@ -669,7 +692,7 @@ def _presets(self, loc_id):
if not (rule_ids := self._rule_ids_by_tag(tag_1, loc_id)):
if not (rule_ids := self._rule_ids_by_name(tag_2, loc_id)):
- return presets
+ return presets # pragma: no cover
for rule_id in rule_ids:
directives = self._domain_objects.find(f'rule[@id="{rule_id}"]/directives')
@@ -689,19 +712,21 @@ def _presets(self, loc_id):
def _rule_ids_by_name(self, name, loc_id):
"""Helper-function for _presets().
- Obtain the rule_id from the given name and location_id.
+ Obtain the rule_id from the given name and and provide the location_id, when present.
"""
schema_ids = {}
locator = f'.//contexts/context/zone/location[@id="{loc_id}"]'
for rule in self._domain_objects.findall(f'.//rule[name="{name}"]'):
if rule.find(locator) is not None:
schema_ids[rule.attrib["id"]] = loc_id
+ else:
+ schema_ids[rule.attrib["id"]] = None
return schema_ids
def _rule_ids_by_tag(self, tag, loc_id):
"""Helper-function for _presets(), _schemas() and _last_active_schema().
- Obtain the rule_id from the given template_tag and location_id.
+ Obtain the rule_id from the given template_tag and provide the location_id, when present.
"""
schema_ids = {}
locator1 = f'.//template[@tag="{tag}"]'
@@ -710,6 +735,8 @@ def _rule_ids_by_tag(self, tag, loc_id):
if rule.find(locator1) is not None:
if rule.find(locator2) is not None:
schema_ids[rule.attrib["id"]] = loc_id
+ else:
+ schema_ids[rule.attrib["id"]] = None
return schema_ids
@@ -718,9 +745,8 @@ def _appliance_measurements(self, appliance, data, measurements):
for measurement, attrs in measurements:
p_locator = f'.//logs/point_log[type="{measurement}"]/period/measurement'
if appliance.find(p_locator) is not None:
- if self._smile_legacy:
- if measurement == "domestic_hot_water_state":
- continue
+ if self._smile_legacy and measurement == "domestic_hot_water_state":
+ continue
measure = appliance.find(p_locator).text
# Fix for Adam + Anna: there is a pressure-measurement with an unrealistic value,
@@ -740,6 +766,10 @@ def _appliance_measurements(self, appliance, data, measurements):
measure, attrs[ATTR_UNIT_OF_MEASUREMENT]
)
+ # Anna: use the local outdoor temperature as reference for turning cooling on/off
+ if measurement == "outdoor_temperature":
+ self._outdoor_temp = data[measurement]
+
i_locator = f'.//logs/interval_log[type="{measurement}"]/period/measurement'
if appliance.find(i_locator) is not None:
name = f"{measurement}_interval"
@@ -760,7 +790,7 @@ def _get_appliance_data(self, d_id):
appliance = self._appliances.find(f'.//appliance[@id="{d_id}"]')
measurements = DEVICE_MEASUREMENTS.items()
- if self._active_device_present:
+ if self._ot_device or self._on_off_device:
measurements = {
**DEVICE_MEASUREMENTS,
**HEATER_CENTRAL_MEASUREMENTS,
@@ -784,18 +814,17 @@ def _get_appliance_data(self, d_id):
# Anna: indicate possible active heating/cooling operation-mode
# Actual ongoing heating/cooling is shown via heating_state/cooling_state
if "cooling_activation_outdoor_temperature" in data:
- data["cooling_active"] = False
self._cooling_present = True
if (
not self.cooling_active
- and data["temperature"] > data["cooling_activation_outdoor_temperature"]
+ and self._outdoor_temp > data["cooling_activation_outdoor_temperature"]
):
- data["cooling_active"] = self.cooling_active = True
+ self.cooling_active = True
if (
self.cooling_active
- and data["temperature"] < data["cooling_deactivation_threshold"]
+ and self._outdoor_temp < data["cooling_deactivation_threshold"]
):
- data["cooling_active"] = self.cooling_active = False
+ self.cooling_active = False
return data
@@ -1042,15 +1071,12 @@ def _preset(self, loc_id):
if preset is not None:
return preset.text
- def _schemas_legacy(self):
+ def _schemas_legacy(self, avail, sched_temp, sel):
"""Helper-function for _schemas().
Collect available schemas/schedules for the legacy thermostat.
"""
- available = []
name = None
- schedule_temperature = None
schemas = {}
- selected = None
for schema in self._domain_objects.findall(".//rule"):
if rule_name := schema.find("name").text:
@@ -1060,73 +1086,90 @@ def _schemas_legacy(self):
log_type = "schedule_state"
locator = f"appliance[type='thermostat']/logs/point_log[type='{log_type}']/period/measurement"
active = False
- if self._domain_objects.find(locator) is not None:
- active = self._domain_objects.find(locator).text == "on"
+ if (result := self._domain_objects.find(locator)) is not None:
+ active = result.text == "on"
if name is not None:
schemas[name] = active
+ avail = [name]
+ if active:
+ sel = name
- available, selected = determine_selected(available, selected, schemas)
- return available, selected, schedule_temperature
+ return avail, sel, sched_temp, None
- def _schemas(self, loc_id):
+ def _schemas(self, location):
"""Helper-function for smile.py: _device_data_climate().
- Obtain the available schemas/schedules based on the Location ID.
+ Obtain the available schemas/schedules. Adam: a schedule can be connected to more than one location.
+ NEW: when a location_id is present then the schedule is active. Valid for both Adam and non-legacy Anna.
"""
- available = []
+ available = ["None"]
+ last_used = None
rule_ids = {}
- schemas = {}
schedule_temperature = None
- selected = None
+ selected = "None"
+
+ # Legacy Anna schedule, only one schedule allowed
+ if self._smile_legacy:
+ return self._schemas_legacy(available, schedule_temperature, selected)
- # Legacy schemas
- if self._smile_legacy: # Only one schedule allowed
- return self._schemas_legacy()
+ # Adam schedules, one schedule can be linked to various locations
+ # self._last_active contains the locations and the active schedule name per location, or None
+ if location not in self._last_active:
+ self._last_active[location] = None
- # Current schemas
tag = "zone_preset_based_on_time_and_presence_with_override"
- if not (rule_ids := self._rule_ids_by_tag(tag, loc_id)):
- return available, selected, schedule_temperature
+ if not (rule_ids := self._rule_ids_by_tag(tag, location)):
+ return available, selected, schedule_temperature, None
- for rule_id, dummy in rule_ids.items():
+ schedules = {}
+ for rule_id, loc_id in rule_ids.items():
name = self._domain_objects.find(f'rule[@id="{rule_id}"]/name').text
- active = (
- self._domain_objects.find(f'rule[@id="{rule_id}"]/active').text
- == "true"
- )
- schemas[name] = active
- schedules = {}
+ schedule = {}
locator = f'rule[@id="{rule_id}"]/directives'
directives = self._domain_objects.find(locator)
for directive in directives:
- schedule = directive.find("then").attrib
- keys, dummy = zip(*schedule.items())
+ entry = directive.find("then").attrib
+ keys, dummy = zip(*entry.items())
if str(keys[0]) == "preset":
- schedules[directive.attrib["time"]] = float(
- self._presets(loc_id)[schedule["preset"]][0]
+ schedule[directive.attrib["time"]] = float(
+ self._presets(loc_id)[entry["preset"]][0]
)
else:
- schedules[directive.attrib["time"]] = float(schedule["setpoint"])
-
- schedule_temperature = schemas_schedule_temp(schedules)
+ schedule[directive.attrib["time"]] = float(entry["setpoint"])
+
+ if schedule:
+ available.append(name)
+ if location == loc_id:
+ selected = name
+ self._last_active[location] = selected
+ schedules[name] = schedule
+ else:
+ _LOGGER.error(
+ "Schedule %s has no preset switching moments, ignoring.", name
+ )
- available, selected = determine_selected(available, selected, schemas)
+ if schedules:
+ available.remove("None")
+ last_used = self._last_used_schedule(location, rule_ids)
+ schedule_temperature = schemas_schedule_temp(schedules, last_used)
- return available, selected, schedule_temperature
+ return available, selected, schedule_temperature, last_used
- def _last_active_schema(self, loc_id):
+ def _last_used_schedule(self, loc_id, rule_ids):
"""Helper-function for smile.py: _device_data_climate().
- Determine the last active schema/schedule based on the Location ID.
+ Determine the last-used schedule based on the location or the modified date.
"""
+ # First, find last_used == selected
+ last_used = self._last_active.get(loc_id)
+ if last_used is not None:
+ return last_used
+
+ # Alternatively, find last_used by finding the most recent modified_date
epoch = dt.datetime(1970, 1, 1, tzinfo=pytz.utc)
- rule_ids = {}
schemas = {}
- last_modified = None
- tag = "zone_preset_based_on_time_and_presence_with_override"
-
- if not (rule_ids := self._rule_ids_by_tag(tag, loc_id)):
- return
+ if not rule_ids:
+ return # pragma: no cover
for rule_id, dummy in rule_ids.items():
schema_name = self._domain_objects.find(f'rule[@id="{rule_id}"]/name').text
@@ -1136,10 +1179,10 @@ def _last_active_schema(self, loc_id):
schema_time = parse(schema_date)
schemas[schema_name] = (schema_time - epoch).total_seconds()
- if schemas != {}:
- last_modified = sorted(schemas.items(), key=lambda kv: kv[1])[-1][0]
+ if schemas:
+ last_used = sorted(schemas.items(), key=lambda kv: kv[1])[-1][0]
- return last_modified
+ return last_used
def _object_value(self, obj_id, measurement):
"""Helper-function for smile.py: _get_device_data() and _device_data_anna().
@@ -1183,7 +1226,7 @@ def _create_dicts_from_data(self, data, bs_dict, s_dict, sw_dict):
for item in BINARY_SENSORS:
if list(item.keys())[0] == key:
data.pop(key)
- if self._active_device_present:
+ if self._ot_device or self._on_off_device:
bs_dict[key] = value
for item in SENSORS:
if list(item.keys())[0] == key:
diff --git a/plugwise/smile.py b/plugwise/smile.py
index a0b200ae4..b0f87f1e3 100644
--- a/plugwise/smile.py
+++ b/plugwise/smile.py
@@ -7,6 +7,8 @@
import aiohttp
+from defusedxml import ElementTree as etree
+
# Dict as class
from munch import Munch
@@ -54,8 +56,6 @@ def _append_special(self, data, d_id, bs_dict, s_dict):
if d_id == self.gateway_id:
if self._sm_thermostat is not None:
bs_dict.update(PW_NOTIFICATION)
- if not self._active_device_present and "heating_state" in data:
- s_dict.update(DEVICE_STATE)
if d_id == self._heater_id and self._sm_thermostat is not None:
s_dict.update(DEVICE_STATE)
@@ -83,7 +83,7 @@ def _all_device_data(self):
self.gw_devices[dev_id] = dev_and_data
- self.gw_data["active_device"] = self._active_device_present
+ self.gw_data["active_device"] = self._ot_device or self._on_off_device
self.gw_data["cooling_present"] = self._cooling_present
self.gw_data["gateway_id"] = self.gateway_id
self.gw_data["heater_id"] = self._heater_id
@@ -141,20 +141,12 @@ def _device_data_adam(self, details, device_data):
"""
if self.smile_name == "Adam":
# Indicate heating_state based on valves being open in case of city-provided heating
- if details["class"] == "gateway":
- if (
- not self._active_device_present
- and self._heating_valves() is not None
- ):
+ if details["class"] == "heater_central":
+ if self._on_off_device and self._heating_valves() is not None:
device_data["heating_state"] = True
if self._heating_valves() == 0:
device_data["heating_state"] = False
- # Adam: indicate active heating/cooling operation-mode
- # Actual ongoing heating/cooling is shown via heating_state/cooling_state
- if details["class"] == "heater_central":
- device_data["cooling_active"] = self.cooling_active
-
return device_data
def _device_data_climate(self, details, device_data):
@@ -162,19 +154,43 @@ def _device_data_climate(self, details, device_data):
Determine climate-control device data.
"""
loc_id = details["location"]
- device_data["active_preset"] = self._preset(loc_id)
- device_data["presets"] = self._presets(loc_id)
- avail_schemas, sel_schema, sched_setpoint = self._schemas(loc_id)
- if not self._smile_legacy:
- device_data["schedule_temperature"] = sched_setpoint
+ # Presets
+ device_data["preset_modes"] = None
+ device_data["active_preset"] = None
+ presets = self._presets(loc_id)
+ if presets:
+ device_data["presets"] = presets
+ device_data["preset_modes"] = list(presets)
+ device_data["active_preset"] = self._preset(loc_id)
+
+ # Schedule
+ avail_schemas, sel_schema, sched_setpoint, last_active = self._schemas(loc_id)
device_data["available_schedules"] = avail_schemas
device_data["selected_schedule"] = sel_schema
+ if not self._smile_legacy:
+ device_data["schedule_temperature"] = sched_setpoint
if self._smile_legacy:
device_data["last_used"] = "".join(map(str, avail_schemas))
else:
- device_data["last_used"] = self._last_active_schema(loc_id)
-
+ device_data["last_used"] = last_active
+
+ # Operation mode: auto, heat, cool, off
+ device_data["mode"] = "auto"
+ schedule_status = False
+ if sel_schema != "None":
+ schedule_status = True
+ if not schedule_status:
+ # Mimic HomeKit behavior
+ if self._preset(loc_id) == "away":
+ device_data["mode"] = "off" # pragma: no cover
+ else:
+ device_data["mode"] = "heat"
+ if self._heater_id is not None:
+ if self.cooling_active:
+ device_data["mode"] = "cool"
+
+ # Control_state
if ctrl_state := self._control_state(loc_id):
device_data["control_state"] = ctrl_state
@@ -204,6 +220,11 @@ def _get_device_data(self, dev_id):
if power_data is not None:
device_data.update(power_data)
+ # Adam: indicate active heating/cooling operation-mode
+ # Actual ongoing heating/cooling is shown via heating_state/cooling_state
+ if details["class"] == "heater_central":
+ device_data["cooling_active"] = self.cooling_active
+
# Switching groups data
device_data = self._device_data_switching_group(details, device_data)
# Specific, not generic Adam data
@@ -258,16 +279,19 @@ def __init__(
websession,
)
- self._active_device_present = False
+ self._on_off_device = False
+ self._ot_device = False
self._appliances = None
self._appl_data = None
self._cooling_present = False
self._domain_objects = None
self._heater_id = None
self._home_location = None
+ self._last_active = {}
self._locations = None
self._modules = None
self._notifications = {}
+ self._outdoor_temp = None
self._sm_thermostat = None
self._smile_legacy = False
self._stretch_v2 = False
@@ -313,7 +337,7 @@ async def connect(self):
async def _smile_detect_legacy(self, result, dsmrmain):
"""Helper-function for _smile_detect()."""
- network = result.find(".//module/protocols/network_router/network")
+ network = result.find(".//module/protocols/master_controller")
# Assume legacy
self._smile_legacy = True
@@ -342,7 +366,6 @@ async def _smile_detect_legacy(self, result, dsmrmain):
version = system.find(".//gateway/firmware").text
model = system.find(".//gateway/product").text
self.smile_hostname = system.find(".//gateway/hostname").text
- self.gateway_id = network.attrib["id"]
except InvalidXMLError: # pragma: no cover
# Corner case check
raise ConnectionFailedError
@@ -466,9 +489,13 @@ async def async_update(self):
data, self.gw_devices, dev_dict, dev_id, "switches", key
)
+ # Anna: update cooling_active to it's final value after all entities have been updated
+ if not self._smile_legacy and self.smile_name == "Anna":
+ self.gw_devices[self._heater_id]["cooling_active"] = self.cooling_active
+
return [self.gw_data, self.gw_devices]
- async def _set_schedule_state_legacy(self, name, state):
+ async def _set_schedule_state_legacy(self, name, status):
"""Helper-function for set_schedule_state()."""
schema_rule_id = None
for rule in self._domain_objects.findall("rule"):
@@ -479,7 +506,9 @@ async def _set_schedule_state_legacy(self, name, state):
return False
template_id = None
- state = str(state)
+ state = "false"
+ if str(status) == "on":
+ state = "true"
locator = f'.//*[@id="{schema_rule_id}"]/template'
for rule in self._domain_objects.findall(locator):
template_id = rule.attrib["id"]
@@ -501,26 +530,30 @@ async def set_schedule_state(self, loc_id, name, state):
if self._smile_legacy:
return await self._set_schedule_state_legacy(name, state)
- schema_rule_ids = self._rule_ids_by_name(str(name), loc_id)
- if schema_rule_ids == {} or schema_rule_ids is None:
+ schema_rule = self._rule_ids_by_name(str(name), loc_id)
+ if schema_rule == {} or schema_rule is None:
return False
- for schema_rule_id, location_id in schema_rule_ids.items():
- template_id = None
- if location_id == loc_id:
- state = str(state)
- locator = f'.//*[@id="{schema_rule_id}"]/template'
- for rule in self._domain_objects.findall(locator):
- template_id = rule.attrib["id"]
-
- uri = f"{RULES};id={schema_rule_id}"
- data = (
- "{state}'
- )
+ schema_rule_id = next(iter(schema_rule))
+ info = ""
+ if state == "on":
+ info = f''
- await self._request(uri, method="put", data=data)
+ template = (
+ ''
+ )
+ if self.smile_name != "Adam":
+ locator = f'.//*[@id="{schema_rule_id}"]/template'
+ template_id = self._domain_objects.find(locator).attrib["id"]
+ template = f''
+
+ uri = f"{RULES};id={schema_rule_id}"
+ data = (
+ f''
+ f"{template}{info}"
+ )
+
+ await self._request(uri, method="put", data=data)
return True
diff --git a/plugwise/util.py b/plugwise/util.py
index 0d5e496c2..501e936f0 100644
--- a/plugwise/util.py
+++ b/plugwise/util.py
@@ -123,10 +123,12 @@ def format_measure(measure, unit):
def determine_selected(available, selected, schemas):
"""Determine selected schema from available schemas."""
- for schema_a, schema_b in schemas.items():
- available.append(schema_a)
- if schema_b:
- selected = schema_a
+ for schema, active in schemas.items():
+ if "None" in available:
+ available.remove("None")
+ available.append(schema)
+ if active:
+ selected = schema
return available, selected
diff --git a/pytest.ini b/pytest.ini
index b05f317dd..25415b8fe 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,3 +1,4 @@
[pytest]
+asyncio_mode = strict
markers =
- asyncio: mark a test as a asynchronous io test.
\ No newline at end of file
+ asyncio: mark a test as a asynchronous io test.
diff --git a/requirements_test.txt b/requirements_test.txt
index 8bf8c7f03..bdcd6bf30 100644
--- a/requirements_test.txt
+++ b/requirements_test.txt
@@ -1,5 +1,4 @@
# Import from setup.py
-e .
-# pytest-asyncio
pytest-cover
radon
diff --git a/tests/test_smile.py b/tests/test_smile.py
index 34f72f5a0..07631718e 100644
--- a/tests/test_smile.py
+++ b/tests/test_smile.py
@@ -443,7 +443,12 @@ async def device_test(self, smile=pw_smile.Smile, testdata=None, preset=False):
_LOGGER.debug(
"Schedule temperature = %s", dev_data[measure_key]
)
- assert isinstance(dev_data[measure_key], float)
+ if measure_assert is not None:
+ assert isinstance(dev_data[measure_key], float)
+ else: # edge-case: schedule_temperature = None
+ assert (
+ dev_data[measure_key] == measure_assert
+ ) # pragma: no cover
else:
assert dev_data[measure_key] == measure_assert
@@ -535,7 +540,7 @@ async def tinker_thermostat_schema(
_LOGGER.info("- Adjusting schedule to %s", f"{new_schema}{warning}")
try:
schema_change = await smile.set_schedule_state(
- loc_id, new_schema, "auto"
+ loc_id, new_schema, "on"
)
assert schema_change == assert_state
_LOGGER.info(" + failed as intended")
@@ -564,35 +569,60 @@ async def tinker_thermostat(self, smile, loc_id, good_schemas=None, unhappy=Fals
@pytest.mark.asyncio
async def test_connect_legacy_anna(self):
"""Test a legacy Anna device."""
- # testdata is a dictionary with key ctrl_id_dev_id => keys:values
testdata = {
# Anna
"0d266432d64443e283b5d708ae98b455": {
- "available_schedules": ["Thermostat schedule"],
- "selected_schedule": "Thermostat schedule",
- "last_used": "Thermostat schedule",
+ "class": "thermostat",
+ "fw": "2017-03-13T11:54:58+01:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Anna",
+ "name": "Anna",
+ "vendor": "Plugwise",
+ "schedule_temperature": 20.0,
+ "preset_modes": ["away", "vacation", "asleep", "home", "no_frost"],
+ "active_preset": "home",
"presets": {
- "asleep": [19.0, 0],
"away": [19.0, 0],
+ "vacation": [15.0, 0],
+ "asleep": [19.0, 0],
"home": [20.0, 0],
"no_frost": [10.0, 0],
- "vacation": [15.0, 0],
},
- "active_preset": "home",
- "schedule_temperature": 20.0,
- "sensors": {"illuminance": 151, "setpoint": 20.5, "temperature": 20.4},
+ "available_schedules": ["Thermostat schedule"],
+ "selected_schedule": "Thermostat schedule",
+ "last_used": "Thermostat schedule",
+ "mode": "auto",
+ "sensors": {"temperature": 20.4, "setpoint": 20.5, "illuminance": 151},
},
# Central
"04e4cbfe7f4340f090f85ec3b9e6a950": {
+ "class": "heater_central",
+ "fw": None,
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "4.21",
+ "name": "OpenTherm",
+ "vendor": "Bosch Thermotechniek B.V.",
+ "heating_state": True,
+ "cooling_active": False,
+ "binary_sensors": {"flame_state": True},
"sensors": {
"water_temperature": 23.6,
"intended_boiler_temperature": 17.0,
"modulation_level": 0.0,
"return_temperature": 21.7,
"water_pressure": 1.2,
+ "device_state": "heating",
},
- "location": pw_constants.FAKE_LOC,
- "heating_state": True,
+ },
+ # Gateway
+ "0000aaaa0000aaaa0000aaaa0000aa00": {
+ "class": "gateway",
+ "fw": "1.8.0",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Anna",
+ "name": "Anna",
+ "vendor": "Plugwise B.V.",
+ "binary_sensors": {"plugwise_notification": False},
},
}
@@ -639,18 +669,62 @@ async def test_connect_legacy_anna(self):
@pytest.mark.asyncio
async def test_connect_legacy_anna_2(self):
"""Test a legacy Anna device."""
- # testdata is a dictionary with key ctrl_id_dev_id => keys:values
- # testdata={
- # 'ctrl_id': { 'outdoor+temp': 20.0, }
- # 'ctrl_id:dev_id': { 'type': 'thermostat', 'battery': None, }
- # }
testdata = {
# Anna
"9e7377867dc24e51b8098a5ba02bd89d": {
- "sensors": {"illuminance": 19.5, "setpoint": 15.0, "temperature": 21.4},
+ "class": "thermostat",
+ "fw": "2017-03-13T11:54:58+01:00",
+ "location": "be81e3f8275b4129852c4d8d550ae2eb",
+ "model": "Anna",
+ "name": "Anna",
+ "vendor": "Plugwise",
+ "schedule_temperature": 15.0,
+ "preset_modes": ["vacation", "away", "no_frost", "home", "asleep"],
+ "active_preset": None,
+ "presets": {
+ "vacation": [15.0, 0],
+ "away": [15.0, 0],
+ "no_frost": [10.0, 0],
+ "home": [18.0, 0],
+ "asleep": [15.0, 0],
+ },
+ "available_schedules": ["Thermostat schedule"],
+ "selected_schedule": "None",
+ "last_used": "Thermostat schedule",
+ "mode": "heat",
+ "sensors": {"temperature": 21.4, "setpoint": 15.0, "illuminance": 19.5},
},
# Central
- "ea5d8a7177e541b0a4b52da815166de4": {"sensors": {"water_pressure": 1.7}},
+ "ea5d8a7177e541b0a4b52da815166de4": {
+ "class": "heater_central",
+ "fw": None,
+ "location": "be81e3f8275b4129852c4d8d550ae2eb",
+ "model": "Generic heater",
+ "name": "OpenTherm",
+ "vendor": None,
+ "heating_state": False,
+ "cooling_active": False,
+ "binary_sensors": {"flame_state": False},
+ "sensors": {
+ "water_temperature": 54.0,
+ "intended_boiler_temperature": 0.0,
+ "modulation_level": 0.0,
+ "return_temperature": 0.0,
+ "water_pressure": 1.7,
+ "device_state": "idle",
+ },
+ },
+ # Gateway
+ "be81e3f8275b4129852c4d8d550ae2eb": {
+ "class": "gateway",
+ "fw": "1.8.0",
+ "location": "be81e3f8275b4129852c4d8d550ae2eb",
+ "model": "Anna",
+ "name": "Anna",
+ "vendor": "Plugwise B.V.",
+ "binary_sensors": {"plugwise_notification": False},
+ "sensors": {"outdoor_temperature": 21.0},
+ },
}
self.smile_setup = "legacy_anna_2"
@@ -696,20 +770,32 @@ async def test_connect_legacy_anna_2(self):
@pytest.mark.asyncio
async def test_connect_smile_p1_v2(self):
"""Test a legacy P1 device."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
# Gateway / P1 itself
"938696c4bcdb4b8a9a595cb38ed43913": {
+ "class": "gateway",
+ "fw": "2.5.9",
"location": "938696c4bcdb4b8a9a595cb38ed43913",
+ "model": "P1",
+ "name": "P1",
+ "vendor": "Plugwise B.V.",
"sensors": {
- "electricity_consumed_point": 456.0,
- "net_electricity_point": 456.0,
- "gas_consumed_cumulative": 584.431,
+ "net_electricity_point": 456,
+ "electricity_consumed_point": 456,
+ "net_electricity_cumulative": 1019.161,
+ "electricity_consumed_peak_cumulative": 1155.155,
+ "electricity_consumed_off_peak_cumulative": 1642.74,
+ "electricity_consumed_peak_interval": 210,
+ "electricity_consumed_off_peak_interval": 0,
+ "electricity_produced_point": 0,
"electricity_produced_peak_cumulative": 1296.136,
"electricity_produced_off_peak_cumulative": 482.598,
- "net_electricity_cumulative": 1019.161,
+ "electricity_produced_peak_interval": 0,
+ "electricity_produced_off_peak_interval": 0,
+ "gas_consumed_cumulative": 584.431,
+ "gas_consumed_interval": 0.014,
},
- }
+ },
}
self.smile_setup = "smile_p1_v2"
@@ -737,7 +823,6 @@ async def test_connect_smile_p1_v2(self):
@pytest.mark.asyncio
async def test_connect_smile_p1_v2_2(self):
"""Test another legacy P1 device."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
# Gateway / P1 itself
"199aa40f126840f392983d171374ab0b": {
@@ -773,26 +858,62 @@ async def test_connect_smile_p1_v2_2(self):
@pytest.mark.asyncio
async def test_connect_anna_v4(self):
"""Test an Anna firmware 4 setup without a boiler."""
- # testdata is a dictionary with key ctrl_id_dev_id => keys:values
- # testdata={
- # 'ctrl_id': { 'outdoor+temp': 20.0, }
- # 'ctrl_id:dev_id': { 'type': 'thermostat', 'battery': None, }
- # }
testdata = {
# Anna
"01b85360fdd243d0aaad4d6ac2a5ba7e": {
- "selected_schedule": None,
+ "class": "thermostat",
+ "fw": "2018-02-08T11:15:53+01:00",
+ "location": "eb5309212bf5407bb143e5bfa3b18aee",
+ "model": "Anna",
+ "name": "Anna",
+ "vendor": "Plugwise",
+ "preset_modes": ["vacation", "no_frost", "away", "asleep", "home"],
"active_preset": "home",
- "sensors": {"illuminance": 40.5},
+ "presets": {
+ "vacation": [15.0, 28.0],
+ "no_frost": [10.0, 30.0],
+ "away": [17.5, 25.0],
+ "asleep": [17.0, 24.0],
+ "home": [20.5, 22.0],
+ },
+ "available_schedules": ["Standaard", "Thuiswerken"],
+ "selected_schedule": "None",
+ "schedule_temperature": 20.5,
+ "last_used": "Standaard",
+ "mode": "heat",
+ "sensors": {"temperature": 20.5, "setpoint": 20.5, "illuminance": 40.5},
},
# Central
"cd0e6156b1f04d5f952349ffbe397481": {
+ "class": "heater_central",
+ "fw": None,
+ "location": "94c107dc6ac84ed98e9f68c0dd06bf71",
+ "model": "2.32",
+ "name": "OpenTherm",
+ "vendor": "Bosch Thermotechniek B.V.",
"heating_state": True,
- "binary_sensors": {"flame_state": True},
- "sensors": {"water_pressure": 2.1, "water_temperature": 52.0},
+ "cooling_active": False,
+ "binary_sensors": {"dhw_state": False, "flame_state": True},
+ "sensors": {
+ "water_temperature": 52.0,
+ "intended_boiler_temperature": 48.6,
+ "modulation_level": 0.0,
+ "return_temperature": 42.0,
+ "water_pressure": 2.1,
+ "device_state": "heating",
+ },
+ "switches": {"dhw_cm_switch": False},
},
+ # Gateway
"0466eae8520144c78afb29628384edeb": {
- "sensors": {"outdoor_temperature": 7.44}
+ "class": "gateway",
+ "fw": "4.0.15",
+ "location": "94c107dc6ac84ed98e9f68c0dd06bf71",
+ "model": "Anna",
+ "name": "Anna",
+ "vendor": "Plugwise B.V.",
+ "binary_sensors": {"plugwise_notification": False},
+ "sensors": {"outdoor_temperature": 7.44},
},
}
@@ -878,11 +999,6 @@ async def test_connect_anna_v4_no_tag(self):
@pytest.mark.asyncio
async def test_connect_anna_without_boiler_fw3(self):
"""Test an Anna firmware 3 without a boiler."""
- # testdata is a dictionary with key ctrl_id_dev_id => keys:values
- # testdata={
- # 'ctrl_id': { 'outdoor+temp': 20.0, }
- # 'ctrl_id:dev_id': { 'type': 'thermostat', 'battery': None, }
- # }
testdata = {
# Anna
"7ffbb3ab4b6c4ab2915d7510f7bf8fe9": {
@@ -895,10 +1011,6 @@ async def test_connect_anna_without_boiler_fw3(self):
"location": "0f4f2ada20734a339fe353348fe87b96",
"sensors": {"outdoor_temperature": 10.8},
},
- # # Central
- # "c46b4794d28149699eacf053deedd003": {
- # "heating_state": False,
- # },
}
self.smile_setup = "anna_without_boiler_fw3"
@@ -916,7 +1028,7 @@ async def test_connect_anna_without_boiler_fw3(self):
await self.device_test(smile, testdata)
_LOGGER.info(" # Assert master thermostat")
assert smile._sm_thermostat
- assert not self.active_device_present
+ assert self.active_device_present
assert not self.notifications
await self.tinker_thermostat(
@@ -938,11 +1050,6 @@ async def test_connect_anna_without_boiler_fw3(self):
@pytest.mark.asyncio
async def test_connect_anna_without_boiler_fw4(self):
"""Test an Anna firmware 4 without a boiler."""
- # testdata is a dictionary with key ctrl_id_dev_id => keys:values
- # testdata={
- # 'ctrl_id': { 'outdoor+temp': 20.0, }
- # 'ctrl_id:dev_id': { 'type': 'thermostat', 'battery': None, }
- # }
testdata = {
# Anna
"7ffbb3ab4b6c4ab2915d7510f7bf8fe9": {
@@ -953,10 +1060,6 @@ async def test_connect_anna_without_boiler_fw4(self):
"a270735e4ccd45239424badc0578a2b1": {
"sensors": {"outdoor_temperature": 16.6}
},
- # # Central
- # "c46b4794d28149699eacf053deedd003": {
- # "heating_state": True,
- # },
}
self.smile_setup = "anna_without_boiler_fw4"
@@ -974,7 +1077,94 @@ async def test_connect_anna_without_boiler_fw4(self):
await self.device_test(smile, testdata)
_LOGGER.info(" # Assert master thermostat")
assert smile._sm_thermostat
- assert not self.active_device_present
+ assert self.active_device_present
+ assert not self.notifications
+
+ await self.tinker_thermostat(
+ smile, "c34c6864216446528e95d88985e714cc", good_schemas=["Test", "Normal"]
+ )
+ await smile.close_connection()
+ await self.disconnect(server, client)
+
+ server, smile, client = await self.connect_wrapper(raise_timeout=True)
+ await self.tinker_thermostat(
+ smile,
+ "c34c6864216446528e95d88985e714cc",
+ good_schemas=["Test", "Normal"],
+ unhappy=True,
+ )
+ await smile.close_connection()
+ await self.disconnect(server, client)
+
+ @pytest.mark.asyncio
+ async def test_connect_anna_without_boiler_fw42(self):
+ """Test an Anna firmware 4.2 setup without a boiler."""
+ testdata = {
+ # Central
+ "c46b4794d28149699eacf053deedd003": {
+ "class": "heater_central",
+ "fw": None,
+ "location": "0f4f2ada20734a339fe353348fe87b96",
+ "model": "Unknown",
+ "name": "OnOff",
+ "vendor": None,
+ "heating_state": True,
+ "cooling_active": False,
+ "sensors": {"device_state": "heating"},
+ },
+ # Anna
+ "7ffbb3ab4b6c4ab2915d7510f7bf8fe9": {
+ "class": "thermostat",
+ "fw": "2018-02-08T11:15:53+01:00",
+ "location": "c34c6864216446528e95d88985e714cc",
+ "model": "Anna",
+ "name": "Anna",
+ "vendor": "Plugwise",
+ "preset_modes": ["no_frost", "asleep", "away", "home", "vacation"],
+ "active_preset": "home",
+ "presets": {
+ "no_frost": [10.0, 30.0],
+ "asleep": [16.0, 24.0],
+ "away": [16.0, 25.0],
+ "home": [21.0, 22.0],
+ "vacation": [18.5, 28.0],
+ },
+ "available_schedules": ["Test", "Normal"],
+ "selected_schedule": "Test",
+ "schedule_temperature": 21.0,
+ "last_used": "Test",
+ "mode": "auto",
+ "sensors": {"temperature": 20.6, "setpoint": 21.0, "illuminance": 0.25},
+ },
+ # Gateway
+ "a270735e4ccd45239424badc0578a2b1": {
+ "class": "gateway",
+ "fw": "4.2.1",
+ "location": "0f4f2ada20734a339fe353348fe87b96",
+ "model": "Anna",
+ "name": "Anna",
+ "vendor": "Plugwise B.V.",
+ "binary_sensors": {"plugwise_notification": False},
+ "sensors": {"outdoor_temperature": 3.56},
+ },
+ }
+
+ self.smile_setup = "anna_without_boiler_fw42"
+ server, smile, client = await self.connect_wrapper()
+ assert smile.smile_hostname == "smile000000"
+
+ _LOGGER.info("Basics:")
+ _LOGGER.info(" # Assert type = thermostat")
+ assert smile.smile_type == "thermostat"
+ _LOGGER.info(" # Assert version")
+ assert smile.smile_version[0] == "4.2.1"
+ _LOGGER.info(" # Assert no legacy")
+ assert not smile._smile_legacy # pylint: disable=protected-access
+
+ await self.device_test(smile, testdata)
+ _LOGGER.info(" # Assert master thermostat")
+ assert smile._sm_thermostat
+ assert self.active_device_present
assert not self.notifications
await self.tinker_thermostat(
@@ -996,7 +1186,6 @@ async def test_connect_anna_without_boiler_fw4(self):
@pytest.mark.asyncio
async def test_connect_adam_plus_anna(self):
"""Test outdated information for Adam with Anna setup."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
# Anna
"ee62cad889f94e8ca3d09021f03a660b": {
@@ -1067,29 +1256,158 @@ async def test_connect_adam_plus_anna_new(self):
"""Test Adam with Anna and a switch-group setup."""
testdata = {
# Anna
- "ee62cad889f94e8ca3d09021f03a660b": {
- "control_state": "off",
- "available_schedules": ["Weekschema"],
+ "ad4838d7d35c4d6ea796ee12ae5aedf8": {
+ "class": "thermostat",
+ "fw": None,
+ "location": "f2bf9048bef64cc5b6d5110154e33c81",
+ "model": "Anna",
+ "name": "Anna",
+ "vendor": "Plugwise B.V.",
+ "preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
+ "active_preset": "asleep",
+ "presets": {
+ "home": [20.0, 22.0],
+ "asleep": [17.0, 24.0],
+ "away": [15.0, 25.0],
+ "vacation": [15.0, 28.0],
+ "no_frost": [10.0, 30.0],
+ },
+ "available_schedules": ["Weekschema", "Badkamer", "Test"],
"selected_schedule": "Weekschema",
+ "schedule_temperature": 18.5,
"last_used": "Weekschema",
+ "mode": "auto",
+ "control_state": "heating",
+ "sensors": {"temperature": 18.1, "setpoint": 18.5},
+ },
+ "29542b2b6a6a4169acecc15c72a599b8": {
+ "class": "hometheater",
+ "fw": "2020-11-10T01:00:00+01:00",
+ "location": "f2bf9048bef64cc5b6d5110154e33c81",
+ "model": "Plug",
+ "name": "Plug Mediacenter",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 12.2,
+ "electricity_consumed_interval": 3.0,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "2568cc4b9c1e401495d4741a5f89bee1": {
+ "class": "computer_desktop",
+ "fw": "2020-11-10T01:00:00+01:00",
+ "location": "f2bf9048bef64cc5b6d5110154e33c81",
+ "model": "Plug",
+ "name": "Plug Werkplek",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 98.0,
+ "electricity_consumed_interval": 24.0,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": True},
+ },
+ "854f8a9b0e7e425db97f1f110e1ce4b3": {
+ "class": "central_heating_pump",
+ "fw": "2020-11-10T01:00:00+01:00",
+ "location": "f2bf9048bef64cc5b6d5110154e33c81",
+ "model": "Plug",
+ "name": "Plug Vloerverwarming",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 46.8,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True},
+ },
+ "1772a4ea304041adb83f357b751341ff": {
+ "class": "thermo_sensor",
+ "fw": "2020-11-04T01:00:00+01:00",
+ "location": "f871b8c4d63549319221e294e4f88074",
+ "model": "Tom/Floor",
+ "name": "Tom Badkamer",
+ "vendor": "Plugwise",
+ "sensors": {
+ "temperature": 21.6,
+ "setpoint": 15.0,
+ "battery": 99,
+ "temperature_difference": 2.3,
+ "valve_position": 0.0,
+ },
+ },
+ "e2f4322d57924fa090fbbc48b3a140dc": {
+ "class": "zone_thermostat",
+ "fw": "2016-10-10T02:00:00+02:00",
+ "location": "f871b8c4d63549319221e294e4f88074",
+ "model": "Lisa",
+ "name": "Lisa Badkamer",
+ "vendor": "Plugwise",
+ "preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
+ "active_preset": "home",
"presets": {
- "asleep": [18.0, 24.0],
- "away": [15.0, 25.0],
"home": [20.0, 22.0],
- "no_frost": [10.0, 30.0],
+ "asleep": [17.0, 24.0],
+ "away": [15.0, 25.0],
"vacation": [15.0, 28.0],
+ "no_frost": [10.0, 30.0],
},
- "active_preset": "home",
- "schedule_temperature": 20.5,
+ "available_schedules": ["Weekschema", "Badkamer", "Test"],
+ "selected_schedule": "Badkamer",
+ "schedule_temperature": 16.0,
+ "last_used": "Badkamer",
+ "mode": "auto",
+ "control_state": "off",
+ "sensors": {"temperature": 17.9, "setpoint": 15.0, "battery": 56},
+ },
+ "da224107914542988a88561b4452b0f6": {
+ "class": "gateway",
+ "fw": "3.6.4",
+ "location": "bc93488efab249e5bc54fd7e175a6f91",
+ "model": "Adam",
+ "name": "Adam",
+ "vendor": "Plugwise B.V.",
+ "binary_sensors": {"plugwise_notification": False},
+ "sensors": {"outdoor_temperature": -1.25},
},
# Central
- "2743216f626f43948deec1f7ab3b3d70": {
- "binary_sensors": {"dhw_state": True},
- "sensors": {"device_state": "dhw-heating"},
+ "056ee145a816487eaa69243c3280f8bf": {
+ "class": "heater_central",
+ "fw": None,
+ "location": "bc93488efab249e5bc54fd7e175a6f91",
+ "model": "Generic heater",
+ "name": "OpenTherm",
+ "vendor": None,
+ "heating_state": True,
+ "cooling_state": False,
"cooling_active": False,
+ "binary_sensors": {"dhw_state": False, "flame_state": False},
+ "sensors": {
+ "water_temperature": 37.0,
+ "intended_boiler_temperature": 38.1,
+ "device_state": "heating",
+ },
+ "switches": {"dhw_cm_switch": False},
},
# Test Switch
- "b83f9f9758064c0fab4af6578cba4c6d": {"switches": {"relay": True}},
+ "e8ef2a01ed3b4139a53bf749204fe6b4": {
+ "class": "switching",
+ "fw": None,
+ "location": None,
+ "model": "Switchgroup",
+ "name": "Test",
+ "members": [
+ "2568cc4b9c1e401495d4741a5f89bee1",
+ "29542b2b6a6a4169acecc15c72a599b8",
+ ],
+ "types": {"switch_group"},
+ "vendor": None,
+ "switches": {"relay": True},
+ },
}
self.smile_setup = "adam_plus_anna_new"
@@ -1098,7 +1416,7 @@ async def test_connect_adam_plus_anna_new(self):
_LOGGER.info("Basics:")
_LOGGER.info(" # Assert version")
- assert smile.smile_version[0] == "3.2.4"
+ assert smile.smile_version[0] == "3.6.4"
_LOGGER.info(" # Assert legacy")
assert not smile._smile_legacy # pylint: disable=protected-access
@@ -1109,20 +1427,20 @@ async def test_connect_adam_plus_anna_new(self):
switch_change = await self.tinker_switch(
smile,
- "b83f9f9758064c0fab4af6578cba4c6d",
- ["aa6b0002df0a46e1b1eb94beb61eddfe", "f2be121e4a9345ac83c6e99ed89a98be"],
+ "e8ef2a01ed3b4139a53bf749204fe6b4",
+ ["2568cc4b9c1e401495d4741a5f89bee1", "29542b2b6a6a4169acecc15c72a599b8"],
)
assert switch_change
switch_change = await self.tinker_switch(
- smile, "2743216f626f43948deec1f7ab3b3d70", model="dhw_cm_switch"
+ smile, "056ee145a816487eaa69243c3280f8bf", model="dhw_cm_switch"
)
assert switch_change
switch_change = await self.tinker_switch(
- smile, "40ec6ebe67844b21914c4a5382a3f09f", model="lock"
+ smile, "854f8a9b0e7e425db97f1f110e1ce4b3", model="lock"
)
assert switch_change
switch_change = await self.tinker_switch(
- smile, "f2be121e4a9345ac83c6e99ed89a98be"
+ smile, "2568cc4b9c1e401495d4741a5f89bee1"
)
assert not switch_change
await smile.close_connection()
@@ -1194,8 +1512,11 @@ async def test_connect_adam_plus_anna_new_copy_dhw_and_cooling(self):
@pytest.mark.asyncio
async def test_connect_adam_zone_per_device(self):
"""Test a broad setup of Adam with a zone per device setup."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
+ "90986d591dcd426cae3ec3e8111ff730": {
+ "heating_state": False,
+ "sensors": {"device_state": "idle"},
+ },
# Lisa WK
"b59bcebaf94b499ea7d46e4a66fb62d8": {
"sensors": {
@@ -1229,7 +1550,6 @@ async def test_connect_adam_zone_per_device(self):
"fe799307f1624099878210aa0b9f1475": {
"binary_sensors": {"plugwise_notification": True},
"sensors": {"outdoor_temperature": 7.69},
- "heating_state": False,
},
# Modem
"675416a629f343c495449970e2ca37b5": {
@@ -1253,7 +1573,7 @@ async def test_connect_adam_zone_per_device(self):
await self.device_test(smile, testdata)
_LOGGER.info(" # Assert master thermostat")
assert not smile._sm_thermostat
- assert not self.active_device_present
+ assert self.active_device_present
assert "af82e4ccf9c548528166d38e560662a4" in self.notifications
await smile.delete_notification()
@@ -1299,46 +1619,347 @@ async def test_connect_adam_zone_per_device(self):
@pytest.mark.asyncio
async def test_connect_adam_multiple_devices_per_zone(self):
"""Test a broad setup of Adam with multiple devices per zone setup."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
- # Lisa WK
- "b59bcebaf94b499ea7d46e4a66fb62d8": {
- "sensors": {
- "setpoint": 21.5,
- "temperature": 20.9,
- "battery": 34,
- }
+ "df4a4a8169904cdb9c03d61a21f42140": {
+ "class": "zone_thermostat",
+ "fw": "2016-10-27T02:00:00+02:00",
+ "location": "12493538af164a409c6a1c79e38afe1c",
+ "model": "Lisa",
+ "name": "Zone Lisa Bios",
+ "vendor": "Plugwise",
+ "preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
+ "active_preset": "away",
+ "presets": {
+ "home": [20.0, 22.0],
+ "asleep": [17.0, 24.0],
+ "away": [15.0, 25.0],
+ "vacation": [15.0, 28.0],
+ "no_frost": [10.0, 30.0],
+ },
+ "available_schedules": [
+ "CV Roan",
+ "Bios Schema met Film Avond",
+ "GF7 Woonkamer",
+ "Badkamer Schema",
+ "CV Jessie",
+ ],
+ "selected_schedule": "None",
+ "schedule_temperature": 15.0,
+ "last_used": "Badkamer Schema",
+ "mode": "off",
+ "sensors": {"temperature": 16.5, "setpoint": 13.0, "battery": 67},
},
- # Floor WK
"b310b72a0e354bfab43089919b9a88bf": {
+ "class": "thermo_sensor",
+ "fw": "2019-03-27T01:00:00+01:00",
+ "location": "c50f167537524366a5af7aa3942feb1e",
+ "model": "Tom/Floor",
+ "name": "Floor kraan",
+ "vendor": "Plugwise",
"sensors": {
- "setpoint": 21.5,
"temperature": 26.0,
+ "setpoint": 21.5,
+ "temperature_difference": 3.5,
"valve_position": 100,
- }
- },
- # CV pomp
- "78d1126fc4c743db81b61c20e88342a7": {
- "sensors": {"electricity_consumed": 35.6},
- "switches": {"relay": True},
+ },
},
- # Lisa Bios
- "df4a4a8169904cdb9c03d61a21f42140": {
+ "a2c3583e0a6349358998b760cea82d2a": {
+ "class": "thermo_sensor",
+ "fw": "2019-03-27T01:00:00+01:00",
+ "location": "12493538af164a409c6a1c79e38afe1c",
+ "model": "Tom/Floor",
+ "name": "Bios Cv Thermostatic Radiator ",
+ "vendor": "Plugwise",
"sensors": {
+ "temperature": 17.2,
"setpoint": 13.0,
- "temperature": 16.5,
- "battery": 67,
- }
+ "battery": 62,
+ "temperature_difference": -0.2,
+ "valve_position": 0.0,
+ },
+ },
+ "b59bcebaf94b499ea7d46e4a66fb62d8": {
+ "class": "zone_thermostat",
+ "fw": "2016-08-02T02:00:00+02:00",
+ "location": "c50f167537524366a5af7aa3942feb1e",
+ "model": "Lisa",
+ "name": "Zone Lisa WK",
+ "vendor": "Plugwise",
+ "preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
+ "active_preset": "home",
+ "presets": {
+ "home": [20.0, 22.0],
+ "asleep": [17.0, 24.0],
+ "away": [15.0, 25.0],
+ "vacation": [15.0, 28.0],
+ "no_frost": [10.0, 30.0],
+ },
+ "available_schedules": [
+ "CV Roan",
+ "Bios Schema met Film Avond",
+ "GF7 Woonkamer",
+ "Badkamer Schema",
+ "CV Jessie",
+ ],
+ "selected_schedule": "GF7 Woonkamer",
+ "schedule_temperature": 20.0,
+ "last_used": "GF7 Woonkamer",
+ "mode": "auto",
+ "sensors": {"temperature": 20.9, "setpoint": 21.5, "battery": 34},
},
- # Adam
"fe799307f1624099878210aa0b9f1475": {
+ "class": "gateway",
+ "fw": "3.0.15",
+ "location": "1f9dcf83fd4e4b66b72ff787957bfe5d",
+ "model": "Adam",
+ "name": "Adam",
+ "vendor": "Plugwise B.V.",
+ "binary_sensors": {"plugwise_notification": True},
"sensors": {"outdoor_temperature": 7.81},
+ },
+ "d3da73bde12a47d5a6b8f9dad971f2ec": {
+ "class": "thermo_sensor",
+ "fw": "2019-03-27T01:00:00+01:00",
+ "location": "82fa13f017d240daa0d0ea1775420f24",
+ "model": "Tom/Floor",
+ "name": "Thermostatic Radiator Jessie",
+ "vendor": "Plugwise",
+ "sensors": {
+ "temperature": 17.1,
+ "setpoint": 15.0,
+ "battery": 62,
+ "temperature_difference": 0.1,
+ "valve_position": 0.0,
+ },
+ },
+ "21f2b542c49845e6bb416884c55778d6": {
+ "class": "game_console",
+ "fw": "2019-06-21T02:00:00+02:00",
+ "location": "cd143c07248f491493cea0533bc3d669",
+ "model": "Plug",
+ "name": "Playstation Smart Plug",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 82.6,
+ "electricity_consumed_interval": 8.6,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "78d1126fc4c743db81b61c20e88342a7": {
+ "class": "central_heating_pump",
+ "fw": "2019-06-21T02:00:00+02:00",
+ "location": "c50f167537524366a5af7aa3942feb1e",
+ "model": "Plug",
+ "name": "CV Pomp",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 35.6,
+ "electricity_consumed_interval": 7.37,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True},
+ },
+ "90986d591dcd426cae3ec3e8111ff730": {
+ "class": "heater_central",
+ "fw": None,
+ "location": "1f9dcf83fd4e4b66b72ff787957bfe5d",
+ "model": "Unknown",
+ "name": "OnOff",
+ "vendor": None,
+ "cooling_active": False,
"heating_state": True,
+ "sensors": {
+ "water_temperature": 70.0,
+ "intended_boiler_temperature": 70.0,
+ "modulation_level": 1,
+ "device_state": "heating",
+ },
+ },
+ "cd0ddb54ef694e11ac18ed1cbce5dbbd": {
+ "class": "vcr",
+ "fw": "2019-06-21T02:00:00+02:00",
+ "location": "cd143c07248f491493cea0533bc3d669",
+ "model": "Plug",
+ "name": "NAS",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 16.5,
+ "electricity_consumed_interval": 0.5,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": True},
+ },
+ "4a810418d5394b3f82727340b91ba740": {
+ "class": "router",
+ "fw": "2019-06-21T02:00:00+02:00",
+ "location": "cd143c07248f491493cea0533bc3d669",
+ "model": "Plug",
+ "name": "USG Smart Plug",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 8.5,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": True},
+ },
+ "02cf28bfec924855854c544690a609ef": {
+ "class": "vcr",
+ "fw": "2019-06-21T02:00:00+02:00",
+ "location": "cd143c07248f491493cea0533bc3d669",
+ "model": "Plug",
+ "name": "NVR",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 34.0,
+ "electricity_consumed_interval": 9.15,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": True},
+ },
+ "a28f588dc4a049a483fd03a30361ad3a": {
+ "class": "settop",
+ "fw": "2019-06-21T02:00:00+02:00",
+ "location": "cd143c07248f491493cea0533bc3d669",
+ "model": "Plug",
+ "name": "Fibaro HC2",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 12.5,
+ "electricity_consumed_interval": 3.8,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": True},
+ },
+ "6a3bf693d05e48e0b460c815a4fdd09d": {
+ "class": "zone_thermostat",
+ "fw": "2016-10-27T02:00:00+02:00",
+ "location": "82fa13f017d240daa0d0ea1775420f24",
+ "model": "Lisa",
+ "name": "Zone Thermostat Jessie",
+ "vendor": "Plugwise",
+ "preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
+ "active_preset": "asleep",
+ "presets": {
+ "home": [20.0, 22.0],
+ "asleep": [17.0, 24.0],
+ "away": [15.0, 25.0],
+ "vacation": [15.0, 28.0],
+ "no_frost": [10.0, 30.0],
+ },
+ "available_schedules": [
+ "CV Roan",
+ "Bios Schema met Film Avond",
+ "GF7 Woonkamer",
+ "Badkamer Schema",
+ "CV Jessie",
+ ],
+ "selected_schedule": "CV Jessie",
+ "schedule_temperature": 15.0,
+ "last_used": "CV Jessie",
+ "mode": "auto",
+ "sensors": {"temperature": 17.2, "setpoint": 15.0, "battery": 37},
+ },
+ "680423ff840043738f42cc7f1ff97a36": {
+ "class": "thermo_sensor",
+ "fw": "2019-03-27T01:00:00+01:00",
+ "location": "08963fec7c53423ca5680aa4cb502c63",
+ "model": "Tom/Floor",
+ "name": "Thermostatic Radiator Badkamer",
+ "vendor": "Plugwise",
+ "sensors": {
+ "temperature": 19.1,
+ "setpoint": 14.0,
+ "battery": 51,
+ "temperature_difference": -0.4,
+ "valve_position": 0.0,
+ },
+ },
+ "f1fee6043d3642a9b0a65297455f008e": {
+ "class": "zone_thermostat",
+ "fw": "2016-10-27T02:00:00+02:00",
+ "location": "08963fec7c53423ca5680aa4cb502c63",
+ "model": "Lisa",
+ "name": "Zone Thermostat Badkamer",
+ "vendor": "Plugwise",
+ "preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
+ "active_preset": "away",
+ "presets": {
+ "home": [20.0, 22.0],
+ "asleep": [17.0, 24.0],
+ "away": [15.0, 25.0],
+ "vacation": [15.0, 28.0],
+ "no_frost": [10.0, 30.0],
+ },
+ "available_schedules": [
+ "CV Roan",
+ "Bios Schema met Film Avond",
+ "GF7 Woonkamer",
+ "Badkamer Schema",
+ "CV Jessie",
+ ],
+ "selected_schedule": "Badkamer Schema",
+ "schedule_temperature": 20.0,
+ "last_used": "Badkamer Schema",
+ "mode": "auto",
+ "sensors": {"temperature": 18.9, "setpoint": 14.0, "battery": 92},
},
- # Modem
"675416a629f343c495449970e2ca37b5": {
- "sensors": {"electricity_consumed": 12.2},
- "switches": {"relay": True},
+ "class": "router",
+ "fw": "2019-06-21T02:00:00+02:00",
+ "location": "cd143c07248f491493cea0533bc3d669",
+ "model": "Plug",
+ "name": "Ziggo Modem",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 12.2,
+ "electricity_consumed_interval": 2.97,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": True},
+ },
+ "e7693eb9582644e5b865dba8d4447cf1": {
+ "class": "thermostatic_radiator_valve",
+ "fw": "2019-03-27T01:00:00+01:00",
+ "location": "446ac08dd04d4eff8ac57489757b7314",
+ "model": "Tom/Floor",
+ "name": "CV Kraan Garage",
+ "vendor": "Plugwise",
+ "preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
+ "active_preset": "no_frost",
+ "presets": {
+ "home": [20.0, 22.0],
+ "asleep": [17.0, 24.0],
+ "away": [15.0, 25.0],
+ "vacation": [15.0, 28.0],
+ "no_frost": [10.0, 30.0],
+ },
+ "available_schedules": [
+ "CV Roan",
+ "Bios Schema met Film Avond",
+ "GF7 Woonkamer",
+ "Badkamer Schema",
+ "CV Jessie",
+ ],
+ "selected_schedule": "None",
+ "schedule_temperature": 15.0,
+ "last_used": "Badkamer Schema",
+ "mode": "heat",
+ "sensors": {
+ "temperature": 15.6,
+ "setpoint": 5.5,
+ "battery": 68,
+ "temperature_difference": 0.0,
+ "valve_position": 0.0,
+ },
},
}
@@ -1357,7 +1978,7 @@ async def test_connect_adam_multiple_devices_per_zone(self):
await self.device_test(smile, testdata)
_LOGGER.info(" # Assert master thermostat")
assert not smile._sm_thermostat
- assert not self.active_device_present
+ assert self.active_device_present
assert "af82e4ccf9c548528166d38e560662a4" in self.notifications
@@ -1415,17 +2036,30 @@ async def test_adam_plus_jip(self):
@pytest.mark.asyncio
async def test_connect_p1v3(self):
"""Test a P1 firmware 3 with only electricity setup."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
# Gateway / P1 itself
"ba4de7613517478da82dd9b6abea36af": {
+ "class": "gateway",
+ "fw": "3.3.6",
+ "location": "a455b61e52394b2db5081ce025a430f3",
+ "model": "P1",
+ "name": "P1",
+ "vendor": "Plugwise B.V.",
"sensors": {
- "electricity_consumed_peak_point": 636.0,
- "electricity_produced_peak_cumulative": 0.0,
+ "net_electricity_point": 636,
+ "electricity_consumed_peak_point": 636,
+ "electricity_consumed_off_peak_point": 0,
+ "net_electricity_cumulative": 17965.326,
+ "electricity_consumed_peak_cumulative": 7702.167,
"electricity_consumed_off_peak_cumulative": 10263.159,
"electricity_consumed_peak_interval": 179,
- "net_electricity_cumulative": 17965.326,
- }
+ "electricity_produced_point": 0,
+ "electricity_produced_off_peak_point": 0,
+ "electricity_produced_peak_cumulative": 0.0,
+ "electricity_produced_off_peak_cumulative": 0.0,
+ "electricity_produced_peak_interval": 0,
+ "electricity_produced_off_peak_interval": 0,
+ },
}
}
@@ -1451,7 +2085,6 @@ async def test_connect_p1v3(self):
@pytest.mark.asyncio
async def test_connect_p1v3solarfake(self):
"""Test a P1 firmware 3 with manually added solar setup."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
# Gateway / P1 itself
"ba4de7613517478da82dd9b6abea36af": {
@@ -1487,18 +2120,33 @@ async def test_connect_p1v3solarfake(self):
@pytest.mark.asyncio
async def test_connect_p1v3_full_option(self):
"""Test a P1 firmware 3 full option (gas and solar) setup."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
# Gateway / P1 itself
"e950c7d5e1ee407a858e2a8b5016c8b3": {
+ "class": "gateway",
+ "fw": "3.3.9",
+ "location": "cd3e822288064775a7c4afcdd70bdda2",
+ "model": "P1",
+ "name": "P1",
+ "vendor": "Plugwise B.V.",
"sensors": {
- "electricity_consumed_peak_point": 0.0,
- "electricity_produced_peak_cumulative": 396.559,
+ "net_electricity_point": -2816,
+ "electricity_consumed_peak_point": 0,
+ "electricity_consumed_off_peak_point": 0,
+ "net_electricity_cumulative": 442.972,
+ "electricity_consumed_peak_cumulative": 442.932,
"electricity_consumed_off_peak_cumulative": 551.09,
+ "electricity_consumed_peak_interval": 0,
+ "electricity_consumed_off_peak_interval": 0,
"electricity_produced_peak_point": 2816,
- "net_electricity_point": -2816,
+ "electricity_produced_off_peak_point": 0,
+ "electricity_produced_peak_cumulative": 396.559,
+ "electricity_produced_off_peak_cumulative": 154.491,
+ "electricity_produced_peak_interval": 0,
+ "electricity_produced_off_peak_interval": 0,
"gas_consumed_cumulative": 584.85,
- }
+ "gas_consumed_interval": 0.0,
+ },
}
}
@@ -1525,13 +2173,11 @@ async def test_connect_p1v3_full_option(self):
@pytest.mark.asyncio
async def test_connect_anna_heatpump(self):
"""Test a Anna with Elga setup in idle mode."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
# Anna
"3cb70739631c4d17a86b8b12e8a5161b": {
- "selected_schedule": "standaard",
+ "selected_schedule": "None",
"active_preset": "home",
- "cooling_active": False,
"sensors": {
"illuminance": 86.0,
"cooling_activation_outdoor_temperature": 21.0,
@@ -1540,11 +2186,12 @@ async def test_connect_anna_heatpump(self):
},
# Heater central
"1cbf783bb11e4a7c8a6843dee3a86927": {
+ "cooling_active": False,
"cooling_state": False,
"heating_state": True,
"binary_sensors": {"dhw_state": False},
"sensors": {
- "outdoor_temperature": 18.0,
+ "outdoor_temperature": 3.0,
"water_temperature": 29.1,
"water_pressure": 1.57,
},
@@ -1567,6 +2214,7 @@ async def test_connect_anna_heatpump(self):
_LOGGER.info(" # Assert no legacy")
assert not smile._smile_legacy # pylint: disable=protected-access
+ # Preset cooling_active to True, will turn to False due to the lowered outdoor temp
await self.device_test(smile, testdata, True)
_LOGGER.info(" # Assert master thermostat")
assert smile._sm_thermostat
@@ -1580,13 +2228,11 @@ async def test_connect_anna_heatpump(self):
@pytest.mark.asyncio
async def test_connect_anna_heatpump_cooling(self):
"""Test a Anna with Elga setup in cooling mode."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
# Anna
"3cb70739631c4d17a86b8b12e8a5161b": {
- "selected_schedule": None,
+ "selected_schedule": "None",
"active_preset": "home",
- "cooling_active": True,
"sensors": {
"illuminance": 25.5,
"cooling_activation_outdoor_temperature": 21.0,
@@ -1595,10 +2241,15 @@ async def test_connect_anna_heatpump_cooling(self):
},
# Heater central
"1cbf783bb11e4a7c8a6843dee3a86927": {
+ "cooling_active": True,
"cooling_state": True,
"heating_state": False,
"binary_sensors": {"dhw_state": False},
- "sensors": {"water_temperature": 24.7, "water_pressure": 1.61},
+ "sensors": {
+ "outdoor_temperature": 22.0,
+ "water_temperature": 24.7,
+ "water_pressure": 1.61,
+ },
},
# Gateway
"015ae9ea3f964e668e490fa39da3870b": {
@@ -1650,7 +2301,7 @@ async def test_connect_adam_plus_anna_copy_with_error_domain_added(self):
_LOGGER.info(" # Assert legacy")
assert not smile._smile_legacy # pylint: disable=protected-access
- await self.device_test(smile, testdata)
+ await self.device_test(smile, testdata, True)
_LOGGER.info(" # Assert master thermostat")
assert smile._sm_thermostat
@@ -1662,16 +2313,171 @@ async def test_connect_adam_plus_anna_copy_with_error_domain_added(self):
@pytest.mark.asyncio
async def test_connect_stretch_v31(self):
"""Test erroneous domain_objects file from user."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
- # Koelkast
+ "0000aaaa0000aaaa0000aaaa0000aa00": {
+ "class": "gateway",
+ "fw": "3.1.11",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Stretch",
+ "name": "Stretch",
+ "vendor": "Plugwise B.V.",
+ },
+ "5ca521ac179d468e91d772eeeb8a2117": {
+ "class": "zz_misc",
+ "fw": None,
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": None,
+ "name": "Oven (793F84)",
+ "vendor": None,
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "5871317346d045bc9f6b987ef25ee638": {
+ "class": "water_heater_vessel",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Boiler (1EB31)",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 1.19,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
"e1c884e7dede431dadee09506ec4f859": {
- "sensors": {"electricity_consumed": 50.5},
- "switches": {"relay": True},
+ "class": "refrigerator",
+ "fw": "2011-06-27T10:47:37+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle+ type F",
+ "name": "Koelkast (92C4A)",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 50.5,
+ "electricity_consumed_interval": 0.08,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
},
- # Vaatwasser
"aac7b735042c4832ac9ff33aae4f453b": {
- "sensors": {"electricity_consumed_interval": 0.71}
+ "class": "dishwasher",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Vaatwasser (2a1ab)",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.71,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "cfe95cf3de1948c0b8955125bf754614": {
+ "class": "dryer",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Droger (52559)",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "99f89d097be34fca88d8598c6dbc18ea": {
+ "class": "router",
+ "fw": None,
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": None,
+ "name": "Meterkast (787BFB)",
+ "vendor": None,
+ "sensors": {
+ "electricity_consumed": 27.6,
+ "electricity_consumed_interval": 28.2,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": True},
+ },
+ "059e4d03c7a34d278add5c7a4a781d19": {
+ "class": "washingmachine",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Wasmachine (52AC1)",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "e309b52ea5684cf1a22f30cf0cd15051": {
+ "class": "computer_desktop",
+ "fw": None,
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": None,
+ "name": "Computer (788618)",
+ "vendor": None,
+ "sensors": {
+ "electricity_consumed": 156,
+ "electricity_consumed_interval": 163,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": True},
+ },
+ "71e1944f2a944b26ad73323e399efef0": {
+ "class": "switching",
+ "fw": None,
+ "location": None,
+ "model": "Switchgroup",
+ "name": "Test",
+ "members": ["5ca521ac179d468e91d772eeeb8a2117"],
+ "types": {"switch_group"},
+ "vendor": None,
+ "switches": {"relay": True},
+ },
+ "d950b314e9d8499f968e6db8d82ef78c": {
+ "class": "report",
+ "fw": None,
+ "location": None,
+ "model": "Switchgroup",
+ "name": "Stroomvreters",
+ "members": [
+ "059e4d03c7a34d278add5c7a4a781d19",
+ "5871317346d045bc9f6b987ef25ee638",
+ "aac7b735042c4832ac9ff33aae4f453b",
+ "cfe95cf3de1948c0b8955125bf754614",
+ "e1c884e7dede431dadee09506ec4f859",
+ ],
+ "types": {"switch_group"},
+ "vendor": None,
+ "switches": {"relay": True},
+ },
+ "d03738edfcc947f7b8f4573571d90d2d": {
+ "class": "switching",
+ "fw": None,
+ "location": None,
+ "model": "Switchgroup",
+ "name": "Schakel",
+ "members": [
+ "059e4d03c7a34d278add5c7a4a781d19",
+ "cfe95cf3de1948c0b8955125bf754614",
+ ],
+ "types": {"switch_group"},
+ "vendor": None,
+ "switches": {"relay": True},
},
}
@@ -1691,24 +2497,263 @@ async def test_connect_stretch_v31(self):
_LOGGER.info(" # Assert no master thermostat")
assert smile._sm_thermostat is None # it's not a thermostat :)
- # smile.get_all_devices()
-
await smile.close_connection()
await self.disconnect(server, client)
@pytest.mark.asyncio
async def test_connect_stretch_v23(self):
"""Test erroneous domain_objects file from user."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
- # Tv hoek 25F6790
- "c71f1cb2100b42ca942f056dcb7eb01f": {
- "sensors": {"electricity_consumed": 33.3},
- "switches": {"lock": False, "relay": True},
+ "0000aaaa0000aaaa0000aaaa0000aa00": {
+ "class": "gateway",
+ "fw": "2.3.12",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Stretch",
+ "name": "Stretch",
+ "vendor": "Plugwise B.V.",
+ },
+ "09c8ce93d7064fa6a233c0e4c2449bfe": {
+ "class": "lamp",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "kerstboom buiten 043B016",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": False, "lock": False},
+ },
+ "33a1c784a9ff4c2d8766a0212714be09": {
+ "class": "lighting",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Barverlichting",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": False, "lock": False},
+ },
+ "199fd4b2caa44197aaf5b3128f6464ed": {
+ "class": "airconditioner",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Airco 25F69E3",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 2.06,
+ "electricity_consumed_interval": 1.62,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "713427748874454ca1eb4488d7919cf2": {
+ "class": "freezer",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Leeg 043220D",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": False, "lock": False},
},
- # Wasdroger 043AECA
"fd1b74f59e234a9dae4e23b2b5cf07ed": {
- "sensors": {"electricity_consumed_interval": 0.21}
+ "class": "dryer",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Wasdroger 043AECA",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 1.31,
+ "electricity_consumed_interval": 0.21,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": True, "lock": True},
+ },
+ "c71f1cb2100b42ca942f056dcb7eb01f": {
+ "class": "tv",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Tv hoek 25F6790",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 33.3,
+ "electricity_consumed_interval": 4.93,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "2cc9a0fe70ef4441a9e4f55dfd64b776": {
+ "class": "lamp",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Lamp TV 025F698F",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 4.0,
+ "electricity_consumed_interval": 0.58,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "6518f3f72a82486c97b91e26f2e9bd1d": {
+ "class": "charger",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Bed 025F6768",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "828f6ce1e36744689baacdd6ddb1d12c": {
+ "class": "washingmachine",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Wasmachine 043AEC7",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 3.5,
+ "electricity_consumed_interval": 0.5,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": True, "lock": True},
+ },
+ "71e3e65ffc5a41518b19460c6e8ee34f": {
+ "class": "tv",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Leeg 043AEC6",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": False, "lock": False},
+ },
+ "305452ce97c243c0a7b4ab2a4ebfe6e3": {
+ "class": "lamp",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Lamp piano 025F6819",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": False, "lock": False},
+ },
+ "bc0adbebc50d428d9444a5d805c89da9": {
+ "class": "watercooker",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Waterkoker 043AF7F",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "407aa1c1099d463c9137a3a9eda787fd": {
+ "class": "zz_misc",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "0043B013",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": False, "lock": False},
+ },
+ "2587a7fcdd7e482dab03fda256076b4b": {
+ "class": "zz_misc",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "00469CA1",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 0.0,
+ "electricity_consumed_interval": 0.0,
+ "electricity_produced": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "a28e6f5afc0e4fc68498c1f03e82a052": {
+ "class": "lamp",
+ "fw": "2011-06-27T10:52:18+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle type F",
+ "name": "Lamp bank 25F67F8",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 4.19,
+ "electricity_consumed_interval": 0.62,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": False},
+ },
+ "24b2ed37c8964c73897db6340a39c129": {
+ "class": "router",
+ "fw": "2011-06-27T10:47:37+02:00",
+ "location": "0000aaaa0000aaaa0000aaaa0000aa00",
+ "model": "Circle+ type F",
+ "name": "MK Netwerk 1A4455E",
+ "vendor": "Plugwise",
+ "sensors": {
+ "electricity_consumed": 4.63,
+ "electricity_consumed_interval": 0.65,
+ "electricity_produced": 0.0,
+ "electricity_produced_interval": 0.0,
+ },
+ "switches": {"relay": True, "lock": True},
+ },
+ "f7b145c8492f4dd7a4de760456fdef3e": {
+ "class": "switching",
+ "fw": None,
+ "location": None,
+ "model": "Switchgroup",
+ "name": "Test",
+ "members": ["407aa1c1099d463c9137a3a9eda787fd"],
+ "types": {"switch_group"},
+ "vendor": None,
+ "switches": {"relay": False},
},
}
@@ -1747,14 +2792,31 @@ async def test_connect_stretch_v23(self):
@pytest.mark.asyncio
async def test_connect_p1v4(self):
"""Test a P1 firmware 4 setup."""
- # testdata dictionary with key ctrl_id_dev_id => keys:values
testdata = {
# Gateway / P1 itself
"ba4de7613517478da82dd9b6abea36af": {
+ "class": "gateway",
+ "fw": "4.1.1",
+ "location": "a455b61e52394b2db5081ce025a430f3",
+ "model": "P1",
+ "name": "P1",
+ "vendor": "Plugwise B.V.",
"sensors": {
+ "net_electricity_point": 548,
"electricity_consumed_peak_point": 548,
+ "electricity_consumed_off_peak_point": 0,
+ "net_electricity_cumulative": 20983.453,
+ "electricity_consumed_peak_cumulative": 9067.554,
+ "electricity_consumed_off_peak_cumulative": 11915.899,
+ "electricity_consumed_peak_interval": 335,
+ "electricity_consumed_off_peak_interval": 0,
+ "electricity_produced_peak_point": 0,
+ "electricity_produced_off_peak_point": 0,
"electricity_produced_peak_cumulative": 0.0,
- }
+ "electricity_produced_off_peak_cumulative": 0.0,
+ "electricity_produced_peak_interval": 0,
+ "electricity_produced_off_peak_interval": 0,
+ },
}
}
diff --git a/userdata/adam_plus_anna_new/core.appliances.xml b/userdata/adam_plus_anna_new/core.appliances.xml
index dfec49850..bc732f0f0 100644
--- a/userdata/adam_plus_anna_new/core.appliances.xml
+++ b/userdata/adam_plus_anna_new/core.appliances.xml
@@ -1,883 +1,882 @@
-
- Plug BouwePC
- A smart plug that can be switched on/off and measure power usage.
- computer_desktop
- 2020-02-29T22:56:59.235+01:00
- 2020-11-10T15:49:54.791+01:00
+
+ Anna
+ A Thermostat
+ thermostat
+ 2021-12-16T19:30:53.779+01:00
+ 2022-01-11T08:04:41.345+01:00
-
+
-
+
-
- electricity_produced
- Wh
- 2020-11-10T15:45:00+01:00
- 2020-11-10T15:30:00+01:00
- PT15M
-
-
- 0.00
-
-
-
- electricity_consumed
- W
- 2020-11-10T15:45:08.121+01:00
- 2020-11-10T15:45:08.121+01:00
-
-
-
- 5.69
-
-
-
- electricity_consumed
- Wh
- 2020-11-10T15:45:00+01:00
- 2020-11-10T15:30:00+01:00
- PT15M
-
-
- 0.67
-
-
-
- electricity_produced
- W
- 2020-11-10T15:45:08.122+01:00
- 2020-03-02T17:21:50.489+01:00
+
+ thermostat
+ C
+ 2022-01-11T08:04:37.540+01:00
+ 2022-01-11T07:30:01.205+01:00
-
-
- 0.00
+
+
+ 18.50
-
- relay
+
+ intended_domestic_hot_water_comfort_mode
- 2020-11-10T15:49:54.788+01:00
- 2020-09-15T08:34:26.667+02:00
+ 2022-01-11T08:02:32.114+01:00
+ 2021-12-18T11:58:29.735+01:00
-
-
- on
+
+
+ off
-
-
-
- 2020-11-10T15:49:54.788+01:00
- true
- on
-
-
-
-
-
- Anna
- A Thermostat
- thermostat
- 2020-02-22T15:33:28.511+01:00
- 2020-11-10T16:00:10.094+01:00
-
-
-
-
-
-
-
- intended_domestic_hot_water_comfort_mode
+
+ intended_central_heating_state
- 2020-11-10T15:59:13.676+01:00
- 2020-02-22T15:33:32.056+01:00
+ 2022-01-11T08:02:32.114+01:00
+ 2022-01-11T07:31:09.731+01:00
-
-
- off
+
+
+ on
-
+
temperature
C
- 2020-11-10T16:00:10.081+01:00
- 2020-11-10T16:00:10.081+01:00
+ 2022-01-11T08:04:41.331+01:00
+ 2022-01-11T08:04:41.331+01:00
PT3H
-
-
- 20.36
+
+
+ 18.13
-
- intended_central_heating_state
+
+ maximum_modulation_level
- 2020-11-10T15:59:13.676+01:00
- 2020-11-10T09:08:00.325+01:00
+ 2021-12-18T10:33:33.788+01:00
+ 2021-12-18T10:33:32.832+01:00
-
-
- off
-
-
-
- thermostat
- C
- 2020-11-10T16:00:06.030+01:00
- 2020-11-10T07:30:00.317+01:00
-
-
-
- 20.00
+
+
+ 1.00
-
- 2020-11-10T16:00:06.030+01:00
+
+ 2022-01-11T08:04:37.540+01:00
thermostat
- 20
+ 18.5
1
35
0.01
-
-
+
+
-
- Gateway D40FB2019891
- Container for variables logged about the Gateway in general.
- gateway
- 2019-08-15T16:18:34.886+02:00
- 2020-11-10T15:57:15.192+01:00
+
+ OpenThermGateway
+ An OpenTherm Gateway
+ open_therm_gateway
+ 2021-12-16T19:30:28.533+01:00
+ 2021-12-16T19:30:37.717+01:00
-
- wlan_state
-
- 2020-11-10T15:57:15.155+01:00
- 2020-10-20T19:33:52.312+02:00
-
-
-
- up
-
-
-
- wlan_ip_address
+
+ override_mode
- 2020-11-10T15:57:15.155+01:00
- 2020-10-20T19:33:52+02:00
+ 2021-12-28T05:55:26.528+01:00
+ 2021-12-16T19:30:28.747+01:00
-
-
- 127.0.0.1
+
+
+ on
-
- regulation_mode
+
+ open_therm_power_mode
- 2020-10-12T11:54:39.032+02:00
- 2020-02-22T15:17:34.756+01:00
+ 2021-12-28T05:55:27.106+01:00
+ 2021-12-16T19:30:37.709+01:00
-
-
- heating
+
+
+ 0
-
- link_quality
-
- 2020-11-10T15:57:15.154+01:00
- 2020-11-10T15:57:15.154+01:00
-
-
-
- 39
+
+
+
+
+ Plug Mediacenter
+ A smart plug that can be switched on/off and measure power usage.
+ hometheater
+ 2021-12-16T19:30:42.936+01:00
+ 2022-01-11T08:03:16.608+01:00
+
+
+
+
+
+
+
+ electricity_produced
+ Wh
+ 2022-01-11T07:45:00+01:00
+ 2022-01-11T07:30:00+01:00
+ PT15M
+
+
+ 0.00
-
-
- signal_strength
- dBm
- 2020-11-10T15:57:15.154+01:00
- 2020-11-10T15:57:15.154+01:00
+
+
+ electricity_produced
+ W
+ 2022-01-11T08:02:14.520+01:00
+ 2021-12-18T10:32:48.917+01:00
-
-
- -71.00
+
+
+ 0.00
-
- lan_state
+
+ relay
- 2020-11-10T15:53:59.518+01:00
- 2019-08-15T16:18:35.318+02:00
+ 2022-01-11T08:03:16.606+01:00
+ 2022-01-09T16:55:15.512+01:00
-
-
- down
+
+
+ on
-
- lan_ip_address
-
- 2020-11-10T15:53:59.518+01:00
- 2020-10-13T04:29:35+02:00
+
+ electricity_consumed
+ Wh
+ 2022-01-11T07:45:00+01:00
+ 2022-01-11T07:30:00+01:00
+ PT15M
+
+
+ 3.00
+
+
+
+ electricity_consumed
+ W
+ 2022-01-11T08:02:14.520+01:00
+ 2022-01-11T04:08:56.142+01:00
-
-
- 127.0.0.1
+
+
+ 12.19
-
-
- 2020-10-12T11:54:39.032+02:00
- regulation_mode
- heating
-
- heating
- off
- bleeding_cold
- bleeding_hot
-
-
+
+ 2022-01-11T08:03:16.606+01:00
+ false
+ on
+
+
-
- Plug MediaCenter
+
+ Plug Werkplek
A smart plug that can be switched on/off and measure power usage.
- hometheater
- 2020-02-28T17:37:35.489+01:00
- 2020-11-10T15:56:35.929+01:00
+ computer_desktop
+ 2021-12-16T19:30:45.677+01:00
+ 2022-01-11T08:04:49.718+01:00
-
+
-
+
-
+
electricity_consumed
W
- 2020-11-10T15:46:07.921+01:00
- 2020-11-10T10:40:49.729+01:00
+ 2022-01-11T08:04:49.716+01:00
+ 2022-01-11T08:04:49.716+01:00
-
-
- 9.69
+
+
+ 98.00
-
+
electricity_produced
W
- 2020-11-10T15:46:07.921+01:00
- 2020-02-28T17:37:38.617+01:00
+ 2022-01-11T08:04:49.717+01:00
+ 2021-12-18T10:33:01.826+01:00
-
-
- 0.00
+
+
+ 0.00
-
+
+ electricity_consumed
+ Wh
+ 2022-01-11T08:00:00+01:00
+ 2022-01-11T07:45:00+01:00
+ PT15M
+
+
+ 24.00
+
+
+
relay
- 2020-11-10T15:56:35.926+01:00
- 2020-10-29T14:24:23.735+01:00
+ 2022-01-11T08:02:24.183+01:00
+ 2021-12-16T19:30:48.124+01:00
-
-
- on
+
+
+ on
-
+
+ electricity_produced
+ Wh
+ 2022-01-11T08:00:00+01:00
+ 2022-01-11T07:45:00+01:00
+ PT15M
+
+
+ 0.00
+
+
+
+
+
+ 2022-01-11T08:02:24.183+01:00
+ true
+ on
+
+
+
+
+
+ Plug Vloerverwarming
+ A smart plug that can be switched on/off and measure power usage.
+ central_heating_pump
+ 2021-12-16T19:30:44.323+01:00
+ 2022-01-11T08:04:54.184+01:00
+
+
+
+
+
+
+
electricity_consumed
Wh
- 2020-11-10T15:45:00+01:00
- 2020-11-10T15:30:00+01:00
+ 2022-01-11T08:00:00+01:00
+ 2022-01-11T07:45:00+01:00
PT15M
-
-
- 1.37
+
+
+ 0.00
-
+
+ electricity_produced
+ W
+ 2022-01-11T07:59:27.387+01:00
+ 2021-12-18T10:45:21.429+01:00
+
+
+
+ 0.00
+
+
+
+ electricity_consumed
+ W
+ 2022-01-11T07:59:27.386+01:00
+ 2022-01-11T07:59:27.386+01:00
+
+
+
+ 46.81
+
+
+
+ relay
+
+ 2022-01-11T08:04:29.116+01:00
+ 2022-01-11T07:30:02.865+01:00
+
+
+
+ on
+
+
+
electricity_produced
Wh
- 2020-11-10T15:45:00+01:00
- 2020-11-10T15:30:00+01:00
+ 2022-01-11T08:00:00+01:00
+ 2022-01-11T07:45:00+01:00
PT15M
-
-
- 0.00
+
+
+ 0.00
-
- 2020-11-10T15:56:35.926+01:00
+
+ 2022-01-11T08:04:29.116+01:00
false
on
-
+
-
- Lisa Badkamer
- A zone thermostat regulates the temperature in a heating zone (generally a room).
- zone_thermostat
- 2020-04-04T15:00:01.754+02:00
- 2020-11-10T15:54:59.944+01:00
+
+ Tom Badkamer
+ A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.
+ thermostatic_radiator_valve
+ 2021-12-16T19:32:25.043+01:00
+ 2022-01-11T08:04:42.415+01:00
-
+
-
+
+ thermostat
+ C
+ 2022-01-11T08:04:34.409+01:00
+ 2022-01-11T08:04:34.409+01:00
+
+
+
+ 15.00
+
+
+
+ temperature_difference
+ C
+ 2022-01-11T07:58:02.900+01:00
+ 2022-01-11T07:58:02.900+01:00
+
+
+
+ 2.30
+
+
+
+ temperature
+ C
+ 2022-01-11T08:03:12.437+01:00
+ 2022-01-11T08:03:12.437+01:00
+ PT3H
+
+
+ 21.58
+
+
+
battery
- 2020-11-10T10:29:23.500+01:00
- 2020-11-09T10:36:46.605+01:00
+ 2022-01-11T06:00:34.991+01:00
+ 2021-12-17T19:02:18.751+01:00
-
-
- 0.83
+
+
+ 0.99
-
- thermostat
+
+ temperature_offset
C
- 2020-11-10T08:45:03.344+01:00
- 2020-11-10T08:45:03.321+01:00
+ 2021-12-31T12:55:52.153+01:00
+ 2021-12-16T19:34:25.529+01:00
-
-
- 18.00
+
+
+ 0.10
-
- temperature_offset
+
+ valve_position
+
+ 2022-01-11T08:04:42.410+01:00
+ 2022-01-11T08:04:42.410+01:00
+
+
+
+ 0.00
+
+
+
+ uncorrected_temperature
C
- 2020-10-15T20:06:07.471+02:00
- 2020-04-04T15:00:24.605+02:00
+ 2022-01-11T08:03:12.437+01:00
+ 2022-01-11T08:03:12.437+01:00
-
-
- 0.00
+
+
+ 21.58
-
+
+
+
+
+ 2021-12-31T12:55:52.153+01:00
+ temperature_offset
+ 0.1
+
+
+ 2022-01-11T08:04:34.410+01:00
+ thermostat
+ 15
+ 7
+ 30
+ 0.01
+
+
+
+
+
+
+ Lisa Badkamer
+ A zone thermostat regulates the temperature in a heating zone (generally a room).
+ zone_thermostat
+ 2021-12-16T19:31:01.653+01:00
+ 2022-01-11T08:04:16.388+01:00
+
+
+
+
+
temperature
C
- 2020-11-10T15:54:59.940+01:00
- 2020-11-10T15:54:59.940+01:00
+ 2022-01-11T08:03:43.563+01:00
+ 2022-01-11T08:03:43.563+01:00
PT3H
-
-
- 18.90
+
+
+ 17.90
+
+
+
+ temperature_offset
+ C
+ 2021-12-28T07:04:31.983+01:00
+ 2021-12-16T19:31:13.521+01:00
+
+
+
+ 0.00
+
+
+
+ battery
+
+ 2022-01-10T23:12:31.439+01:00
+ 2022-01-09T11:33:13.859+01:00
+
+
+
+ 0.56
+
+
+
+ thermostat
+ C
+ 2022-01-11T08:04:16.384+01:00
+ 2022-01-11T08:04:16.281+01:00
+
+
+
+ 15.00
-
- 2020-11-10T08:45:03.344+01:00
+
+ 2022-01-11T08:04:16.384+01:00
thermostat
- 18
+ 15
0
99.9
0.01
-
-
+
+
-
-
- 2020-10-15T20:06:07.471+02:00
+
+
+ 2021-12-28T07:04:31.983+01:00
temperature_offset
0
-
- Central heating boiler
-
- heater_central
- 2020-02-22T15:18:04.473+01:00
- 2020-11-10T15:58:59.577+01:00
+
+ Gateway
+ Container for variables logged about the Gateway in general.
+ gateway
+ 2021-12-16T19:30:16.149+01:00
+ 2022-01-11T08:01:02.731+01:00
-
- burner_operation_time
- hr
- 2020-11-10T08:53:25+01:00
- 2020-11-10T08:53:25+01:00
+
+ signal_strength
+ dBm
+ 2022-01-11T08:01:02.688+01:00
+ 2022-01-11T08:01:02.688+01:00
-
-
- 8266
+
+
+ -64.00
-
-
- burner_starts
+
+
+ link_quality
- 2020-11-10T09:05:37+01:00
- 2020-11-10T09:05:37+01:00
+ 2022-01-11T08:01:02.688+01:00
+ 2022-01-11T08:01:02.688+01:00
-
-
- 20462
-
-
-
- intended_boiler_temperature
- C
- 2020-11-10T15:52:45.797+01:00
- 2020-11-10T15:18:20.341+01:00
-
-
-
- 0.00
+
+
+ 46
-
- cooling_state
+
+ lan_state
- 2020-11-01T17:32:43.533+01:00
- 2020-08-05T09:07:38.479+02:00
+ 2022-01-11T08:00:15.817+01:00
+ 2021-12-16T19:30:29.391+01:00
-
-
- off
+
+
+ down
-
- domestic_hot_water_state
+
+ wlan_state
- 2020-11-10T08:37:03.863+01:00
- 2020-11-10T08:37:03.863+01:00
+ 2022-01-11T08:01:02.689+01:00
+ 2021-12-28T07:23:44.521+01:00
-
-
- on
+
+
+ up
-
- intended_central_heating_state
+
+ regulation_mode
- 2020-11-10T09:05:18.782+01:00
- 2020-11-10T09:05:18.782+01:00
+ 2021-12-16T19:30:16.802+01:00
+
-
-
- off
+
+
+ heating
-
- central_heating_state
+
+ lan_ip_address
- 2020-11-10T09:06:24.587+01:00
- 2020-11-10T09:06:24.587+01:00
+ 2022-01-11T08:00:15.817+01:00
+ 2021-12-16T19:30:29+01:00
-
-
- off
+
+
+ 0.0.0.0
-
- domestic_hot_water_setpoint
- C
+
+ gateway_mode
+
-
+
-
- flame_state
+
+ wlan_ip_address
- 2020-11-10T09:05:30.390+01:00
- 2020-11-10T09:05:30.390+01:00
+ 2022-01-11T08:01:02.689+01:00
+ 2021-12-28T07:23:44+01:00
-
-
- off
+
+
+ 127.0.0.1
-
- failed_burner_flame_ignitions
-
- 2020-03-02T15:37:21+01:00
- 2020-03-02T15:37:21+01:00
-
-
-
- 30
-
-
-
+
+
+
+
+ 2021-12-16T19:30:16.802+01:00
+ regulation_mode
+ heating
+
+ heating
+ off
+ bleeding_cold
+ bleeding_hot
+
+
+
+
+
+ gateway_mode
+ full
+
+ setup
+ light
+ away
+ vacation
+
+ full
+ secure
+
+
+
+
+
+ Central heating boiler
+
+ heater_central
+ 2021-12-16T19:30:21.331+01:00
+ 2022-01-11T08:04:53.955+01:00
+
+
+
+
central_heater_water_pressure
bar
- 2020-03-02T09:35:08.757+01:00
- 2020-02-22T15:33:15.909+01:00
+ 2021-12-18T01:06:46.593+01:00
+ 2021-12-16T19:30:25.237+01:00
-
-
- 6.00
+
+
+ 6.00
-
- open_therm_application_specific_fault_code
-
- 2020-11-10T11:33:39.087+01:00
- 2020-02-22T15:33:14.759+01:00
+
+ domestic_hot_water_burner_operation_time
+ hr
+ 2021-12-27T08:32:12+01:00
+ 2021-12-27T08:32:12+01:00
-
-
- 0
-
-
-
- burner_operation_time
- s
- 2020-11-10T15:00:00+01:00
- 2020-11-10T14:00:00+01:00
- PT1H
-
-
- 0
+
+
+ 860
-
-
- open_therm_oem_fault_code
-
- 2020-11-10T11:33:39.087+01:00
- 2020-02-22T15:33:28.343+01:00
+
+
+ maximum_boiler_temperature
+ C
+ 2021-12-28T05:55:18.023+01:00
+ 2021-12-28T05:55:18.023+01:00
-
-
- 255
+
+
+ 60.00
-
- domestic_hot_water_comfort_mode
+
+ cooling_state
- 2020-11-01T17:32:43.539+01:00
- 2020-02-22T15:41:01.237+01:00
+ 2021-12-28T05:55:19.664+01:00
+ 2021-12-26T01:13:18.218+01:00
-
-
- off
+
+
+ off
-
- boiler_temperature
- C
- 2020-11-10T15:30:27.492+01:00
- 2020-11-10T15:30:27.491+01:00
- PT1H
-
-
- 27.00
-
-
-
- failed_burner_starts
+
+ central_heating_state
- 2020-03-02T15:41:08+01:00
- 2020-03-02T15:41:08+01:00
+ 2022-01-11T07:49:39.402+01:00
+ 2022-01-11T07:49:39.402+01:00
-
-
- 3
+
+
+ on
-
-
- temperature
- C
-
-
- PT3H
-
-
- maximum_boiler_temperature
- C
- 2020-05-08T06:16:36.339+02:00
- 2020-05-08T06:16:36.338+02:00
+
+ intended_central_heating_state
+
+ 2022-01-11T06:22:39.373+01:00
+ 2022-01-11T06:22:39.373+01:00
-
-
- 70.00
+
+
+ on
-
- domestic_hot_water_burner_operation_time
- hr
- 2020-11-01T12:35:58+01:00
- 2020-11-01T12:35:58+01:00
+
+ failed_burner_flame_ignitions
+
+ 2021-12-17T19:07:38+01:00
+ 2021-12-17T19:07:38+01:00
-
-
- 820
+
+
+ 30
-
-
-
- 2020-10-13T04:29:59.202+02:00
- domestic_hot_water_setpoint
- 60
- 0
- 100
- 1
-
-
-
-
-
- 2020-11-01T17:32:43.539+01:00
- domestic_hot_water_comfort_mode
- off
-
-
- 2020-05-08T06:16:36.339+02:00
- maximum_boiler_temperature
- 70
- 0
- 100
- 1
-
-
-
-
-
- thermostat
- nil
- 0
- 30
- 1
-
-
-
-
-
- OpenThermGateway
- An OpenTherm Gateway
- open_therm_gateway
- 2019-08-15T16:18:41.017+02:00
- 2019-08-15T16:18:43.373+02:00
-
-
-
-
- override_mode
+
+ burner_starts
- 2020-10-31T13:32:31.618+01:00
- 2019-08-15T16:18:41.403+02:00
+ 2022-01-11T08:02:26+01:00
+ 2022-01-11T08:02:26+01:00
-
-
- on
+
+
+ 35388
-
-
- open_therm_power_mode
+
+
+ domestic_hot_water_state
- 2020-10-16T03:22:55.491+02:00
- 2019-08-15T16:18:43.359+02:00
+ 2022-01-11T07:49:39.411+01:00
+ 2022-01-11T07:49:39.411+01:00
-
-
- 0
+
+
+ off
-
-
-
-
- Tom Badkamer
- A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.
- thermostatic_radiator_valve
- 2020-04-04T14:50:38.695+02:00
- 2020-11-10T15:51:35.235+01:00
-
-
-
-
-
- temperature_offset
+
+ boiler_temperature
C
- 2020-11-04T18:30:50.629+01:00
- 2020-09-26T05:18:03.296+02:00
-
-
-
- 0.10
+ 2022-01-11T08:04:53.939+01:00
+ 2022-01-11T08:04:53.939+01:00
+ PT1H
+
+
+ 37.00
-
- uncorrected_temperature
+
+ intended_boiler_temperature
C
- 2020-11-10T15:49:17.075+01:00
- 2020-11-10T15:34:17.421+01:00
+ 2022-01-11T08:04:14.147+01:00
+ 2022-01-11T08:04:14.146+01:00
-
-
- 19.40
+
+
+ 38.09
-
- battery
+
+ open_therm_oem_fault_code
- 2020-11-10T15:51:35.229+01:00
- 2020-11-10T15:51:35.229+01:00
+ 2022-01-11T01:04:31.102+01:00
+ 2021-12-16T19:30:24.837+01:00
-
-
- 0.83
+
+
+ 255
-
- temperature
- C
- 2020-11-10T15:49:17.074+01:00
- 2020-11-10T15:49:17.074+01:00
- PT12H
-
-
- 19.40
+
+ burner_operation_time
+ s
+ 2022-01-11T08:00:00+01:00
+ 2022-01-11T07:00:00+01:00
+ PT1H
+
+
+ 14
-
-
- temperature_difference
- C
- 2020-11-10T15:37:17.356+01:00
- 2020-11-10T13:07:20.468+01:00
+
+
+ burner_operation_time
+ hr
+ 2022-01-11T07:45:59+01:00
+ 2022-01-11T07:45:59+01:00
-
-
- 0.00
+
+
+ 9588
-
-
- valve_position
+
+
+ domestic_hot_water_comfort_mode
- 2020-11-10T08:45:17.025+01:00
- 2020-11-10T08:45:17.025+01:00
-
-
-
- 0.00
-
-
-
- thermostat
- C
- 2020-11-10T08:45:13.993+01:00
- 2020-11-10T08:45:13.993+01:00
+ 2021-12-28T05:55:19.669+01:00
+ 2021-12-16T19:36:15.420+01:00
-
-
- 18.00
+
+
+ off
-
-
-
- 2020-11-10T08:45:13.994+01:00
- thermostat
- 18
- 4
- 30
- 0.01
-
-
-
-
-
- 2020-11-04T18:30:50.629+01:00
- temperature_offset
- 0.1
-
-
-
-
- Plug Vloerverwarming
- A smart plug that can be switched on/off and measure power usage.
- central_heating_pump
- 2020-04-06T19:13:29.733+02:00
- 2020-11-10T15:57:30.981+01:00
-
-
-
-
-
-
-
- electricity_consumed
- Wh
- 2020-11-10T15:45:00+01:00
- 2020-11-10T15:30:00+01:00
- PT15M
-
-
- 0.00
-
-
-
- electricity_produced
- Wh
- 2020-11-10T15:45:00+01:00
- 2020-11-10T15:30:00+01:00
- PT15M
-
-
- 0.00
-
-
-
- relay
+
+ flame_state
- 2020-11-10T15:57:30.978+01:00
- 2020-11-10T09:05:18.841+01:00
+ 2022-01-11T08:04:15.362+01:00
+ 2022-01-11T08:04:15.362+01:00
-
-
- off
+
+
+ off
-
- electricity_produced
- W
- 2020-11-10T15:52:35.696+01:00
- 2020-04-06T19:13:34.279+02:00
+
+ failed_burner_starts
+
+ 2021-12-17T19:07:02+01:00
+ 2021-12-17T19:07:02+01:00
-
-
- 0.00
+
+
+ 3
-
-
- electricity_consumed
- W
- 2020-11-10T15:52:35.696+01:00
- 2020-11-10T09:05:34.060+01:00
+
+
+ open_therm_application_specific_fault_code
+
+ 2022-01-11T01:04:31.102+01:00
+ 2021-12-18T10:33:33.694+01:00
-
-
- 0.00
+
+
+ 0
-
- 2020-11-10T15:57:30.978+01:00
- false
+
+
+ 2021-12-28T05:55:19.669+01:00
+ domestic_hot_water_comfort_mode
off
-
-
+
+
+ 2021-12-28T05:55:18.024+01:00
+ maximum_boiler_temperature
+ 60
+ 25
+ 95
+ 0.01
+
+
+
diff --git a/userdata/adam_plus_anna_new/core.domain_objects.xml b/userdata/adam_plus_anna_new/core.domain_objects.xml
index eeaa5e313..a3fdc84ff 100644
--- a/userdata/adam_plus_anna_new/core.domain_objects.xml
+++ b/userdata/adam_plus_anna_new/core.domain_objects.xml
@@ -1,1006 +1,1260 @@
-
- Telegesis
- ETRX3USB
-
-
- 2019-08-15T16:18:41.530+02:00
- 2019-08-15T16:18:41.619+02:00
-
-
-
-
- 0123456789AB
- false
-
-
-
-
-
-
- Plugwise B.V.
- 143.1
-
-
- 2020-02-22T15:33:28.039+01:00
- 2020-02-22T15:33:52.388+01:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0.0
-
-
-
-
-
+
Plugwise
106-03
1
- 2020-10-06T02:00:00+02:00
+ 2020-11-04T01:00:00+01:00
- 2020-04-04T14:50:37.650+02:00
- 2020-10-13T04:41:39.757+02:00
+ 2021-12-16T19:32:13.013+01:00
+ 2021-12-16T19:34:42.991+01:00
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
-
+
0123456789AB
end_device
true
battery
+ false
false
+
0
-
-
+
+
+
+ false
-
- Gateway D40FB2019891
- Container for variables logged about the Gateway in general.
- gateway
- 2019-08-15T16:18:34.886+02:00
- 2020-11-10T15:57:15.192+01:00
+
+ Plug Werkplek
+ A smart plug that can be switched on/off and measure power usage.
+ computer_desktop
+ 2021-12-16T19:30:45.677+01:00
+ 2022-01-11T08:05:40.167+01:00
-
+
+
+
+
-
- wlan_state
-
- 2020-11-10T15:57:15.155+01:00
- 2020-10-20T19:33:52.312+02:00
-
-
-
- up
-
-
-
- wlan_ip_address
-
- 2020-11-10T15:57:15.155+01:00
- 2020-10-20T19:33:52+02:00
-
-
-
- 127.0.0.1
-
-
-
- regulation_mode
-
- 2020-10-12T11:54:39.032+02:00
- 2020-02-22T15:17:34.756+01:00
+
+ electricity_consumed
+ W
+ 2022-01-11T08:05:40.164+01:00
+ 2022-01-11T08:05:40.164+01:00
-
-
- heating
+
+
+ 98.19
-
- link_quality
-
- 2020-11-10T15:57:15.154+01:00
- 2020-11-10T15:57:15.154+01:00
+
+ electricity_produced
+ W
+ 2022-01-11T08:05:40.165+01:00
+ 2021-12-18T10:33:01.826+01:00
-
-
- 39
+
+
+ 0.00
-
- signal_strength
- dBm
- 2020-11-10T15:57:15.154+01:00
- 2020-11-10T15:57:15.154+01:00
-
-
-
- -71.00
+
+ electricity_consumed
+ Wh
+ 2022-01-11T08:00:00+01:00
+ 2022-01-11T07:45:00+01:00
+ PT15M
+
+
+ 24.00
-
-
- lan_state
+
+
+ relay
- 2020-11-10T15:53:59.518+01:00
- 2019-08-15T16:18:35.318+02:00
+ 2022-01-11T08:02:24.183+01:00
+ 2021-12-16T19:30:48.124+01:00
-
-
- down
+
+
+ on
-
- lan_ip_address
-
- 2020-11-10T15:53:59.518+01:00
- 2020-10-13T04:29:35+02:00
-
-
-
- 127.0.0.1
+
+ electricity_produced
+ Wh
+ 2022-01-11T08:00:00+01:00
+ 2022-01-11T07:45:00+01:00
+ PT15M
+
+
+ 0.00
-
+
-
-
- 2020-10-12T11:54:39.032+02:00
- regulation_mode
- heating
-
- heating
- off
- bleeding_cold
- bleeding_hot
-
-
+
+ 2022-01-11T08:02:24.183+01:00
+ true
+ on
+
+
-
- Plugwise
- 158-01
- 255
- 2016-10-10T02:00:00+02:00
-
- 2020-04-04T15:00:00.280+02:00
- 2020-04-04T15:01:39.322+02:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0123456789AB
- end_device
- true
- battery
-
-
-
-
-
-
- Client, Pointlog presence template
- Template for setting default client presence based on point_logs
- false
- 2019-08-15T16:18:34.314+02:00
- 2020-11-01T17:32:41.596+01:00
-
-
-
-
-
-
-
-
-
-
-
-
-
- Badkamer
-
- bathroom
- 2020-04-04T14:51:09.023+02:00
- 2020-11-10T15:54:59.958+01:00
+
+ Living room
+ The room containing the (central) home thermostat.
+ livingroom
+ 2021-12-16T19:30:56.643+01:00
+ 2022-01-11T08:05:51.987+01:00
asleep
-
-
+
+
+
+
-
+
temperature
C
- 2020-11-10T15:54:59.940+01:00
- 2020-11-01T17:27:54.632+01:00
+ 2022-01-11T08:05:51.960+01:00
+ 2021-12-28T05:53:46.147+01:00
PT3H
-
- 18.90
+
+ 18.15
-
+
thermostat
- C
- 2020-11-10T08:45:03.321+01:00
- 2020-11-01T09:30:01.828+01:00
+
+ 2022-01-11T07:30:01.205+01:00
+ 2021-12-27T22:00:00.400+01:00
+
+
+ 18.50
+
+
+
+ electricity_consumed
+ W
+ 2022-01-11T08:05:40.164+01:00
+ 2021-12-28T05:50:37.649+01:00
+
+
+ 157.19
+
+
+
+ relay
+
+
+
+
+
+
+ electricity_produced
+ W
+ 2021-12-18T10:45:21.429+01:00
+ 2021-12-18T10:12:10.243+01:00
-
- 18.00
+
+ 0.00
-
- 2020-11-10T08:45:00.503+01:00
+
+
+ false
+ single
+
+
+ 2022-01-10T22:00:00.308+01:00
thermostat
- 18
- 0
- 99.9
+ 18.5
+ 1
+ 35
0.01
-
+
true
true
- off
+ heating
active
-
- Bijkeuken
+
+ Central heating boiler
- pantry
- 2020-04-06T19:46:06.963+02:00
- 2020-04-07T20:15:56.361+02:00
+ heater_central
+ 2021-12-16T19:30:21.331+01:00
+ 2022-01-11T08:06:09.622+01:00
- home
-
-
+
-
- electricity_consumed
- W
- 2020-04-06T19:54:33.162+02:00
-
+
+ central_heater_water_pressure
+ bar
+ 2021-12-18T01:06:46.593+01:00
+ 2021-12-16T19:30:25.237+01:00
-
- 48.69
+
+
+ 6.00
-
- electricity_produced
- W
-
-
+
+ domestic_hot_water_burner_operation_time
+ hr
+ 2021-12-27T08:32:12+01:00
+ 2021-12-27T08:32:12+01:00
-
-
-
-
-
- Plugwise
- 160-01
-
- 2019-06-21T02:00:00+02:00
-
- 2020-02-29T22:56:58.823+01:00
- 2020-02-29T23:05:15.393+01:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0123456789AB
- router
- true
- mains
-
-
-
-
-
-
- Badkamer
-
-
- true
- 2020-04-04T15:48:30.262+02:00
- 2020-10-29T09:24:56.844+01:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Plug Vloerverwarming
- A smart plug that can be switched on/off and measure power usage.
- central_heating_pump
- 2020-04-06T19:13:29.733+02:00
- 2020-11-10T16:01:42.466+01:00
-
-
-
-
-
-
-
- electricity_consumed
- Wh
- 2020-11-10T16:00:00+01:00
- 2020-11-10T15:45:00+01:00
- PT15M
-
-
- 0.00
+
+
+ 860
-
-
- electricity_produced
- Wh
- 2020-11-10T16:00:00+01:00
- 2020-11-10T15:45:00+01:00
- PT15M
-
-
- 0.00
+
+
+ maximum_boiler_temperature
+ C
+ 2021-12-28T05:55:18.023+01:00
+ 2021-12-28T05:55:18.023+01:00
+
+
+
+ 60.00
-
-
- relay
+
+
+ cooling_state
- 2020-11-10T15:57:30.978+01:00
- 2020-11-10T09:05:18.841+01:00
+ 2021-12-28T05:55:19.664+01:00
+ 2021-12-26T01:13:18.218+01:00
-
-
- off
+
+
+ off
-
- electricity_produced
- W
- 2020-11-10T15:52:35.696+01:00
- 2020-04-06T19:13:34.279+02:00
+
+ central_heating_state
+
+ 2022-01-11T07:49:39.402+01:00
+ 2022-01-11T07:49:39.402+01:00
-
-
- 0.00
+
+
+ on
-
- electricity_consumed
- W
- 2020-11-10T15:52:35.696+01:00
- 2020-11-10T09:05:34.060+01:00
+
+ intended_central_heating_state
+
+ 2022-01-11T06:22:39.373+01:00
+ 2022-01-11T06:22:39.373+01:00
-
-
- 0.00
+
+
+ on
-
-
-
- 2020-11-10T15:57:30.978+01:00
- false
- off
-
-
-
-
-
-
-
-
-
- 2019-08-15T16:18:30.152+02:00
- 2020-02-22T15:18:11.647+01:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Relay schedule template
- Template for scheduling relays on a time basis.
- true
- 2019-08-15T16:18:34.182+02:00
- 2020-11-01T17:32:41.559+01:00
-
-
-
-
-
-
-
-
-
-
-
-
- Relay schedule template
- Template for scheduling relays on a time, solar time, preset, temperature and humidity basis.
- false
- 2020-09-25T17:31:21.283+02:00
- 2020-11-01T17:32:41.556+01:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Thermostat presets
- Provides presets for a Location.
-
+
+ failed_burner_flame_ignitions
+
+ 2021-12-17T19:07:38+01:00
+ 2021-12-17T19:07:38+01:00
+
+
+
+ 30
+
+
+
+ burner_starts
+
+ 2022-01-11T08:02:26+01:00
+ 2022-01-11T08:02:26+01:00
+
+
+
+ 35388
+
+
+
+ domestic_hot_water_state
+
+ 2022-01-11T07:49:39.411+01:00
+ 2022-01-11T07:49:39.411+01:00
+
+
+
+ off
+
+
+
+ boiler_temperature
+ C
+ 2022-01-11T08:06:09.602+01:00
+ 2022-01-11T08:06:09.602+01:00
+ PT1H
+
+
+ 29.00
+
+
+
+ intended_boiler_temperature
+ C
+ 2022-01-11T08:04:14.147+01:00
+ 2022-01-11T08:04:14.146+01:00
+
+
+
+ 38.09
+
+
+
+ open_therm_oem_fault_code
+
+ 2022-01-11T01:04:31.102+01:00
+ 2021-12-16T19:30:24.837+01:00
+
+
+
+ 255
+
+
+
+ burner_operation_time
+ s
+ 2022-01-11T08:00:00+01:00
+ 2022-01-11T07:00:00+01:00
+ PT1H
+
+
+ 314
+
+
+
+ burner_operation_time
+ hr
+ 2022-01-11T07:45:59+01:00
+ 2022-01-11T07:45:59+01:00
+
+
+
+ 9588
+
+
+
+ domestic_hot_water_comfort_mode
+
+ 2021-12-28T05:55:19.669+01:00
+ 2021-12-16T19:36:15.420+01:00
+
+
+
+ off
+
+
+
+ flame_state
+
+ 2022-01-11T08:04:15.362+01:00
+ 2022-01-11T08:04:15.362+01:00
+
+
+
+ off
+
+
+
+ failed_burner_starts
+
+ 2021-12-17T19:07:02+01:00
+ 2021-12-17T19:07:02+01:00
+
+
+
+ 3
+
+
+
+ open_therm_application_specific_fault_code
+
+ 2022-01-11T01:04:31.102+01:00
+ 2021-12-18T10:33:33.694+01:00
+
+
+
+ 0
+
+
+
+
+
+
+ 2021-12-28T05:55:19.669+01:00
+ domestic_hot_water_comfort_mode
+ off
+
+
+ 2021-12-28T05:55:18.024+01:00
+ maximum_boiler_temperature
+ 60
+ 25
+ 95
+ 0.01
+
+
+
+
+
+
+ Weekschema
+ Provides a week schedule for a Location.
+
true
- 2020-04-04T14:56:15.300+02:00
- 2020-04-08T09:38:23.454+02:00
+ 2021-12-16T19:30:56.709+01:00
+ 2022-01-09T17:31:24.145+01:00
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+ Plug Mediacenter
+ A smart plug that can be switched on/off and measure power usage.
+ hometheater
+ 2021-12-16T19:30:42.936+01:00
+ 2022-01-11T08:05:56.728+01:00
+
+
+
+
+
+
+
+ electricity_produced
+ Wh
+ 2022-01-11T08:00:00+01:00
+ 2022-01-11T07:45:00+01:00
+ PT15M
+
+
+ 0.00
+
+
+
+ electricity_produced
+ W
+ 2022-01-11T08:02:14.520+01:00
+ 2021-12-18T10:32:48.917+01:00
+
+
+
+ 0.00
+
+
+
+ relay
+
+ 2022-01-11T08:03:16.606+01:00
+ 2022-01-09T16:55:15.512+01:00
+
+
+
+ on
+
+
+
+ electricity_consumed
+ Wh
+ 2022-01-11T07:45:00+01:00
+ 2022-01-11T07:30:00+01:00
+ PT15M
+
+
+ 3.00
+
+
+
+ electricity_consumed
+ W
+ 2022-01-11T08:02:14.520+01:00
+ 2022-01-11T04:08:56.142+01:00
+
+
+
+ 12.19
+
+
+
+
+
+ 2022-01-11T08:03:16.606+01:00
+ false
+ on
+
+
+
+
+
Plugwise
- 160-01
-
- 2019-06-21T02:00:00+02:00
-
- 2020-02-28T17:37:35.085+01:00
- 2020-02-28T17:47:49.324+01:00
+ Gateway
+ AME Smile 2.0 board
+
+ 2021-12-16T19:30:15.834+01:00
+ 2021-12-16T19:30:29.447+01:00
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- 0123456789AB
- router
- true
- mains
-
-
-
+
+
-
- TV
+
+ Test
- livingroom
- 2020-03-16T17:48:04.893+01:00
- 2020-11-10T10:40:49.743+01:00
+ switching
+ 2021-12-23T08:25:07.571+01:00
+ 2022-01-11T08:05:40.195+01:00
- home
-
-
+
+
-
+
relay
-
- electricity_consumed
+
+ electricity_produced
W
- 2020-11-10T10:40:49.729+01:00
- 2020-11-01T17:30:17.271+01:00
+ 2021-12-23T08:25:18.915+01:00
+
-
- 9.69
+
+ 0.00
-
- electricity_produced
+
+ electricity_consumed
W
-
-
+ 2022-01-11T08:05:40.164+01:00
+ 2021-12-28T05:50:37.649+01:00
+
+ 110.38
+
-
+
false
single
-
-
- Plug MediaCenter
+
+
+ Plug Vloerverwarming
A smart plug that can be switched on/off and measure power usage.
- hometheater
- 2020-02-28T17:37:35.489+01:00
- 2020-11-10T15:56:35.929+01:00
+ central_heating_pump
+ 2021-12-16T19:30:44.323+01:00
+ 2022-01-11T08:05:24.915+01:00
-
+
-
+
-
+
electricity_consumed
+ Wh
+ 2022-01-11T08:00:00+01:00
+ 2022-01-11T07:45:00+01:00
+ PT15M
+
+
+ 11.00
+
+
+
+ electricity_produced
W
- 2020-11-10T15:46:07.921+01:00
- 2020-11-10T10:40:49.729+01:00
+ 2022-01-11T07:59:27.387+01:00
+ 2021-12-18T10:45:21.429+01:00
-
-
- 9.69
+
+
+ 0.00
-
- electricity_produced
+
+ electricity_consumed
W
- 2020-11-10T15:46:07.921+01:00
- 2020-02-28T17:37:38.617+01:00
+ 2022-01-11T07:59:27.386+01:00
+ 2022-01-11T07:59:27.386+01:00
-
-
- 0.00
+
+
+ 46.81
-
+
relay
- 2020-11-10T15:56:35.926+01:00
- 2020-10-29T14:24:23.735+01:00
+ 2022-01-11T08:04:29.116+01:00
+ 2022-01-11T07:30:02.865+01:00
-
-
- on
+
+
+ on
-
- electricity_consumed
- Wh
- 2020-11-10T15:45:00+01:00
- 2020-11-10T15:30:00+01:00
- PT15M
-
-
- 1.37
-
-
-
+
electricity_produced
Wh
- 2020-11-10T15:45:00+01:00
- 2020-11-10T15:30:00+01:00
+ 2022-01-11T08:00:00+01:00
+ 2022-01-11T07:45:00+01:00
PT15M
-
-
- 0.00
+
+
+ 0.00
-
- 2020-11-10T15:56:35.926+01:00
+
+ 2022-01-11T08:04:29.116+01:00
false
on
-
+
-
-
-
+
+ Plugwise
+ 160-01
-
- 2020-02-22T15:18:04.283+01:00
- 2020-10-13T04:29:59.289+02:00
+ 2020-11-10T01:00:00+01:00
+
+ 2021-12-16T19:30:41.293+01:00
+ 2021-12-16T19:30:48.221+01:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
- 0.0
- smart_grid_off
- off
-
+
+ 0123456789AB
+ router
+ true
+ mains
+
+
+
+ 255
+ 15
+ None of the above
+
+
+ 255
+ 0
+ None of the above
+
+
+ 255
+ 15
+ None of the above
+
+
+ 2022-01-11T07:52:33+01:00
+ true
+
-
- Living room
- The room containing the (central) home thermostat.
- livingroom
- 2020-02-22T15:33:29.353+01:00
- 2020-11-10T16:02:06.162+01:00
+
+ Tom Badkamer
+ A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.
+ thermostatic_radiator_valve
+ 2021-12-16T19:32:25.043+01:00
+ 2022-01-11T08:04:42.415+01:00
- home
-
-
-
-
-
+
+
-
+
thermostat
C
- 2020-11-10T07:30:00.317+01:00
- 2020-11-01T16:30:01.486+01:00
+ 2022-01-11T08:04:34.409+01:00
+ 2022-01-11T08:04:34.409+01:00
-
- 20.00
+
+
+ 15.00
-
- electricity_produced
- W
- 2020-04-06T19:14:36.225+02:00
- 2020-03-02T17:21:50.489+01:00
+
+ temperature_difference
+ C
+ 2022-01-11T07:58:02.900+01:00
+ 2022-01-11T07:58:02.900+01:00
-
- 0.00
+
+
+ 2.30
-
- electricity_consumed
- W
- 2020-11-10T09:05:34.060+01:00
- 2020-11-01T16:55:35.772+01:00
-
-
- 0.00
+
+ temperature
+ C
+ 2022-01-11T08:03:12.437+01:00
+ 2022-01-11T08:03:12.437+01:00
+ PT3H
+
+
+ 21.58
-
- temperature
+
+ battery
- 2020-11-10T16:02:06.137+01:00
- 2020-11-01T17:30:55.476+01:00
- PT3H
-
- 20.36
+ 2022-01-11T06:00:34.991+01:00
+ 2021-12-17T19:02:18.751+01:00
+
+
+
+ 0.99
-
- relay
+
+ temperature_offset
+ C
+ 2021-12-31T12:55:52.153+01:00
+ 2021-12-16T19:34:25.529+01:00
+
+
+
+ 0.10
+
+
+
+ valve_position
-
-
+ 2022-01-11T08:04:42.410+01:00
+ 2022-01-11T08:04:42.410+01:00
+
+
+
+ 0.00
+
+
+
+ uncorrected_temperature
+ C
+ 2022-01-11T08:03:12.437+01:00
+ 2022-01-11T08:03:12.437+01:00
+
+
+ 21.58
+
-
-
- false
- single
-
-
- 2020-11-10T07:30:00.318+01:00
+
+
+ 2021-12-31T12:55:52.153+01:00
+ temperature_offset
+ 0.1
+
+
+ 2022-01-11T08:04:34.410+01:00
thermostat
- 20
- 1
- 35
+ 15
+ 7
+ 30
0.01
-
- true
- true
- off
- active
+
+
-
-
+
+
Lisa Badkamer
A zone thermostat regulates the temperature in a heating zone (generally a room).
zone_thermostat
- 2020-04-04T15:00:01.754+02:00
- 2020-11-10T15:54:59.944+01:00
+ 2021-12-16T19:31:01.653+01:00
+ 2022-01-11T08:04:16.388+01:00
-
+
-
+
+ temperature
+ C
+ 2022-01-11T08:03:43.563+01:00
+ 2022-01-11T08:03:43.563+01:00
+ PT3H
+
+
+ 17.90
+
+
+
+ temperature_offset
+ C
+ 2021-12-28T07:04:31.983+01:00
+ 2021-12-16T19:31:13.521+01:00
+
+
+
+ 0.00
+
+
+
battery
- 2020-11-10T10:29:23.500+01:00
- 2020-11-09T10:36:46.605+01:00
+ 2022-01-10T23:12:31.439+01:00
+ 2022-01-09T11:33:13.859+01:00
-
-
- 0.83
+
+
+ 0.56
-
+
thermostat
C
- 2020-11-10T08:45:03.344+01:00
- 2020-11-10T08:45:03.321+01:00
+ 2022-01-11T08:04:16.384+01:00
+ 2022-01-11T08:04:16.281+01:00
-
-
- 18.00
+
+
+ 15.00
-
+
+
+
+ 2022-01-11T08:04:16.384+01:00
+ thermostat
+ 15
+ 0
+ 99.9
+ 0.01
+
+
+
+
+
+ 2021-12-28T07:04:31.983+01:00
temperature_offset
+ 0
+
+
+
+
+ Vloerverwarming
+
+ pumping
+ 2021-12-16T19:40:11.491+01:00
+ 2022-01-11T08:05:52.004+01:00
+
+
+
+
+
+
+
+ relay
+
+
+
+
+
+
+ temperature
+ C
+ 2022-01-11T08:05:51.960+01:00
+ 2021-12-28T05:53:46.147+01:00
+ PT3H
+
+ 18.15
+
+
+
+ electricity_consumed
+ W
+ 2022-01-11T07:59:27.386+01:00
+ 2021-12-27T20:19:29.755+01:00
+
+
+ 46.81
+
+
+
+ electricity_produced
+ W
+ 2021-12-18T10:45:21.429+01:00
+ 2021-12-16T19:40:23.705+01:00
+
+
+ 0.00
+
+
+
+
+
+
+ false
+ single
+
+
+
+
+ Anna
+ A Thermostat
+ thermostat
+ 2021-12-16T19:30:53.779+01:00
+ 2022-01-11T08:05:51.973+01:00
+
+
+
+
+
+
+
+ thermostat
C
- 2020-10-15T20:06:07.471+02:00
- 2020-04-04T15:00:24.605+02:00
+ 2022-01-11T08:05:48.124+01:00
+ 2022-01-11T07:30:01.205+01:00
+
+
+
+ 18.50
+
+
+
+ intended_domestic_hot_water_comfort_mode
+
+ 2022-01-11T08:05:41.503+01:00
+ 2021-12-18T11:58:29.735+01:00
+
+
+
+ off
+
+
+
+ intended_central_heating_state
+
+ 2022-01-11T08:05:41.503+01:00
+ 2022-01-11T07:31:09.731+01:00
-
-
- 0.00
+
+
+ on
-
+
temperature
C
- 2020-11-10T15:54:59.940+01:00
- 2020-11-10T15:54:59.940+01:00
+ 2022-01-11T08:05:51.960+01:00
+ 2022-01-11T08:05:51.960+01:00
PT3H
-
-
- 18.90
+
+
+ 18.15
+
+
+
+ maximum_modulation_level
+
+ 2021-12-18T10:33:33.788+01:00
+ 2021-12-18T10:33:32.832+01:00
+
+
+
+ 1.00
-
- 2020-11-10T08:45:03.344+01:00
+
+ 2022-01-11T08:05:48.124+01:00
thermostat
- 18
- 0
- 99.9
+ 18.5
+ 1
+ 35
0.01
-
-
+
+
-
-
- 2020-10-15T20:06:07.471+02:00
- temperature_offset
- 0
-
-
- Weekschema
- Provides a week schedule for a Location.
-
+
+ Zone preset template
+ Template for actuating thermostats and relays on a preset basis.
+ true
+ 2021-12-16T19:30:18.151+01:00
+ 2021-12-28T05:55:17.803+01:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Thermostat presets
+ Provides presets for a Location.
+
true
- 2020-02-22T15:33:29.525+01:00
- 2020-10-29T09:24:51.701+01:00
+ 2021-12-16T19:38:14.087+01:00
+ 2021-12-16T19:38:14.171+01:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
+
-
+
+ Plugwise
+ 160-01
+
+ 2020-11-10T01:00:00+01:00
+
+ 2021-12-16T19:30:41.080+01:00
+ 2021-12-16T19:30:48.412+01:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0123456789AB
+ router
+ true
+ mains
+
+
+
+ 255
+ 15
+ None of the above
+
+
+ 255
+ 15
+ None of the above
+
+
+ 255
+ 2
+ child
+
+
+ 255
+ 0
+ None of the above
+
+
+ 2022-01-11T07:47:24+01:00
+ true
+
+
+
+
+ Bathroom
+
+ bathroom
+ 2021-12-16T19:37:57.444+01:00
+ 2022-01-11T08:04:16.294+01:00
+
+ home
+
+
+
+
+
+
+
+ temperature
+ C
+ 2022-01-11T08:03:43.563+01:00
+ 2021-12-28T05:50:47.553+01:00
+ PT3H
+
+ 17.90
+
+
+
+ thermostat
+ C
+ 2022-01-11T08:04:16.281+01:00
+ 2021-12-27T23:17:11.430+01:00
+
+
+ 15.00
+
+
+
+
+
+ 2022-01-11T08:04:13.469+01:00
+ thermostat
+ 15
+ 0
+ 99.9
+ 0.01
+
+ true
+ true
+ off
+ active
+
+
+
+
+ Client, Pointlog presence template
+ Template for setting default client presence based on point_logs
+ false
+ 2021-12-16T19:30:18.228+01:00
+ 2021-12-28T05:55:17.829+01:00
+
+
+
+
+
+
+
+
+
+
+
+
+
Zone preset schedule template
Template for scheduling presets on a presence or time basis with the option to override the preset's setpoint/state.
true
- 2019-08-15T16:18:34.265+02:00
- 2020-11-01T17:32:41.589+01:00
+ 2021-12-16T19:30:18.192+01:00
+ 2022-01-05T18:56:57.356+01:00
@@ -1016,12 +1270,33 @@
-
+
+ Relay schedule template
+ Template for scheduling relays on a time, solar time, preset, temperature and humidity basis.
+ false
+ 2021-12-16T19:30:18.050+01:00
+ 2021-12-28T05:55:17.789+01:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Relay schedule template
Template for scheduling relays on a time and preset basis.
false
- 2019-08-15T16:18:34.129+02:00
- 2020-11-01T17:32:41.551+01:00
+ 2021-12-16T19:30:18.005+01:00
+ 2021-12-28T05:55:17.785+01:00
@@ -1035,770 +1310,663 @@
-
- Zone preset template
- Template for actuating thermostats and relays on a preset basis.
+
+ Relay schedule template
+ Template for scheduling relays on a time basis.
true
- 2019-08-15T16:18:34.223+02:00
- 2020-11-01T17:32:41.573+01:00
+ 2021-12-16T19:30:18.096+01:00
+ 2021-12-28T05:55:17.792+01:00
-
+
-
+
-
-
-
-
+
-
- Plug BouwePC
- A smart plug that can be switched on/off and measure power usage.
- computer_desktop
- 2020-02-29T22:56:59.235+01:00
- 2020-11-10T15:49:54.791+01:00
+
+ Plugwise
+ Adam
+ 6539-1601-4502
+ 2018-10-30T10:12:41+01:00
+ 2021-12-16T19:30:19.722+01:00
+ 2021-12-16T19:30:39.051+01:00
-
-
-
-
-
-
- electricity_produced
- Wh
- 2020-11-10T15:45:00+01:00
- 2020-11-10T15:30:00+01:00
- PT15M
-
-
- 0.00
-
-
-
- electricity_consumed
- W
- 2020-11-10T15:45:08.121+01:00
- 2020-11-10T15:45:08.121+01:00
-
-
-
- 5.69
-
-
-
- electricity_consumed
- Wh
- 2020-11-10T15:45:00+01:00
- 2020-11-10T15:30:00+01:00
- PT15M
-
-
- 0.67
-
-
-
- electricity_produced
- W
- 2020-11-10T15:45:08.122+01:00
- 2020-03-02T17:21:50.489+01:00
+
+
+
+
+
+
+
+
+
+
+ 16-50-001-505
+
+
+
+
+
+
+ OpenThermGateway
+ An OpenTherm Gateway
+ open_therm_gateway
+ 2021-12-16T19:30:28.533+01:00
+ 2021-12-16T19:30:37.717+01:00
+
+
+
+
+ override_mode
+
+ 2021-12-28T05:55:26.528+01:00
+ 2021-12-16T19:30:28.747+01:00
-
-
- 0.00
+
+
+ on
-
- relay
+
+ open_therm_power_mode
- 2020-11-10T15:49:54.788+01:00
- 2020-09-15T08:34:26.667+02:00
+ 2021-12-28T05:55:27.106+01:00
+ 2021-12-16T19:30:37.709+01:00
-
-
- on
+
+
+ 0
-
-
- 2020-11-10T15:49:54.788+01:00
- false
- on
-
-
-
+
-
- Test
+
+ Badkamer
-
+
true
- 2020-05-16T13:31:32.649+02:00
- 2020-05-17T10:46:41.712+02:00
+ 2021-12-16T19:44:38.521+01:00
+ 2022-01-10T20:55:33.452+01:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- Werkplek
+
+ Test
- livingroom
- 2020-03-16T17:47:30.604+01:00
- 2020-11-10T15:45:08.130+01:00
-
- home
-
-
-
-
-
-
- relay
-
-
-
-
-
-
- electricity_produced
- W
-
-
-
-
-
- electricity_consumed
- W
- 2020-11-10T15:45:08.121+01:00
- 2020-11-01T09:58:02.318+01:00
-
-
- 5.69
-
-
-
-
-
-
- false
- single
-
-
-
-
- Thermostat presets
- Provides presets for a Location.
-
+
true
- 2020-02-22T15:33:29.811+01:00
- 2020-04-08T09:38:23.558+02:00
+ 2022-01-05T18:56:57.243+01:00
+ 2022-01-05T18:58:36.833+01:00
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- Central heating boiler
-
- heater_central
- 2020-02-22T15:18:04.473+01:00
- 2020-11-10T15:58:59.577+01:00
-
-
-
-
- burner_operation_time
- hr
- 2020-11-10T08:53:25+01:00
- 2020-11-10T08:53:25+01:00
-
-
-
- 8266
-
-
-
- burner_starts
-
- 2020-11-10T09:05:37+01:00
- 2020-11-10T09:05:37+01:00
-
-
-
- 20462
-
-
-
- intended_boiler_temperature
- C
- 2020-11-10T15:52:45.797+01:00
- 2020-11-10T15:18:20.341+01:00
-
-
-
- 0.00
-
-
-
- cooling_state
-
- 2020-11-01T17:32:43.533+01:00
- 2020-08-05T09:07:38.479+02:00
-
-
-
- off
-
-
-
- domestic_hot_water_state
-
- 2020-11-10T08:37:03.863+01:00
- 2020-11-10T08:37:03.863+01:00
-
-
-
- off
-
-
-
- intended_central_heating_state
-
- 2020-11-10T09:05:18.782+01:00
- 2020-11-10T09:05:18.782+01:00
-
-
-
- off
-
-
-
- central_heating_state
-
- 2020-11-10T09:06:24.587+01:00
- 2020-11-10T09:06:24.587+01:00
-
-
-
- off
-
-
-
- domestic_hot_water_setpoint
- C
-
-
-
-
-
-
- flame_state
-
- 2020-11-10T09:05:30.390+01:00
- 2020-11-10T09:05:30.390+01:00
-
-
-
- off
-
-
-
- failed_burner_flame_ignitions
-
- 2020-03-02T15:37:21+01:00
- 2020-03-02T15:37:21+01:00
-
-
-
- 30
-
-
-
- central_heater_water_pressure
- bar
- 2020-03-02T09:35:08.757+01:00
- 2020-02-22T15:33:15.909+01:00
-
-
-
- 6.00
-
-
-
- open_therm_application_specific_fault_code
-
- 2020-11-10T11:33:39.087+01:00
- 2020-02-22T15:33:14.759+01:00
-
-
-
- 0
-
-
-
- burner_operation_time
- s
- 2020-11-10T15:00:00+01:00
- 2020-11-10T14:00:00+01:00
- PT1H
-
-
- 0
-
-
-
- open_therm_oem_fault_code
-
- 2020-11-10T11:33:39.087+01:00
- 2020-02-22T15:33:28.343+01:00
-
-
-
- 255
-
-
-
- domestic_hot_water_comfort_mode
-
- 2020-11-01T17:32:43.539+01:00
- 2020-02-22T15:41:01.237+01:00
-
-
-
- off
-
-
-
- boiler_temperature
- C
- 2020-11-10T15:30:27.492+01:00
- 2020-11-10T15:30:27.491+01:00
- PT1H
-
-
- 27.00
-
-
-
- failed_burner_starts
-
- 2020-03-02T15:41:08+01:00
- 2020-03-02T15:41:08+01:00
-
-
-
- 3
-
-
-
- temperature
- C
-
-
- PT3H
-
-
-
- maximum_boiler_temperature
- C
- 2020-05-08T06:16:36.339+02:00
- 2020-05-08T06:16:36.338+02:00
-
-
-
- 70.00
-
-
-
- domestic_hot_water_burner_operation_time
- hr
- 2020-11-01T12:35:58+01:00
- 2020-11-01T12:35:58+01:00
-
-
-
- 820
-
-
-
-
-
- 2020-10-13T04:29:59.202+02:00
- domestic_hot_water_setpoint
- 60
- 0
- 100
- 1
-
-
-
-
-
- 2020-11-01T17:32:43.539+01:00
- domestic_hot_water_comfort_mode
- off
-
-
- 2020-05-08T06:16:36.339+02:00
- maximum_boiler_temperature
- 70
- 0
- 100
- 1
-
-
-
-
-
- thermostat
- nil
- 0
- 30
- 1
-
-
-
-
-
- Anna
- A Thermostat
- thermostat
- 2020-02-22T15:33:28.511+01:00
- 2020-11-10T16:02:06.150+01:00
+
+
+
+
+
+ 2021-12-16T19:30:21.157+01:00
+ 2021-12-16T19:30:29.780+01:00
-
-
-
-
-
-
- intended_domestic_hot_water_comfort_mode
-
- 2020-11-10T15:59:13.676+01:00
- 2020-02-22T15:33:32.056+01:00
-
-
-
- off
-
-
-
- temperature
- C
- 2020-11-10T16:02:06.137+01:00
- 2020-11-10T16:02:06.137+01:00
- PT3H
-
-
- 20.36
-
-
-
- intended_central_heating_state
-
- 2020-11-10T15:59:13.676+01:00
- 2020-11-10T09:08:00.325+01:00
-
-
-
- off
-
-
-
- thermostat
- C
- 2020-11-10T16:02:02.061+01:00
- 2020-11-10T07:30:00.317+01:00
-
-
-
- 20.00
-
-
-
-
-
- 2020-11-10T16:02:02.061+01:00
- thermostat
- 20
- 1
- 35
- 0.01
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0.0
+ smart_grid_off
+ off
+
+
+
+
Plugwise
- 160-01
-
- 2019-06-21T02:00:00+02:00
+ 158-01
+ 255
+ 2016-10-10T02:00:00+02:00
- 2020-04-06T19:13:29.360+02:00
- 2020-04-06T19:22:01.431+02:00
+ 2021-12-16T19:30:47.185+01:00
+ 2021-12-16T19:31:12.823+01:00
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
0123456789AB
- router
+ end_device
true
- mains
-
-
+ battery
+
+
+
+ false
-
- Plugwise
- Gateway
- AME Smile 2.0 board
+
+ Plugwise B.V.
+ 143.1
+
- 2019-08-15T16:18:29.628+02:00
- 2020-10-13T04:29:35.355+02:00
+ 2021-12-16T19:30:51.982+01:00
+ 2021-12-18T10:33:32.029+01:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0.0
+
+
+
+
+
+
+
+
+
+ 2021-12-16T19:30:16.990+01:00
+ 2021-12-16T19:30:17.206+01:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
- 2020-02-22T15:17:34.724+01:00
- 2020-11-10T09:15:18.669+01:00
+
+ Thermostat presets
+ Provides presets for a Location.
+
+ true
+ 2021-12-16T19:31:15.488+01:00
+ 2021-12-16T19:31:15.617+01:00
-
-
-
-
-
-
-
- high_economy
- on
- small
- underfloor_and_radiator
- false
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Home
building
- 2019-08-15T16:18:30.658+02:00
- 2020-11-10T16:00:45.876+01:00
+ 2021-12-16T19:30:17.225+01:00
+ 2022-01-11T07:58:48.432+01:00
home
-
+
+ weather_description
+
+ 2022-01-11T07:58:01+01:00
+ 2022-01-11T07:58:01+01:00
+
+
+
+ overcast
+
+
+
humidity
RH
- 2020-11-10T15:57:00+01:00
- 2020-11-10T15:57:00+01:00
+ 2022-01-11T07:58:01+01:00
+ 2022-01-11T07:58:01+01:00
PT3H
-
-
- 83.00
+
+
+ 95.00
-
+
solar_irradiance
W_m2
- 2020-11-10T15:57:00+01:00
- 2020-11-10T15:57:00+01:00
-
-
-
- 71.19
-
-
-
- outdoor_temperature
- C
- 2020-11-10T15:57:00+01:00
- 2020-11-10T15:57:00+01:00
- PT3H
-
-
- 14.81
-
-
-
- weather_description
-
- 2020-11-10T15:57:00+01:00
- 2020-11-10T15:57:00+01:00
+ 2022-01-11T07:58:01+01:00
+ 2022-01-11T07:58:01+01:00
-
-
- overcast
+
+
+ 0.00
-
+
wind_vector
m_s
- 2020-11-10T15:57:00+01:00
- 2020-11-10T15:57:00+01:00
+ 2022-01-11T07:58:01+01:00
+ 2022-01-11T07:58:01+01:00
-
-
- (1.56,238.00)
+
+
+ (0.45,198.00)
+
+
+
+ outdoor_temperature
+ C
+ 2022-01-11T07:58:01+01:00
+ 2022-01-11T07:58:01+01:00
+ PT3H
+
+
+ -1.25
-
+
+ Telegesis
+ ETRX3USB
+
+
+ 2021-12-16T19:30:38.437+01:00
+ 2021-12-16T19:30:38.487+01:00
+
+
+
+
+ 0123456789AB
+ false
+
+
+ 255
+ 15
+ None of the above
+
+
+ 255
+ 1
+ child
+
+
+ 255
+ 15
+ None of the above
+
+
+ 255
+ 15
+ None of the above
+
+
+ 2022-01-11T07:55:13+01:00
+ true
+
+
+
+
+
+ 2021-12-16T19:30:15.976+01:00
+ 2022-01-11T08:04:13.764+01:00
+
+
+
+
+
+
+
+
+ high_economy
+ on
+ small
+ underfloor_and_radiator
+ false
+
+
+
+
+
+
Plugwise
- Adam
- 6539-1601-4502
- 2018-10-30T10:12:41+01:00
- 2019-08-15T16:18:38.925+02:00
- 2020-02-22T15:38:53.823+01:00
+ 160-01
+
+ 2020-11-10T01:00:00+01:00
+
+ 2021-12-16T19:30:41.519+01:00
+ 2021-12-16T19:30:48.319+01:00
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
- 16-50-001-505
-
-
-
+
+ 0123456789AB
+ router
+ true
+ mains
+
+
+
+ 254
+ 15
+ None of the above
+
+
+ 255
+ 0
+ None of the above
+
+
+ 255
+ 15
+ None of the above
+
+
+ 2022-01-11T07:49:57+01:00
+ true
+
-
- Test Switch
-
- switching
- 2020-08-30T18:11:22.562+02:00
- 2020-11-10T15:45:08.137+01:00
+
+ Gateway
+ Container for variables logged about the Gateway in general.
+ gateway
+ 2021-12-16T19:30:16.149+01:00
+ 2022-01-11T08:06:03.567+01:00
-
-
-
-
+
-
- electricity_produced
- W
-
+
+ signal_strength
+ dBm
+ 2022-01-11T08:06:03.527+01:00
+ 2022-01-11T08:06:03.527+01:00
+
+
+
+ -61.00
+
+
+
+ link_quality
+
+ 2022-01-11T08:06:03.527+01:00
+ 2022-01-11T08:06:03.527+01:00
+
+
+
+ 49
+
+
+
+ lan_state
+
+ 2022-01-11T08:05:15.856+01:00
+ 2021-12-16T19:30:29.391+01:00
+
+
+
+ down
+
+
+
+ wlan_state
+
+ 2022-01-11T08:06:03.528+01:00
+ 2021-12-28T07:23:44.521+01:00
+
+
+
+ up
+
+
+
+ regulation_mode
+
+ 2021-12-16T19:30:16.802+01:00
+
+
+ heating
+
-
- electricity_consumed
- W
- 2020-11-10T15:45:08.121+01:00
- 2020-11-01T17:30:17.271+01:00
+
+ lan_ip_address
+
+ 2022-01-11T08:05:15.856+01:00
+ 2021-12-16T19:30:29+01:00
-
- 15.38
+
+
+ 0.0.0.0
-
- relay
+
+ gateway_mode
+
+
+
+ wlan_ip_address
+
+ 2022-01-11T08:06:03.528+01:00
+ 2021-12-28T07:23:44+01:00
+
+
+
+ 127.0.0.1
+
-
+
+
+ 2021-12-16T19:30:16.802+01:00
+ regulation_mode
+ heating
+
+ heating
+ off
+ bleeding_cold
+ bleeding_hot
+
+
+
+
- false
- single
-
+ gateway_mode
+ full
+
+ setup
+ light
+ away
+ vacation
+
+ full
+ secure
+
+
-
+
- 2019-08-15T16:18:29.533+02:00
- 2020-11-09T16:59:43.834+01:00
+ 2021-12-16T19:30:15.659+01:00
+ 2022-01-10T22:20:26.030+01:00
true
false
false
- 2019-08-15T16:18:29.533+02:00
- 2020-11-01T17:31:25.759+01:00
+ 2021-12-16T19:30:15.659+01:00
+ 2021-12-28T05:53:52.222+01:00
Plugwise
smile_open_therm
AME Smile 2.0 board
- 3.2.4
+ 3.6.4
0123456789AB
abcdefgh
true
@@ -1806,19 +1974,19 @@
127.0.0.1
smile000000
-
+
Europe/Amsterdam
- disabled
+ enabled
-- Stock
Stock which was previously called fulfillment
false
true
- 2020-02-22T15:12:35.072+01:00
+ 2021-12-16T19:30:15.777+01:00
2014-11-19T17:45:10+01:00
-
+
4.49
@@ -1831,11 +1999,11 @@
-
+ 2171
52.21
- 2020-03-30T20:09:38.172+02:00
+ 2021-12-16T19:36:45.178+01:00
NL
unknown
@@ -1849,8 +2017,8 @@
0
- 2020-03-30T20:09:38.172+02:00
- 2020-11-07T19:09:54+01:00
+ 2021-12-16T19:36:45.178+01:00
+ 2022-01-09T19:36:48+01:00
@@ -1861,205 +2029,9 @@
- 2020-02-22T15:12:35.115+01:00
+ 2021-12-16T19:30:15.817+01:00
2019-08-29T11:40:21+02:00
-
- OpenThermGateway
- An OpenTherm Gateway
- open_therm_gateway
- 2019-08-15T16:18:41.017+02:00
- 2019-08-15T16:18:43.373+02:00
-
-
-
-
- override_mode
-
- 2020-10-31T13:32:31.618+01:00
- 2019-08-15T16:18:41.403+02:00
-
-
-
- on
-
-
-
- open_therm_power_mode
-
- 2020-10-16T03:22:55.491+02:00
- 2019-08-15T16:18:43.359+02:00
-
-
-
- 0
-
-
-
-
-
-
- Tom Badkamer
- A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.
- thermostatic_radiator_valve
- 2020-04-04T14:50:38.695+02:00
- 2020-11-10T15:51:35.235+01:00
-
-
-
-
-
- temperature_offset
- C
- 2020-11-04T18:30:50.629+01:00
- 2020-09-26T05:18:03.296+02:00
-
-
-
- 0.10
-
-
-
- uncorrected_temperature
- C
- 2020-11-10T15:49:17.075+01:00
- 2020-11-10T15:34:17.421+01:00
-
-
-
- 19.40
-
-
-
- battery
-
- 2020-11-10T15:51:35.229+01:00
- 2020-11-10T15:51:35.229+01:00
-
-
-
- 0.83
-
-
-
- temperature
- C
- 2020-11-10T15:49:17.074+01:00
- 2020-11-10T15:49:17.074+01:00
- PT12H
-
-
- 19.40
-
-
-
- temperature_difference
- C
- 2020-11-10T15:37:17.356+01:00
- 2020-11-10T13:07:20.468+01:00
-
-
-
- 0.00
-
-
-
- valve_position
-
- 2020-11-10T08:45:17.025+01:00
- 2020-11-10T08:45:17.025+01:00
-
-
-
- 0.00
-
-
-
- thermostat
- C
- 2020-11-10T08:45:13.993+01:00
- 2020-11-10T08:45:13.993+01:00
-
-
-
- 18.00
-
-
-
-
-
- 2020-11-10T08:45:13.994+01:00
- thermostat
- 18
- 4
- 30
- 0.01
-
-
-
-
-
- 2020-11-04T18:30:50.629+01:00
- temperature_offset
- 0.1
-
-
-
-
- Vloer
-
- pumping
- 2020-04-17T17:52:27.964+02:00
- 2020-11-10T16:02:06.176+01:00
-
-
-
-
-
-
-
- electricity_consumed
- W
- 2020-11-10T09:05:34.060+01:00
- 2020-11-01T16:55:35.772+01:00
-
-
- 0.00
-
-
-
- electricity_produced
- W
-
-
-
-
-
- relay
-
-
-
-
-
-
- temperature
- C
- 2020-11-10T16:02:06.137+01:00
- 2020-11-01T17:30:55.476+01:00
- PT3H
-
- 20.36
-
-
-
-
-
-
- false
- single
-
-
-
diff --git a/userdata/adam_plus_anna_new/core.locations.xml b/userdata/adam_plus_anna_new/core.locations.xml
index 2eef0fab5..32a0bbbd3 100644
--- a/userdata/adam_plus_anna_new/core.locations.xml
+++ b/userdata/adam_plus_anna_new/core.locations.xml
@@ -1,149 +1,118 @@
-
- Bijkeuken
+
+ Home
- pantry
- 2020-04-06T19:46:06.963+02:00
- 2020-04-07T20:15:56.361+02:00
+ building
+ 2021-12-16T19:30:17.225+01:00
+ 2022-01-11T07:58:48.432+01:00
home
-
- electricity_consumed
- W
- 2020-04-06T19:54:33.162+02:00
-
+
+ weather_description
+
+ 2022-01-11T07:58:01+01:00
+ 2022-01-11T07:58:01+01:00
-
- 48.69
+
+
+ overcast
-
- electricity_produced
- W
-
-
-
-
-
-
-
-
- Home
-
- building
- 2019-08-15T16:18:30.658+02:00
- 2020-11-10T16:00:45.876+01:00
-
- home
-
-
-
-
+
humidity
RH
- 2020-11-10T15:57:00+01:00
- 2020-11-10T15:57:00+01:00
+ 2022-01-11T07:58:01+01:00
+ 2022-01-11T07:58:01+01:00
PT3H
-
-
- 83.00
+
+
+ 95.00
-
+
solar_irradiance
W_m2
- 2020-11-10T15:57:00+01:00
- 2020-11-10T15:57:00+01:00
-
-
-
- 71.19
-
-
-
- outdoor_temperature
- C
- 2020-11-10T15:57:00+01:00
- 2020-11-10T15:57:00+01:00
- PT3H
-
-
- 14.81
-
-
-
- weather_description
-
- 2020-11-10T15:57:00+01:00
- 2020-11-10T15:57:00+01:00
+ 2022-01-11T07:58:01+01:00
+ 2022-01-11T07:58:01+01:00
-
-
- overcast
+
+
+ 0.00
-
+
wind_vector
m_s
- 2020-11-10T15:57:00+01:00
- 2020-11-10T15:57:00+01:00
+ 2022-01-11T07:58:01+01:00
+ 2022-01-11T07:58:01+01:00
-
-
- (1.56,238.00)
+
+
+ (0.45,198.00)
+
+
+
+ outdoor_temperature
+ C
+ 2022-01-11T07:58:01+01:00
+ 2022-01-11T07:58:01+01:00
+ PT3H
+
+
+ -1.25
-
- Badkamer
+
+ Bathroom
bathroom
- 2020-04-04T14:51:09.023+02:00
- 2020-11-10T15:54:59.958+01:00
+ 2021-12-16T19:37:57.444+01:00
+ 2022-01-11T08:04:16.294+01:00
- asleep
+ home
-
-
+
+
-
+
temperature
C
- 2020-11-10T15:54:59.940+01:00
- 2020-11-01T17:27:54.632+01:00
+ 2022-01-11T08:03:43.563+01:00
+ 2021-12-28T05:50:47.553+01:00
PT3H
-
- 18.90
+
+ 17.90
-
+
thermostat
C
- 2020-11-10T08:45:03.321+01:00
- 2020-11-01T09:30:01.828+01:00
+ 2022-01-11T08:04:16.281+01:00
+ 2021-12-27T23:17:11.430+01:00
-
- 18.00
+
+ 15.00
-
- 2020-11-10T08:45:00.503+01:00
+
+ 2022-01-11T08:04:13.469+01:00
thermostat
- 18
+ 15
0
99.9
0.01
-
+
true
true
off
@@ -151,177 +120,87 @@
-
- Werkplek
-
- livingroom
- 2020-03-16T17:47:30.604+01:00
- 2020-11-10T15:45:08.130+01:00
-
- home
-
-
-
-
-
-
- relay
-
-
-
-
-
-
- electricity_produced
- W
-
-
-
-
-
- electricity_consumed
- W
- 2020-11-10T15:45:08.121+01:00
- 2020-11-01T09:58:02.318+01:00
-
-
- 5.69
-
-
-
-
-
-
- false
- single
-
-
-
-
- TV
-
- livingroom
- 2020-03-16T17:48:04.893+01:00
- 2020-11-10T10:40:49.743+01:00
-
- home
-
-
-
-
-
-
- relay
-
-
-
-
-
-
- electricity_consumed
- W
- 2020-11-10T10:40:49.729+01:00
- 2020-11-01T17:30:17.271+01:00
-
-
- 9.69
-
-
-
- electricity_produced
- W
-
-
-
-
-
-
-
-
- false
- single
-
-
-
-
+
Living room
The room containing the (central) home thermostat.
livingroom
- 2020-02-22T15:33:29.353+01:00
- 2020-11-10T16:01:19.508+01:00
+ 2021-12-16T19:30:56.643+01:00
+ 2022-01-11T08:05:40.181+01:00
- home
+ asleep
-
-
+
+
+
+
-
- thermostat
+
+ temperature
C
- 2020-11-10T07:30:00.317+01:00
- 2020-11-01T16:30:01.486+01:00
-
-
- 20.00
+ 2022-01-11T08:05:28.230+01:00
+ 2021-12-28T05:53:46.147+01:00
+ PT3H
+
+ 18.14
-
- electricity_produced
- W
- 2020-04-06T19:14:36.225+02:00
- 2020-03-02T17:21:50.489+01:00
+
+ thermostat
+
+ 2022-01-11T07:30:01.205+01:00
+ 2021-12-27T22:00:00.400+01:00
-
- 0.00
+
+ 18.50
-
+
electricity_consumed
W
- 2020-11-10T09:05:34.060+01:00
- 2020-11-01T16:55:35.772+01:00
+ 2022-01-11T08:05:40.164+01:00
+ 2021-12-28T05:50:37.649+01:00
-
- 0.00
-
-
-
- temperature
-
- 2020-11-10T16:01:19.472+01:00
- 2020-11-01T17:30:55.476+01:00
- PT3H
-
- 20.36
+
+ 157.19
-
+
relay
+
+ electricity_produced
+ W
+ 2021-12-18T10:45:21.429+01:00
+ 2021-12-18T10:12:10.243+01:00
+
+
+ 0.00
+
+
-
+
false
single
-
- 2020-11-10T07:30:00.318+01:00
+
+ 2022-01-10T22:00:00.308+01:00
thermostat
- 20
+ 18.5
1
35
0.01
-
+
true
true
- off
+ heating
active
diff --git a/userdata/adam_plus_anna_new/core.modules.xml b/userdata/adam_plus_anna_new/core.modules.xml
index 5eebb9402..9871f8b2c 100644
--- a/userdata/adam_plus_anna_new/core.modules.xml
+++ b/userdata/adam_plus_anna_new/core.modules.xml
@@ -1,390 +1,478 @@
-
- Telegesis
- ETRX3USB
-
-
- 2019-08-15T16:18:41.530+02:00
- 2019-08-15T16:18:41.619+02:00
-
-
-
-
- 0123456789AB
- false
-
-
-
-
-
-
- Plugwise B.V.
- 143.1
-
-
- 2020-02-22T15:33:28.039+01:00
- 2020-02-22T15:33:52.388+01:00
+
+ Plugwise
+ Adam
+ 6539-1601-4502
+ 2018-10-30T10:12:41+01:00
+ 2021-12-16T19:30:19.722+01:00
+ 2021-12-16T19:30:39.051+01:00
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
- 0.0
-
-
+
+ 16-50-001-505
+
+
+
-
+
Plugwise
106-03
1
- 2020-10-06T02:00:00+02:00
+ 2020-11-04T01:00:00+01:00
- 2020-04-04T14:50:37.650+02:00
- 2020-10-13T04:41:39.757+02:00
+ 2021-12-16T19:32:13.013+01:00
+ 2021-12-16T19:34:42.991+01:00
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
-
+
0123456789AB
end_device
true
battery
+ false
false
+
0
-
-
+
+
+
+ false
-
+
+ Plugwise
+ Gateway
+ AME Smile 2.0 board
+
+ 2021-12-16T19:30:15.834+01:00
+ 2021-12-16T19:30:29.447+01:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Telegesis
+ ETRX3USB
+
+
+ 2021-12-16T19:30:38.437+01:00
+ 2021-12-16T19:30:38.487+01:00
+
+
+
+
+ 0123456789AB
+ false
+
+
+ 255
+ 15
+ None of the above
+
+
+ 255
+ 1
+ child
+
+
+ 255
+ 15
+ None of the above
+
+
+ 255
+ 15
+ None of the above
+
+
+ 2022-01-11T07:55:13+01:00
+ true
+
+
+
+
+
Plugwise
160-01
- 2019-06-21T02:00:00+02:00
+ 2020-11-10T01:00:00+01:00
- 2020-02-28T17:37:35.085+01:00
- 2020-02-28T17:47:49.324+01:00
+ 2021-12-16T19:30:41.293+01:00
+ 2021-12-16T19:30:48.221+01:00
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
+
0123456789AB
router
true
mains
-
-
+
+
+
+ 255
+ 15
+ None of the above
+
+
+ 255
+ 0
+ None of the above
+
+
+ 255
+ 15
+ None of the above
+
+
+ 2022-01-11T07:52:33+01:00
+ true
-
+
+
+
+
+
+ 2021-12-16T19:30:16.990+01:00
+ 2021-12-16T19:30:17.206+01:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Plugwise
160-01
- 2019-06-21T02:00:00+02:00
+ 2020-11-10T01:00:00+01:00
- 2020-02-29T22:56:58.823+01:00
- 2020-02-29T23:05:15.393+01:00
+ 2021-12-16T19:30:41.519+01:00
+ 2021-12-16T19:30:48.319+01:00
-
-
-
-
-
+
+
-
-
+
+
+
+
+
-
+
0123456789AB
router
- false
+ true
mains
-
-
+
+
+
+ 254
+ 15
+ None of the above
+
+
+ 255
+ 0
+ None of the above
+
+
+ 255
+ 15
+ None of the above
+
+
+ 2022-01-11T07:49:57+01:00
+ true
-
+
Plugwise
158-01
255
2016-10-10T02:00:00+02:00
- 2020-04-04T15:00:00.280+02:00
- 2020-04-04T15:01:39.322+02:00
+ 2021-12-16T19:30:47.185+01:00
+ 2021-12-16T19:31:12.823+01:00
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
0123456789AB
end_device
true
battery
-
-
+
+
+
+ false
-
- Plugwise
- Adam
- 6539-1601-4502
- 2018-10-30T10:12:41+01:00
- 2019-08-15T16:18:38.925+02:00
- 2020-02-22T15:38:53.823+01:00
+
+ Plugwise B.V.
+ 143.1
+
+
+ 2021-12-16T19:30:51.982+01:00
+ 2021-12-18T10:33:32.029+01:00
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- 16-50-001-505
-
-
-
+
+ 0.0
+
+
-
+
Plugwise
160-01
- 2019-06-21T02:00:00+02:00
+ 2020-11-10T01:00:00+01:00
- 2020-04-06T19:13:29.360+02:00
- 2020-04-06T19:22:01.431+02:00
+ 2021-12-16T19:30:41.080+01:00
+ 2021-12-16T19:30:48.412+01:00
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
+
0123456789AB
router
true
mains
-
-
+
+
+
+ 255
+ 15
+ None of the above
+
+
+ 255
+ 15
+ None of the above
+
+
+ 255
+ 2
+ child
+
+
+ 255
+ 0
+ None of the above
+
+
+ 2022-01-11T07:47:24+01:00
+ true
-
+
- 2020-02-22T15:18:04.283+01:00
- 2020-10-13T04:29:59.289+02:00
+ 2021-12-16T19:30:21.157+01:00
+ 2021-12-16T19:30:29.780+01:00
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
+
+
0.0
smart_grid_off
off
-
- Plugwise
- Gateway
- AME Smile 2.0 board
-
- 2019-08-15T16:18:29.628+02:00
- 2020-10-13T04:29:35.355+02:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2019-08-15T16:18:30.152+02:00
- 2020-02-22T15:18:11.647+01:00
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/userdata/anna_heatpump/core.appliances.xml b/userdata/anna_heatpump/core.appliances.xml
index cb74be061..21a7be633 100644
--- a/userdata/anna_heatpump/core.appliances.xml
+++ b/userdata/anna_heatpump/core.appliances.xml
@@ -242,7 +242,7 @@
C
2020-04-09T13:51:55.147+02:00
- 18.00
+ 3.00
@@ -1015,7 +1015,7 @@
C
2020-04-09T14:12:19.497+02:00
- 3.0
+ 19.30
diff --git a/userdata/anna_heatpump_cooling/core.appliances.xml b/userdata/anna_heatpump_cooling/core.appliances.xml
index b55fb4d20..e220fe610 100644
--- a/userdata/anna_heatpump_cooling/core.appliances.xml
+++ b/userdata/anna_heatpump_cooling/core.appliances.xml
@@ -314,7 +314,7 @@
C
2020-04-16T17:29:52.077+02:00
- 21.00
+ 22.00
@@ -1205,7 +1205,7 @@
C
2020-04-16T12:22:21.258+02:00
- 22.00
+ 20.00
diff --git a/userdata/anna_heatpump_cooling/core.domain_objects.xml b/userdata/anna_heatpump_cooling/core.domain_objects.xml
index 727cb79d8..9a34556c3 100644
--- a/userdata/anna_heatpump_cooling/core.domain_objects.xml
+++ b/userdata/anna_heatpump_cooling/core.domain_objects.xml
@@ -48,17 +48,13 @@
standaard
- false
+ true
2020-03-21T12:16:15.949+01:00
2020-04-12T12:08:51.070+02:00
-
-
-
-
-
+
Zone preset template
diff --git a/userdata/anna_v4/core.domain_objects.xml b/userdata/anna_v4/core.domain_objects.xml
index 0d650ca69..c02e2ca56 100644
--- a/userdata/anna_v4/core.domain_objects.xml
+++ b/userdata/anna_v4/core.domain_objects.xml
@@ -56,7 +56,7 @@
Standaard
- false
+ true
2019-05-14T20:43:41.402+02:00
2019-11-16T18:38:15.242+01:00
@@ -86,11 +86,7 @@
-
-
-
-
-
+
Zone preset schedule template
@@ -117,7 +113,7 @@
Thuiswerken
- false
+ true
2019-05-14T21:52:48.525+02:00
2019-05-14T21:54:02.749+02:00
@@ -128,11 +124,7 @@
-
-
-
-
-
+
Anna
diff --git a/userdata/anna_without_boiler_fw42/core.appliances.xml b/userdata/anna_without_boiler_fw42/core.appliances.xml
new file mode 100644
index 000000000..e03b6a553
--- /dev/null
+++ b/userdata/anna_without_boiler_fw42/core.appliances.xml
@@ -0,0 +1,362 @@
+
+
+
+ Central heating boiler
+
+ heater_central
+ 2019-01-31T12:18:35.141+01:00
+ 2022-01-11T19:35:47.806+01:00
+
+
+
+
+ central_heating_state
+
+ 2022-01-11T19:01:05.633+01:00
+ 2022-01-11T19:01:05.633+01:00
+
+
+
+ on
+
+
+
+ intended_central_heating_state
+
+ 2022-01-11T19:01:08.923+01:00
+ 2022-01-11T19:01:08.923+01:00
+
+
+
+ on
+
+
+
+ burner_operation_time
+ s
+ 2022-01-11T19:00:00+01:00
+ 2022-01-11T18:00:00+01:00
+ PT1H
+
+
+ 2081
+
+
+
+
+
+
+ Anna
+ A thermostat
+ thermostat
+ 2019-04-23T20:32:36.648+02:00
+ 2022-01-11T19:35:59.413+01:00
+
+
+
+
+
+ cpu_frequency
+ Hz
+ 2022-01-11T09:37:40+01:00
+ 2022-01-11T09:37:40+01:00
+
+
+
+ 8000000
+
+
+
+ proximity_detection
+
+ 2021-12-10T12:14:17.963+01:00
+ 2021-12-10T12:14:17.963+01:00
+
+
+
+ no_proximity_detected
+
+
+
+ temperature_offset
+ C
+ 2021-10-27T05:31:42.109+02:00
+ 2020-06-03T01:37:16.877+02:00
+
+
+
+ 0.00
+
+
+
+ temperature
+ C
+ 2022-01-11T19:34:45.556+01:00
+ 2022-01-11T18:57:42.765+01:00
+ PT3H
+
+
+ 20.65
+
+
+
+ button_right
+
+ 2021-12-07T19:05:57.517+01:00
+ 2021-12-07T19:05:57.517+01:00
+
+
+
+ up
+
+
+
+ onoff_boiler_temperature_deadband
+ C
+ 2021-10-27T05:31:42.048+02:00
+ 2021-08-06T18:27:55.049+02:00
+
+
+
+ 0.50
+
+
+
+ open_therm_boiler_activation_threshold
+ C
+ 2021-10-27T05:31:42.046+02:00
+ 2020-06-03T01:37:16.729+02:00
+
+
+
+ 10.00
+
+
+
+ button_top
+
+ 2021-12-09T08:39:44.587+01:00
+ 2021-12-09T08:39:44.587+01:00
+
+
+
+ up
+
+
+
+ proximity_sensor_state
+
+ 2021-10-27T05:31:42.104+02:00
+ 2020-05-12T01:22:33.143+02:00
+
+
+
+ on
+
+
+
+ preheating_target_temperature_rate
+ C_hr
+ 2021-10-27T05:31:42.007+02:00
+ 2021-08-06T18:27:54.995+02:00
+
+
+
+ 0.00
+
+
+
+ thermostat
+ C
+ 2022-01-11T07:36:39.747+01:00
+ 2022-01-11T07:36:39.747+01:00
+
+
+
+ 21.00
+
+
+
+ illuminance
+ lx
+ 2022-01-11T19:35:59.410+01:00
+ 2022-01-11T19:35:59.410+01:00
+
+
+
+ 0.25
+
+
+
+ target_temperature
+ C
+ 2022-01-10T06:02:32.062+01:00
+ 2022-01-10T06:02:32.062+01:00
+
+
+
+ 21.00
+
+
+
+ derivative_coefficient
+ s
+ 2021-10-27T05:31:42.053+02:00
+ 2021-08-06T18:27:55.186+02:00
+
+
+
+ 0
+
+
+
+ button_left
+
+ 2021-10-30T17:53:25.158+02:00
+ 2021-10-30T17:53:25.158+02:00
+
+
+
+ up
+
+
+
+ decentral_heat_demand_offset
+ C
+ 2022-01-11T19:36:10.814+01:00
+ 2020-06-03T01:37:16.697+02:00
+
+
+
+ 0.00
+
+
+
+
+
+ 2022-01-11T07:36:39.748+01:00
+ thermostat
+ 21
+ 4
+ 30
+ 0.1
+
+
+
+
+
+ 2021-10-27T05:31:42.104+02:00
+ proximity_sensor_state
+ on
+
+
+
+ 2021-10-27T05:31:42.109+02:00
+ temperature_offset
+ 0
+
+
+
+
+ Gateway
+ Container for variables logged about the Gateway in general.
+ gateway
+ 2019-01-31T12:18:40.157+01:00
+ 2022-01-11T19:36:57.687+01:00
+
+
+
+
+ lan_state
+
+ 2022-01-11T19:36:57.688+01:00
+ 2020-05-12T01:22:02.396+02:00
+
+
+
+ down
+
+
+
+ gateway_mode
+
+
+
+
+
+
+
+ link_quality
+
+ 2022-01-11T19:36:57.648+01:00
+ 2022-01-11T19:36:57.648+01:00
+
+
+
+ 63
+
+
+
+ signal_strength
+ dBm
+ 2022-01-11T19:36:57.648+01:00
+ 2022-01-11T19:36:57.648+01:00
+
+
+
+ -47.00
+
+
+
+ wlan_state
+
+ 2022-01-11T19:36:57.649+01:00
+ 2021-11-20T13:03:21.161+01:00
+
+
+
+ up
+
+
+
+ lan_ip_address
+
+ 2022-01-11T19:36:57.688+01:00
+ 2021-10-27T05:27:15+02:00
+
+
+
+ 0.0.0.0
+
+
+
+ wlan_ip_address
+
+ 2022-01-11T19:36:57.649+01:00
+ 2022-01-11T07:07:18+01:00
+
+
+
+ 127.0.0.1
+
+
+
+
+
+
+
+ gateway_mode
+ full
+
+ setup
+ light
+ away
+ vacation
+
+ full
+ secure
+
+
+
+
+
diff --git a/userdata/anna_without_boiler_fw42/core.direct_objects.xml b/userdata/anna_without_boiler_fw42/core.direct_objects.xml
new file mode 100644
index 000000000..46fe70667
--- /dev/null
+++ b/userdata/anna_without_boiler_fw42/core.direct_objects.xml
@@ -0,0 +1,480 @@
+
+
+
+ Anna
+ A thermostat
+ thermostat
+ 2019-04-23T20:32:36.648+02:00
+ 2022-01-11T19:35:59.413+01:00
+
+
+
+
+
+ cpu_frequency
+ Hz
+ 2022-01-11T09:37:40+01:00
+ 2022-01-11T09:37:40+01:00
+
+
+
+ 8000000
+
+
+
+ proximity_detection
+
+ 2021-12-10T12:14:17.963+01:00
+ 2021-12-10T12:14:17.963+01:00
+
+
+
+ no_proximity_detected
+
+
+
+ temperature_offset
+ C
+ 2021-10-27T05:31:42.109+02:00
+ 2020-06-03T01:37:16.877+02:00
+
+
+
+ 0.00
+
+
+
+ temperature
+ C
+ 2022-01-11T19:34:45.556+01:00
+ 2022-01-11T18:57:42.765+01:00
+ PT3H
+
+
+ 20.65
+
+
+
+ button_right
+
+ 2021-12-07T19:05:57.517+01:00
+ 2021-12-07T19:05:57.517+01:00
+
+
+
+ up
+
+
+
+ onoff_boiler_temperature_deadband
+ C
+ 2021-10-27T05:31:42.048+02:00
+ 2021-08-06T18:27:55.049+02:00
+
+
+
+ 0.50
+
+
+
+ open_therm_boiler_activation_threshold
+ C
+ 2021-10-27T05:31:42.046+02:00
+ 2020-06-03T01:37:16.729+02:00
+
+
+
+ 10.00
+
+
+
+ button_top
+
+ 2021-12-09T08:39:44.587+01:00
+ 2021-12-09T08:39:44.587+01:00
+
+
+
+ up
+
+
+
+ proximity_sensor_state
+
+ 2021-10-27T05:31:42.104+02:00
+ 2020-05-12T01:22:33.143+02:00
+
+
+
+ on
+
+
+
+ preheating_target_temperature_rate
+ C_hr
+ 2021-10-27T05:31:42.007+02:00
+ 2021-08-06T18:27:54.995+02:00
+
+
+
+ 0.00
+
+
+
+ thermostat
+ C
+ 2022-01-11T07:36:39.747+01:00
+ 2022-01-11T07:36:39.747+01:00
+
+
+
+ 21.00
+
+
+
+ illuminance
+ lx
+ 2022-01-11T19:35:59.410+01:00
+ 2022-01-11T19:35:59.410+01:00
+
+
+
+ 0.25
+
+
+
+ target_temperature
+ C
+ 2022-01-10T06:02:32.062+01:00
+ 2022-01-10T06:02:32.062+01:00
+
+
+
+ 21.00
+
+
+
+ derivative_coefficient
+ s
+ 2021-10-27T05:31:42.053+02:00
+ 2021-08-06T18:27:55.186+02:00
+
+
+
+ 0
+
+
+
+ button_left
+
+ 2021-10-30T17:53:25.158+02:00
+ 2021-10-30T17:53:25.158+02:00
+
+
+
+ up
+
+
+
+ decentral_heat_demand_offset
+ C
+ 2022-01-11T19:36:10.814+01:00
+ 2020-06-03T01:37:16.697+02:00
+
+
+
+ 0.00
+
+
+
+
+
+ 2022-01-11T07:36:39.748+01:00
+ thermostat
+ 21
+ 4
+ 30
+ 0.1
+
+
+
+
+
+ 2021-10-27T05:31:42.104+02:00
+ proximity_sensor_state
+ on
+
+
+
+ 2021-10-27T05:31:42.109+02:00
+ temperature_offset
+ 0
+
+
+
+
+ Central heating boiler
+
+ heater_central
+ 2019-01-31T12:18:35.141+01:00
+ 2022-01-11T19:35:47.806+01:00
+
+
+
+
+ central_heating_state
+
+ 2022-01-11T19:01:05.633+01:00
+ 2022-01-11T19:01:05.633+01:00
+
+
+
+ on
+
+
+
+ intended_central_heating_state
+
+ 2022-01-11T19:01:08.923+01:00
+ 2022-01-11T19:01:08.923+01:00
+
+
+
+ on
+
+
+
+ burner_operation_time
+ s
+ 2022-01-11T19:00:00+01:00
+ 2022-01-11T18:00:00+01:00
+ PT1H
+
+
+ 2081
+
+
+
+
+
+
+ Gateway
+ Container for variables logged about the Gateway in general.
+ gateway
+ 2019-01-31T12:18:40.157+01:00
+ 2022-01-11T19:36:57.687+01:00
+
+
+
+
+ lan_state
+
+ 2022-01-11T19:36:57.688+01:00
+ 2020-05-12T01:22:02.396+02:00
+
+
+
+ down
+
+
+
+ gateway_mode
+
+
+
+
+
+
+
+ link_quality
+
+ 2022-01-11T19:36:57.648+01:00
+ 2022-01-11T19:36:57.648+01:00
+
+
+
+ 63
+
+
+
+ signal_strength
+ dBm
+ 2022-01-11T19:36:57.648+01:00
+ 2022-01-11T19:36:57.648+01:00
+
+
+
+ -47.00
+
+
+
+ wlan_state
+
+ 2022-01-11T19:36:57.649+01:00
+ 2021-11-20T13:03:21.161+01:00
+
+
+
+ up
+
+
+
+ lan_ip_address
+
+ 2022-01-11T19:36:57.688+01:00
+ 2021-10-27T05:27:15+02:00
+
+
+
+ 0.0.0.0
+
+
+
+ wlan_ip_address
+
+ 2022-01-11T19:36:57.649+01:00
+ 2022-01-11T07:07:18+01:00
+
+
+
+ 127.0.0.1
+
+
+
+
+
+
+
+ gateway_mode
+ full
+
+ setup
+ light
+ away
+ vacation
+
+ full
+ secure
+
+
+
+
+
+ Living room
+ The room containing the (central) home thermostat.
+ livingroom
+ 2019-04-23T20:32:38.621+02:00
+ 2022-01-11T18:57:42.781+01:00
+
+ home
+
+
+
+
+
+
+ temperature
+
+ 2022-01-11T18:57:42.765+01:00
+ 2021-10-27T04:19:12.773+02:00
+ PT3H
+
+ 20.65
+
+
+
+ thermostat
+ C
+ 2022-01-11T17:00:00.279+01:00
+ 2021-10-26T22:00:00.531+02:00
+
+
+ 21.00
+
+
+
+
+
+ 2022-01-11T17:00:00.280+01:00
+ thermostat
+ 21
+ 4
+ 30
+ 0.1
+
+ true
+ true
+ active
+
+
+
+
+ Home
+
+ building
+ 2019-01-31T12:18:30.065+01:00
+ 2022-01-11T19:25:46.773+01:00
+
+ home
+
+
+
+
+ humidity
+ RH
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+ PT3H
+
+
+ 87.00
+
+
+
+ weather_description
+
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+
+
+
+ overcast
+
+
+
+ solar_irradiance
+ W_m2
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+
+
+
+ 0.00
+
+
+
+ wind_vector
+ m_s
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+
+
+
+ (2.80,208.00)
+
+
+
+ outdoor_temperature
+ C
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+ PT3H
+
+
+ 3.56
+
+
+
+
+
+
diff --git a/userdata/anna_without_boiler_fw42/core.domain_objects.xml b/userdata/anna_without_boiler_fw42/core.domain_objects.xml
new file mode 100644
index 000000000..87edb5088
--- /dev/null
+++ b/userdata/anna_without_boiler_fw42/core.domain_objects.xml
@@ -0,0 +1,943 @@
+
+
+
+ Client, Pointlog presence template
+ Template for setting default client presence based on point_logs
+ false
+ 2019-01-31T12:18:31.987+01:00
+ 2021-10-27T05:31:10.270+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Relay schedule template
+ Template for scheduling relays on a time, solar time, preset, temperature and humidity basis.
+ false
+ 2021-10-27T05:27:22.732+02:00
+ 2021-10-27T05:31:10.239+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2019-01-31T12:18:34.950+01:00
+ 2021-10-27T05:27:14.088+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Test
+
+
+ true
+ 2019-07-21T23:01:19.294+02:00
+ 2022-01-11T04:08:52.795+01:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2019-01-31T12:18:29.355+01:00
+ 2020-05-12T01:22:20.426+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Zone preset template
+ Template for actuating thermostats and relays on a preset basis.
+ true
+ 2019-01-31T12:18:31.874+01:00
+ 2021-10-27T05:31:10.253+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2019-01-31T12:18:27.957+01:00
+ 2022-01-11T14:14:03.604+01:00
+
+
+
+ true
+ false
+ false
+ 2019-01-31T12:18:27.957+01:00
+ 2021-10-27T05:29:31.740+02:00
+ Plugwise
+ smile_thermo
+ AME Smile 2.0 board
+ 4.2.1
+ 0123456789AB
+ abcdefgh
+ true
+ false
+
+ 127.0.0.1
+ smile000000
+
+ Europe/Amsterdam
+ disabled
+
+ -- Stock
+ Stock which was previously called fulfillment
+ false
+ true
+
+ 2019-04-23T20:39:39.007+02:00
+ 2014-11-19T17:45:10+01:00
+
+
+
+ 4.49
+
+ Sassenheim
+ NL
+
+
+
+ 0
+
+
+
+ 2171
+
+ 52.21
+
+ 2021-10-17T17:03:14.713+02:00
+
+ NL
+ from_1960_to_1990
+
+
+
+
+ terraced
+ EUR
+
+ 2
+
+
+ 2021-10-17T17:03:14.713+02:00
+ 2022-01-09T16:03:29+01:00
+
+
+
+ 2019-02-11T14:11:47+01:00
+ 2038-01-19T04:14:07+01:00
+
+
+
+
+
+ 2019-04-23T20:39:39.066+02:00
+ 2019-02-11T14:11:47+01:00
+
+
+
+
+ Plugwise
+ ThermoExtension
+ 6539-1301-2302
+ 2018-02-08T11:15:57+01:00
+ 2019-01-31T12:18:32.804+01:00
+ 2019-04-23T20:33:05.222+02:00
+
+
+
+
+
+
+
+ Relay schedule template
+ Template for scheduling relays on a time and preset basis.
+ false
+ 2019-01-31T12:18:31.754+01:00
+ 2021-10-27T05:31:10.235+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Anna
+ A thermostat
+ thermostat
+ 2019-04-23T20:32:36.648+02:00
+ 2022-01-11T19:35:59.413+01:00
+
+
+
+
+
+ cpu_frequency
+ Hz
+ 2022-01-11T09:37:40+01:00
+ 2022-01-11T09:37:40+01:00
+
+
+
+ 8000000
+
+
+
+ proximity_detection
+
+ 2021-12-10T12:14:17.963+01:00
+ 2021-12-10T12:14:17.963+01:00
+
+
+
+ no_proximity_detected
+
+
+
+ temperature_offset
+ C
+ 2021-10-27T05:31:42.109+02:00
+ 2020-06-03T01:37:16.877+02:00
+
+
+
+ 0.00
+
+
+
+ temperature
+ C
+ 2022-01-11T19:34:45.556+01:00
+ 2022-01-11T18:57:42.765+01:00
+ PT3H
+
+
+ 20.65
+
+
+
+ button_right
+
+ 2021-12-07T19:05:57.517+01:00
+ 2021-12-07T19:05:57.517+01:00
+
+
+
+ up
+
+
+
+ onoff_boiler_temperature_deadband
+ C
+ 2021-10-27T05:31:42.048+02:00
+ 2021-08-06T18:27:55.049+02:00
+
+
+
+ 0.50
+
+
+
+ open_therm_boiler_activation_threshold
+ C
+ 2021-10-27T05:31:42.046+02:00
+ 2020-06-03T01:37:16.729+02:00
+
+
+
+ 10.00
+
+
+
+ button_top
+
+ 2021-12-09T08:39:44.587+01:00
+ 2021-12-09T08:39:44.587+01:00
+
+
+
+ up
+
+
+
+ proximity_sensor_state
+
+ 2021-10-27T05:31:42.104+02:00
+ 2020-05-12T01:22:33.143+02:00
+
+
+
+ on
+
+
+
+ preheating_target_temperature_rate
+ C_hr
+ 2021-10-27T05:31:42.007+02:00
+ 2021-08-06T18:27:54.995+02:00
+
+
+
+ 0.00
+
+
+
+ thermostat
+ C
+ 2022-01-11T07:36:39.747+01:00
+ 2022-01-11T07:36:39.747+01:00
+
+
+
+ 21.00
+
+
+
+ illuminance
+ lx
+ 2022-01-11T19:35:59.410+01:00
+ 2022-01-11T19:35:59.410+01:00
+
+
+
+ 0.25
+
+
+
+ target_temperature
+ C
+ 2022-01-10T06:02:32.062+01:00
+ 2022-01-10T06:02:32.062+01:00
+
+
+
+ 21.00
+
+
+
+ derivative_coefficient
+ s
+ 2021-10-27T05:31:42.053+02:00
+ 2021-08-06T18:27:55.186+02:00
+
+
+
+ 0
+
+
+
+ button_left
+
+ 2021-10-30T17:53:25.158+02:00
+ 2021-10-30T17:53:25.158+02:00
+
+
+
+ up
+
+
+
+ decentral_heat_demand_offset
+ C
+ 2022-01-11T19:36:10.814+01:00
+ 2020-06-03T01:37:16.697+02:00
+
+
+
+ 0.00
+
+
+
+
+
+ 2022-01-11T07:36:39.748+01:00
+ thermostat
+ 21
+ 4
+ 30
+ 0.1
+
+
+
+
+
+ 2021-10-27T05:31:42.104+02:00
+ proximity_sensor_state
+ on
+
+
+
+ 2021-10-27T05:31:42.109+02:00
+ temperature_offset
+ 0
+
+
+
+
+ Normal
+
+
+ true
+ 2019-04-23T21:36:02.911+02:00
+ 2022-01-11T04:08:52.793+01:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Living room
+ The room containing the (central) home thermostat.
+ livingroom
+ 2019-04-23T20:32:38.621+02:00
+ 2022-01-11T18:57:42.781+01:00
+
+ home
+
+
+
+
+
+
+ temperature
+
+ 2022-01-11T18:57:42.765+01:00
+ 2021-10-27T04:19:12.773+02:00
+ PT3H
+
+ 20.65
+
+
+
+ thermostat
+ C
+ 2022-01-11T17:00:00.279+01:00
+ 2021-10-26T22:00:00.531+02:00
+
+
+ 21.00
+
+
+
+
+
+ 2022-01-11T17:00:00.280+01:00
+ thermostat
+ 21
+ 4
+ 30
+ 0.1
+
+ true
+ true
+ active
+
+
+
+
+ Relay schedule template
+ Template for scheduling relays on a time basis.
+ true
+ 2019-01-31T12:18:31.802+01:00
+ 2021-10-27T05:31:10.242+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+ Zone preset schedule template
+ Template for scheduling presets on a presence or time basis with the option to override the preset's setpoint/state.
+ true
+ 2019-01-31T12:18:31.936+01:00
+ 2021-10-27T05:31:10.264+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2019-04-23T20:32:37.407+02:00
+ 2021-10-27T05:31:38.820+02:00
+
+
+
+
+
+ economy
+ on
+ medium
+ underfloor_and_radiator
+ 120
+ off
+ 24
+ 10
+ 0.5
+ 0.5
+ 1.5
+ 85
+ 55
+ 0
+ 25
+ 7
+
+
+ Gateway
+ Container for variables logged about the Gateway in general.
+ gateway
+ 2019-01-31T12:18:40.157+01:00
+ 2022-01-11T19:36:57.687+01:00
+
+
+
+
+ lan_state
+
+ 2022-01-11T19:36:57.688+01:00
+ 2020-05-12T01:22:02.396+02:00
+
+
+
+ down
+
+
+
+ gateway_mode
+
+
+
+
+
+
+
+ link_quality
+
+ 2022-01-11T19:36:57.648+01:00
+ 2022-01-11T19:36:57.648+01:00
+
+
+
+ 63
+
+
+
+ signal_strength
+ dBm
+ 2022-01-11T19:36:57.648+01:00
+ 2022-01-11T19:36:57.648+01:00
+
+
+
+ -47.00
+
+
+
+ wlan_state
+
+ 2022-01-11T19:36:57.649+01:00
+ 2021-11-20T13:03:21.161+01:00
+
+
+
+ up
+
+
+
+ lan_ip_address
+
+ 2022-01-11T19:36:57.688+01:00
+ 2021-10-27T05:27:15+02:00
+
+
+
+ 0.0.0.0
+
+
+
+ wlan_ip_address
+
+ 2022-01-11T19:36:57.649+01:00
+ 2022-01-11T07:07:18+01:00
+
+
+
+ 127.0.0.1
+
+
+
+
+
+
+
+ gateway_mode
+ full
+
+ setup
+ light
+ away
+ vacation
+
+ full
+ secure
+
+
+
+
+
+ Plugwise
+ ThermoTouch
+ 6539-1301-5002
+ 2018-02-08T11:15:53+01:00
+ 2019-04-23T20:32:36.476+02:00
+ 2021-10-27T05:27:21.766+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Central heating boiler
+
+ heater_central
+ 2019-01-31T12:18:35.141+01:00
+ 2022-01-11T19:35:47.806+01:00
+
+
+
+
+ central_heating_state
+
+ 2022-01-11T19:01:05.633+01:00
+ 2022-01-11T19:01:05.633+01:00
+
+
+
+ on
+
+
+
+ intended_central_heating_state
+
+ 2022-01-11T19:01:08.923+01:00
+ 2022-01-11T19:01:08.923+01:00
+
+
+
+ on
+
+
+
+ burner_operation_time
+ s
+ 2022-01-11T19:00:00+01:00
+ 2022-01-11T18:00:00+01:00
+ PT1H
+
+
+ 2081
+
+
+
+
+
+
+ Plugwise
+ Gateway
+ AME Smile 2.0 board
+
+ 2019-01-31T12:18:28.199+01:00
+ 2021-10-27T05:27:21.843+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Thermostat presets
+ Provides presets for a Location.
+
+ true
+ 2019-04-23T20:32:39.223+02:00
+ 2021-12-17T23:23:14.127+01:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Home
+
+ building
+ 2019-01-31T12:18:30.065+01:00
+ 2022-01-11T19:25:46.773+01:00
+
+ home
+
+
+
+
+ humidity
+ RH
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+ PT3H
+
+
+ 87.00
+
+
+
+ weather_description
+
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+
+
+
+ overcast
+
+
+
+ solar_irradiance
+ W_m2
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+
+
+
+ 0.00
+
+
+
+ wind_vector
+ m_s
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+
+
+
+ (2.80,208.00)
+
+
+
+ outdoor_temperature
+ C
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+ PT3H
+
+
+ 3.56
+
+
+
+
+
+
diff --git a/userdata/anna_without_boiler_fw42/core.locations.xml b/userdata/anna_without_boiler_fw42/core.locations.xml
new file mode 100644
index 000000000..b67af4b3c
--- /dev/null
+++ b/userdata/anna_without_boiler_fw42/core.locations.xml
@@ -0,0 +1,121 @@
+
+
+
+ Living room
+ The room containing the (central) home thermostat.
+ livingroom
+ 2019-04-23T20:32:38.621+02:00
+ 2022-01-11T18:57:42.781+01:00
+
+ home
+
+
+
+
+
+
+ temperature
+
+ 2022-01-11T18:57:42.765+01:00
+ 2021-10-27T04:19:12.773+02:00
+ PT3H
+
+ 20.65
+
+
+
+ thermostat
+ C
+ 2022-01-11T17:00:00.279+01:00
+ 2021-10-26T22:00:00.531+02:00
+
+
+ 21.00
+
+
+
+
+
+ 2022-01-11T17:00:00.280+01:00
+ thermostat
+ 21
+ 4
+ 30
+ 0.1
+
+ true
+ true
+ active
+
+
+
+
+ Home
+
+ building
+ 2019-01-31T12:18:30.065+01:00
+ 2022-01-11T19:25:46.773+01:00
+
+ home
+
+
+
+
+ humidity
+ RH
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+ PT3H
+
+
+ 87.00
+
+
+
+ weather_description
+
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+
+
+
+ overcast
+
+
+
+ solar_irradiance
+ W_m2
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+
+
+
+ 0.00
+
+
+
+ wind_vector
+ m_s
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+
+
+
+ (2.80,208.00)
+
+
+
+ outdoor_temperature
+ C
+ 2022-01-11T19:25:45+01:00
+ 2022-01-11T19:25:45+01:00
+ PT3H
+
+
+ 3.56
+
+
+
+
+
+
diff --git a/userdata/anna_without_boiler_fw42/core.modules.xml b/userdata/anna_without_boiler_fw42/core.modules.xml
new file mode 100644
index 000000000..3a3a3ed63
--- /dev/null
+++ b/userdata/anna_without_boiler_fw42/core.modules.xml
@@ -0,0 +1,168 @@
+
+
+
+
+
+
+
+ 2019-01-31T12:18:29.355+01:00
+ 2020-05-12T01:22:20.426+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Plugwise
+ ThermoTouch
+ 6539-1301-5002
+ 2018-02-08T11:15:53+01:00
+ 2019-04-23T20:32:36.476+02:00
+ 2021-10-27T05:27:21.766+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Plugwise
+ Gateway
+ AME Smile 2.0 board
+
+ 2019-01-31T12:18:28.199+01:00
+ 2021-10-27T05:27:21.843+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2019-01-31T12:18:34.950+01:00
+ 2021-10-27T05:27:14.088+02:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Plugwise
+ ThermoExtension
+ 6539-1301-2302
+ 2018-02-08T11:15:57+01:00
+ 2019-01-31T12:18:32.804+01:00
+ 2019-04-23T20:33:05.222+02:00
+
+
+
+
+
+
+
diff --git a/userdata/legacy_anna_2/core.domain_objects.xml b/userdata/legacy_anna_2/core.domain_objects.xml
index 16f2bcb40..ccfbf0fcd 100644
--- a/userdata/legacy_anna_2/core.domain_objects.xml
+++ b/userdata/legacy_anna_2/core.domain_objects.xml
@@ -138,7 +138,7 @@
2020-04-09T10:58:36.690+02:00
- on
+ off
@@ -1020,7 +1020,7 @@
Thermostat schedule
Provides a week schedule for a Thermostat.
- true
+ false
2018-03-06T11:21:41.683+01:00
2020-04-09T10:58:34.243+02:00