diff --git a/devices/__init__.py b/devices/__init__.py index 46a2717..06bc624 100644 --- a/devices/__init__.py +++ b/devices/__init__.py @@ -1,5 +1,6 @@ from simulation.devices import tradfri_light +from simulation.devices import silvercrest_powerplug from simulation.devices import shelly as shelly_sw1 from simulation.devices import brennenstuhl_heatingvalve @@ -29,7 +30,6 @@ shelly_pro3 = None tradfri_button = None hue_sw_br_ct = None silvercrest_button = None -silvercrest_powerplug = None silvercrest_motion_sensor = None audio_status = None remote = None diff --git a/report b/report index e2392c9..1526900 160000 --- a/report +++ b/report @@ -1 +1 @@ -Subproject commit e2392c9f28d88ee54463681850acf95ae496c9a0 +Subproject commit 152690007a3b87ee0047bcad78b2673111ff1928 diff --git a/simulation/rooms.py b/simulation/rooms.py index 92cb3e2..cc2bbff 100644 --- a/simulation/rooms.py +++ b/simulation/rooms.py @@ -49,11 +49,6 @@ class gfw_floor(base): self.main_light_zigbee = pd.get(props.STG_ZGW, loc, roo, props.FUN_MAL) # , True, True, True, False self.main_light.add_callback(self.main_light.KEY_OUTPUT_0, True, self.main_light_zigbee.power_on) self.main_light.add_callback(self.main_light.KEY_OUTPUT_0, False, self.main_light_zigbee.power_off) - # TODO: Ist "self.main_light_zigbee" schon eine Gruppe??? - # self.main_light_zigbee_2 = tradfri_light(mqtt_client, config.TOPIC_GFW_FLOOR_MAIN_LIGHT_ZIGBEE % 2, True, True, True, False) - # self.main_light.add_callback(self.main_light.KEY_OUTPUT_0, True, self.main_light_zigbee_2.power_on) - # self.main_light.add_callback(self.main_light.KEY_OUTPUT_0, False, self.main_light_zigbee_2.power_off) - # self.videv_main_light = videv_light(mqtt_client, config.TOPIC_GFW_FLOOR_MAIN_LIGHT_VIDEV, True, True, True) @@ -176,12 +171,25 @@ class ffw_bath(base): self.videv_heating = videv_heating(mqtt_client, config.TOPIC_FFW_BATH_HEATING_VALVE_VIDEV) +class ffw_floor(base): + def __init__(self, mqtt_client, pd): + loc = props.LOC_FFW + roo = props.ROO_FLO + # + self.main_light = pd.get(props.STG_SHE, loc, roo, props.FUN_MAL) + self.main_light.configure(input_0_func=self.main_light.INPUT_FUNC_OUT1_TRIGGER) + self.main_light.add_channel_name(self.main_light.KEY_OUTPUT_0, "Main Light") + # + self.videv_main_light = videv_light(mqtt_client, config.TOPIC_FFW_SLEEP_MAIN_LIGHT_VIDEV, True, False, False) + + class ffw(base): def __init__(self, mqtt_client, pd): self.julian = ffw_julian(mqtt_client, pd) self.livingroom = ffw_livingroom(mqtt_client, pd) self.sleep = ffw_sleep(mqtt_client, pd) self.bath = ffw_bath(mqtt_client, pd) + self.floor = ffw_floor(mqtt_client, pd) class ffe_floor(base): @@ -224,19 +232,18 @@ class ffe_diningroom(base): self.main_light.configure(input_0_func=self.main_light.INPUT_FUNC_OUT1_TRIGGER) self.main_light.add_channel_name(self.main_light.KEY_OUTPUT_0, "Main Light") - # TODO: Add this again... - # self.floor_lamp = silvercrest_powerplug(mqtt_client, config.TOPIC_FFE_DININGROOM_FLOOR_LAMP_POWERPLUG) - # self.floor_lamp.add_channel_name(self.floor_lamp.KEY_OUTPUT_0, "Floor Lamp") + self.floor_lamp = pd.get(props.STG_ZFE, loc, roo, props.FUN_FLL) + self.floor_lamp.add_channel_name(self.floor_lamp.KEY_OUTPUT_0, "Floor Lamp") - # if config.CHRISTMAS: - # self.garland = silvercrest_powerplug(mqtt_client, config.TOPIC_FFE_DININGROOM_GARLAND_POWERPLUG) - # self.garland.add_channel_name(self.garland, "Garland") + if config.CHRISTMAS: + self.garland = pd.get(props.STG_ZFE, loc, roo, props.FUN_GAR) + self.garland.add_channel_name(self.garland.KEY_OUTPUT_0, "Garland") # - # self.videv_main_light = videv_light(mqtt_client, config.TOPIC_FFE_DININGROOM_MAIN_LIGHT_VIDEV, True, False, False) - # self.videv_floor_lamp = videv_light(mqtt_client, config.TOPIC_FFE_DININGROOM_FLOOR_LAMP_VIDEV, True, False, False) - # if config.CHRISTMAS: - # self.videv_garland = videv_light(mqtt_client, config.TOPIC_FFE_DININGROOM_GARLAND_VIDEV, True, False, False) + self.videv_main_light = videv_light(mqtt_client, config.TOPIC_FFE_DININGROOM_MAIN_LIGHT_VIDEV, True, False, False) + self.videv_floor_lamp = videv_light(mqtt_client, config.TOPIC_FFE_DININGROOM_FLOOR_LAMP_VIDEV, True, False, False) + if config.CHRISTMAS: + self.videv_garland = videv_light(mqtt_client, config.TOPIC_FFE_DININGROOM_GARLAND_VIDEV, True, False, False) class ffe_sleep(base): @@ -251,18 +258,17 @@ class ffe_sleep(base): self.main_light.add_callback(self.main_light.KEY_OUTPUT_0, True, self.main_light_zigbee.power_on) self.main_light.add_callback(self.main_light.KEY_OUTPUT_0, False, self.main_light_zigbee.power_off) - # TODO: Add this again... - # self.bed_light_di_zigbee = tradfri_light(mqtt_client, config.TOPIC_FFE_SLEEP_BED_LIGHT_DI_ZIGBEE, True, True, False) - # self.bed_light_ma = silvercrest_powerplug(mqtt_client, config.TOPIC_FFE_SLEEP_BED_LIGHT_MA_POWERPLUG) + self.bed_light_di_zigbee = pd.get(props.STG_ZFE, loc, roo, props.FUN_BLD) + self.bed_light_ma = pd.get(props.STG_ZFE, loc, roo, props.FUN_BLM) + self.bed_light_ma.add_channel_name(self.bed_light_ma.KEY_OUTPUT_0, "Bed light Marion") self.heating_valve = pd.get(props.STG_ZFE, loc, roo, props.FUN_HEA) # self.videv_main_light = videv_light(mqtt_client, config.TOPIC_FFE_SLEEP_MAIN_LIGHT_VIDEV, True, True, True) - # TODO: Add this again... - # self.videv_bed_light_ma = videv_light(mqtt_client, config.TOPIC_FFE_SLEEP_BED_LIGHT_MA_VIDEV, True, False, False) - # self.videv_bed_light_di = videv_light(mqtt_client, config.TOPIC_FFE_SLEEP_BED_LIGHT_DI_VIDEV, True, True, False) - # self.videv_bed_light_ma = videv_light(mqtt_client, config.TOPIC_FFE_SLEEP_BED_LIGHT_MA_VIDEV, True, False, False) + + self.videv_bed_light_ma = videv_light(mqtt_client, config.TOPIC_FFE_SLEEP_BED_LIGHT_MA_VIDEV, True, False, False) + self.videv_bed_light_di = videv_light(mqtt_client, config.TOPIC_FFE_SLEEP_BED_LIGHT_DI_VIDEV, True, True, False) self.videv_heating = videv_heating(mqtt_client, config.TOPIC_FFE_SLEEP_HEATING_VALVE_VIDEV) @@ -279,22 +285,19 @@ class ffe_livingroom(base): self.main_light.add_callback(self.main_light.KEY_OUTPUT_0, True, self.main_light_zigbee.power_on) self.main_light.add_callback(self.main_light.KEY_OUTPUT_0, False, self.main_light_zigbee.power_off) - # TODO: Add this again... - # for i in range(1, 7): - # setattr(self, "floor_lamp_zigbee_%d" % i, tradfri_light(mqtt_client, config.TOPIC_FFE_LIVINGROOM_FLOOR_LAMP_ZIGBEE % i, True, True, True)) + self.floor_lamp_zigbee = pd.get(props.STG_ZFE, loc, roo, props.FUN_FLL) - # if config.CHRISTMAS: - # self.xmas_tree = silvercrest_powerplug(mqtt_client, config.TOPIC_FFE_LIVINGROOM_XMAS_TREE_POWERPLUG) - # self.xmas_tree.add_channel_name(self.xmas_tree, "Xmas-Tree") - # self.xmas_star = silvercrest_powerplug(mqtt_client, config.TOPIC_FFE_LIVINGROOM_XMAS_STAR_POWERPLUG) - # self.xmas_star.add_channel_name(self.xmas_star, "Xmas-Star") + if config.CHRISTMAS: + self.xmas_tree = pd.get(props.STG_ZFE, loc, roo, props.FUN_XTR) + self.xmas_tree.add_channel_name(self.xmas_tree.KEY_OUTPUT_0, "Xmas-Tree") + self.xmas_star = pd.get(props.STG_ZFE, loc, roo, props.FUN_XST) + self.xmas_star.add_channel_name(self.xmas_star.KEY_OUTPUT_0, "Xmas-Star") # self.videv_main_light = videv_light(mqtt_client, config.TOPIC_FFE_LIVINGROOM_MAIN_LIGHT_VIDEV, True, True, True) - # TODO: Add this again... - # self.videv_floor_lamp = videv_light(mqtt_client, config.TOPIC_FFE_LIVINGROOM_FLOOR_LAMP_VIDEV, True, True, True) - # if config.CHRISTMAS: - # self.videv_xmas_tree = videv_light(mqtt_client, config.TOPIC_FFE_LIVINGROOM_XMAS_TREE_VIDEV) + self.videv_floor_lamp = videv_light(mqtt_client, config.TOPIC_FFE_LIVINGROOM_FLOOR_LAMP_VIDEV, True, True, True) + if config.CHRISTMAS: + self.videv_xmas_tree = videv_light(mqtt_client, config.TOPIC_FFE_LIVINGROOM_XMAS_TREE_VIDEV) class ffe(base): @@ -325,5 +328,4 @@ class house(base): self.ffw = ffw(mqtt_client, pd) self.ffe = ffe(mqtt_client, pd) self.stairway = stairway(mqtt_client, pd) - # TODO: Add this again... - # self.warnings = videv_warnings(mqtt_client, pd, config.TOPIC_WARNINGS) + self.warnings = videv_warnings(mqtt_client, config.TOPIC_WARNINGS) diff --git a/smart_brain_test.py b/smart_brain_test.py index 7f9e5f8..15a8dd0 100644 --- a/smart_brain_test.py +++ b/smart_brain_test.py @@ -1,10 +1,14 @@ +import argparse import config import devdi.devices import mqtt -import readline from simulation.rooms import house -import sys -from tests.all import test_smarthome +import report +import os +import time + +import tests.help + # TODO: Reimplement existing test # TODO: Extend tests in simulation @@ -16,95 +20,47 @@ from tests.all import test_smarthome # - Heating functionality (extended: mode switch off by other function, timer) # - Circulation pump (Extend Timer) # - Stairways (Extend Motion sensor and Timer) +def cleanup(tLogger): + time.sleep(0.5) + tLogger.debug("Collecting startup logs...") + if __name__ == "__main__": + # Command line arguments + tcel = { + "single": report.TCEL_SINGLE, + "full": report.TCEL_FULL + } + parser = argparse.ArgumentParser() + parser.add_argument("level", help="Set the execution level", choices=tcel.keys(), default="full") + args = parser.parse_args() + # # MQTT Client # mc = mqtt.mqtt_client(host=config.MQTT_SERVER, port=config.MQTT_PORT, username=config.MQTT_USER, - password=config.MQTT_PASSWORD, name=config.APP_NAME + '_simulation') + password=config.MQTT_PASSWORD, name=config.APP_NAME) # # Smarthome physical Devices # pd = devdi.devices.physical_devices(mc) # - COMMANDS = ['quit', 'help'] + # House instance # h = house(mc, pd) - for name in h.getmembers(): - d = h.getobjbyname(name) - if d.capabilities() is None: - print("\n\n" + 2*"**********\n" + "\n" + name + "\n\n" + 2*"**********\n" + "\n\n") - print(type(d)) - sys.exit(2) - else: - for c in d.capabilities(): - COMMANDS.append(name + '.' + c) + # - ts = test_smarthome(h, mc) - for name in ts.getmembers(): - d = ts.getobjbyname(name) - for c in d.capabilities(): - COMMANDS.append('test.' + name + '.' + c) - - def reduced_list(text): - """ - Create reduced completation list - """ - reduced_list = {} - for cmd in COMMANDS: - next_dot = cmd[len(text):].find('.') - if next_dot >= 0: - reduced_list[cmd[:len(text) + next_dot + 1]] = None - else: - reduced_list[cmd] = None - return reduced_list.keys() - - def completer(text, state): - """ - Our custom completer function - """ - options = [x for x in reduced_list(text) if x.startswith(text)] - return options[state] - - def complete(text, state): - for cmd in COMMANDS: - if cmd.startswith(text): - if not state: - hit = "" - index = 0 - sub_list = cmd.split('.') - while len(text) >= len(hit): - hit += sub_list[index] + '.' - return hit # cmd - else: - state -= 1 - - if len(sys.argv) == 1: - readline.parse_and_bind("tab: complete") - readline.set_completer(completer) - print("\nEnter command: ") - while True: - userfeedback = input('') - command = userfeedback.split(' ')[0] - if userfeedback == 'quit': - break - elif userfeedback == 'help': - print("Help is not yet implemented!") - elif userfeedback.startswith("test"): - ts.command(userfeedback) - elif command in COMMANDS[2:]: - h.command(userfeedback) - elif userfeedback != "": - print("Unknown command!") - else: - print() - else: - cmd = sys.argv[1] - if cmd.startswith('test'): - ts.command(cmd) - else: - h.command(cmd) - - ts.close() + # Testsuite + # + ts = tests.help.testSession(mc, tcel=tcel.get(args.level)) + # Clean-Up + ts.testCase('Clean-Up', report.TCEL_SINGLE, cleanup) + # Add and run tests + tests.add_all_testcases(ts, mc, h) + # Export testresults + BASEPATH = os.path.abspath(os.path.join(os.path.dirname(__file__))) + ts.export_results_to( + template_file=os.path.join(BASEPATH, 'unittest', 'templates', 'unittest.tex'), + path=os.path.join(BASEPATH, "testresults") + ) diff --git a/testresults/testrun.tex b/testresults/testrun.tex deleted file mode 100644 index 6d56660..0000000 --- a/testresults/testrun.tex +++ /dev/null @@ -1,2502 +0,0 @@ - -\documentclass[a4paper]{article} -%\documentclass[a4paper,landscape]{article} - -\renewcommand{\familydefault}{\sfdefault} -\usepackage[table]{xcolor} -\definecolor{orange}{rgb}{1, 0.7, 0} -\definecolor{lightgrey}{rgb}{0.925, 0.925, 0.925} - -\setlength{\topmargin}{-3cm} -\setlength{\oddsidemargin}{-0.5cm} -\setlength{\evensidemargin}{0cm} -\setlength{\textwidth}{17.5cm} -\setlength{\textheight}{24.5cm} -%\setlength{\textwidth}{25cm} -%\setlength{\textheight}{15cm} -\setlength{\headheight}{84pt} - -\usepackage{fancyvrb} -\usepackage{fvextra} -%\usepackage{framed,color} -%\newenvironment{modulelog}{\snugshade\Verbatim}{\endVerbatim\endsnugshade} -\usepackage{adjustbox} -\newenvironment{modulelog}% -{\par\noindent\adjustbox{margin=0ex,bgcolor=shadecolor,margin=0ex}\bgroup\varwidth\linewidth\Verbatim}% -{\endVerbatim\endvarwidth\egroup} -%\usepackage{xcolor} - -\renewcommand{\baselinestretch}{1,2} -\setlength{\parindent}{0pt} -\setlength{\parskip}{9pt plus3pt minus3pt} - -\usepackage{listings} -\usepackage{color} -\definecolor{bg-partially-covered}{rgb}{1,1,0.6} % light-yellow -\definecolor{bg-uncovered}{rgb}{1,0.8,0.8} % light-red -\definecolor{bg-covered}{rgb}{0.95,1,0.95} % very light-green -\definecolor{bg-clean}{rgb}{1,1,1} % white -\definecolor{mygreen}{rgb}{0,0.6,0} -\definecolor{mygray}{rgb}{0.5,0.5,0.5} -\definecolor{mymauve}{rgb}{0.58,0,0.82} -\lstset{ % - backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}; should come as last argument - basicstyle=\footnotesize, % the size of the fonts that are used for the code - breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace - breaklines=true, % sets automatic line breaking - captionpos=b, % sets the caption-position to bottom - commentstyle=\color{mygreen}, % comment style - deletekeywords={...}, % if you want to delete keywords from the given language - escapeinside={\%*}{*)}, % if you want to add LaTeX within your code - extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8 - frame=none, % adds a frame around the code - keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible) - keywordstyle=\color{blue}, % keyword style - language=Octave, % the language of the code - morekeywords={*,...}, % if you want to add more keywords to the set - numbers=left, % where to put the line-numbers; possible values are (none, left, right) - numbersep=5pt, % how far the line-numbers are from the code - numberstyle=\tiny\color{mygray}, % the style that is used for the line-numbers - rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here)) - showlines=true, - showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces' - showstringspaces=false, % underline spaces within strings only - showtabs=false, % show tabs within strings adding particular underscores - stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered - stringstyle=\color{mymauve}, % string literal style - tabsize=2, % sets default tabsize to 2 spaces -} -\usepackage{hyperref} -\usepackage{longtable}[=v4.13] -\usepackage{tabu} -\usepackage{multicol} -\usepackage{booktabs} -\usepackage{graphicx} -\usepackage{lastpage} % for the number of the last page in the document -\usepackage{fancyhdr} - -\fancyhf{} -\renewcommand{\headrulewidth}{0pt} -\renewcommand{\footrulewidth}{0pt} -\lhead{\textcolor{gray}{}} -\chead{\textcolor{gray}{ Unittest for {\tt smart\_brain }}} -\rhead{\textcolor{gray}{}} -\lfoot{\textcolor{gray}{}} -\cfoot{\textcolor{gray}{}} -\rfoot{\textcolor{gray}{\thepage\,/ \pageref{LastPage}}} - -\begin{document} - -\begin{titlepage} -\date{\today} -\title{ - Unittest for {\tt smart\_brain } -} -\date{\today} -\maketitle -\thispagestyle{empty} -\newpage -\end{titlepage} - -\setcounter{page}{1} -\pagestyle{fancy} - -\tableofcontents -\newpage - -\section{Test System Information} -\begin{tabu} to \linewidth {lX} -\toprule -{\bf System Information} & \\ -\midrule -Architecture & 64bit \\ -Machine & x86\_64 \\ -Hostname & ahorn \\ -Distribution & Linux Mint 21.1 (vera) \\ -System & Linux \\ -Kernel & 5.15.0-60-generic (\#66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023) \\ -Username & dirk \\ -Path & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test \\ -\bottomrule -\end{tabu} - -\section{Test Object Information} -\begin{tabu} to \linewidth {lX} -\toprule -{\bf Test object Information} & \\ -\midrule -Test Object Name & smart\_brain \\ -Test Object Vesion & 1.2.0 \\ -GIT repository & https:/\allowbreak /\allowbreak git.mount-mockery.de/\allowbreak smarthome/\allowbreak smart\_brain.git\\ -GIT reference & f3ed72974e5fd3bf932ab78acdf0a1d6154dd733\\ -\bottomrule -\end{tabu} - - -\section{Summary} -\begin{tabu} to \linewidth {lX} - \toprule - Number of tests & {\bf 67}\\ - Number of successfull tests & {\bf 67}\\ - Number of possibly failed tests & \textcolor{black}{\bf 0}\\ - Number of failed tests & \textcolor{black}{\bf 0}\\ - \midrule - Executionlevel & Full Test (all defined tests)\\ - Time consumption & 84.664s\\ - \bottomrule -\end{tabu} - - - - - - - \section{\textcolor{green}{Testcases (Success)}} - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak diningroom/\allowbreak powerplug\_floorlamp } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:23,206\\ -Finished-Time: & 2023-02-15 07:13:24,415\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak diningroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:24,416\\ -Finished-Time: & 2023-02-15 07:13:25,627\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off synchronisation test: shellies/\allowbreak ffe/\allowbreak diningroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (24)\\ -Start-Time: & 2023-02-15 07:13:25,627\\ -Finished-Time: & 2023-02-15 07:13:26,532\\ -Time-Consumption & 0.905s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'False'\\ -\bf{\,Info } & Changing master device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak diningroom/\allowbreak powerplug\_floorlamp) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing master device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak diningroom/\allowbreak powerplug\_floorlamp) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak floor/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:26,533\\ -Finished-Time: & 2023-02-15 07:13:27,743\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak kitchen/\allowbreak circulation\_pump } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:27,744\\ -Finished-Time: & 2023-02-15 07:13:28,953\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak kitchen/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:28,954\\ -Finished-Time: & 2023-02-15 07:13:30,164\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:13:30,165\\ -Finished-Time: & 2023-02-15 07:13:31,978\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:13:31,979\\ -Finished-Time: & 2023-02-15 07:13:33,792\\ -Time-Consumption & 1.813s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:33,793\\ -Finished-Time: & 2023-02-15 07:13:35,004\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:13:35,005\\ -Finished-Time: & 2023-02-15 07:13:36,817\\ -Time-Consumption & 1.812s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:13:36,818\\ -Finished-Time: & 2023-02-15 07:13:38,632\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:38,632\\ -Finished-Time: & 2023-02-15 07:13:39,843\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness synchronisation test: videv/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (42)\\ -Start-Time: & 2023-02-15 07:13:39,844\\ -Finished-Time: & 2023-02-15 07:13:41,055\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'True' (Power on)\\ -\bf{\,Info } & Changing master device brightness to '35'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing master device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting preconditions for master device 'False' (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Color temperature synchronisation test: videv/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (67)\\ -Start-Time: & 2023-02-15 07:13:41,056\\ -Finished-Time: & 2023-02-15 07:13:42,266\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'True' (Power on)\\ -\bf{\,Info } & Changing master device color temperature to '2'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing master device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting preconditions for master device 'False' (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off synchronisation test: shellies/\allowbreak ffe/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (24)\\ -Start-Time: & 2023-02-15 07:13:42,267\\ -Finished-Time: & 2023-02-15 07:13:43,177\\ -Time-Consumption & 0.910s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'False'\\ -\bf{\,Info } & Changing master device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing master device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak bed\_light\_di } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:13:43,177\\ -Finished-Time: & 2023-02-15 07:13:44,990\\ -Time-Consumption & 1.812s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak bed\_light\_di } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:44,990\\ -Finished-Time: & 2023-02-15 07:13:46,199\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak bed\_light\_ma } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:46,200\\ -Finished-Time: & 2023-02-15 07:13:47,410\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Away mode test: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (101)\\ -Start-Time: & 2023-02-15 07:13:47,411\\ -Finished-Time: & 2023-02-15 07:13:48,318\\ -Time-Consumption & 0.908s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ -\bf{\,Info } & Deactivating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Boost mode test: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (128)\\ -Start-Time: & 2023-02-15 07:13:48,319\\ -Finished-Time: & 2023-02-15 07:13:49,225\\ -Time-Consumption & 0.906s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Activating boost mode\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is greater expectation (Content 900 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Setting postconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Default temperature test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (50)\\ -Start-Time: & 2023-02-15 07:13:49,225\\ -Finished-Time: & 2023-02-15 07:13:49,830\\ -Time-Consumption & 0.604s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Valve setpoint to 16.5)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Triggering set to default temperature (21.5)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Summer mode test: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (74)\\ -Start-Time: & 2023-02-15 07:13:49,830\\ -Finished-Time: & 2023-02-15 07:13:50,738\\ -Time-Consumption & 0.908s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ User temperature setpoint test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (22)\\ -Start-Time: & 2023-02-15 07:13:50,738\\ -Finished-Time: & 2023-02-15 07:13:51,949\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Changing valve temperature setpoint to '16.5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '21.5'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bf{\,Info } & Changing valve temperature setpoint to '16.5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '21.5'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:13:51,949\\ -Finished-Time: & 2023-02-15 07:13:53,764\\ -Time-Consumption & 1.815s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:13:53,764\\ -Finished-Time: & 2023-02-15 07:13:55,578\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak sleep/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:55,579\\ -Finished-Time: & 2023-02-15 07:13:56,789\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Away mode test: zigbee/\allowbreak ffw/\allowbreak bath/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (101)\\ -Start-Time: & 2023-02-15 07:13:56,790\\ -Finished-Time: & 2023-02-15 07:13:57,697\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Boost mode test: zigbee/\allowbreak ffw/\allowbreak bath/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (128)\\ -Start-Time: & 2023-02-15 07:13:57,698\\ -Finished-Time: & 2023-02-15 07:13:58,604\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Activating boost mode\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is greater expectation (Content 900 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Setting postconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Default temperature test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak bath/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (50)\\ -Start-Time: & 2023-02-15 07:13:58,605\\ -Finished-Time: & 2023-02-15 07:13:59,209\\ -Time-Consumption & 0.604s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Valve setpoint to 18.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Triggering set to default temperature (23.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Summer mode test: zigbee/\allowbreak ffw/\allowbreak bath/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (74)\\ -Start-Time: & 2023-02-15 07:13:59,210\\ -Finished-Time: & 2023-02-15 07:14:00,116\\ -Time-Consumption & 0.906s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ User temperature setpoint test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak bath/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (22)\\ -Start-Time: & 2023-02-15 07:14:00,116\\ -Finished-Time: & 2023-02-15 07:14:01,327\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Changing valve temperature setpoint to '18.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '23.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing valve temperature setpoint to '18.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '23.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak julian/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:01,327\\ -Finished-Time: & 2023-02-15 07:14:03,140\\ -Time-Consumption & 1.813s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak julian/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:14:03,141\\ -Finished-Time: & 2023-02-15 07:14:04,956\\ -Time-Consumption & 1.815s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffw/\allowbreak julian/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:04,956\\ -Finished-Time: & 2023-02-15 07:14:06,165\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:06,166\\ -Finished-Time: & 2023-02-15 07:14:07,980\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:14:07,980\\ -Finished-Time: & 2023-02-15 07:14:09,794\\ -Time-Consumption & 1.813s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffw/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:09,794\\ -Finished-Time: & 2023-02-15 07:14:11,003\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak sleep/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:11,004\\ -Finished-Time: & 2023-02-15 07:14:12,817\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffw/\allowbreak sleep/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:12,818\\ -Finished-Time: & 2023-02-15 07:14:14,029\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:14,030\\ -Finished-Time: & 2023-02-15 07:14:15,240\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 3 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:15,240\\ -Finished-Time: & 2023-02-15 07:14:16,448\\ -Time-Consumption & 1.207s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off synchronisation test: my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 3 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (24)\\ -Start-Time: & 2023-02-15 07:14:16,448\\ -Finished-Time: & 2023-02-15 07:14:17,354\\ -Time-Consumption & 0.906s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'False'\\ -\bf{\,Info } & Changing master device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 1) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing master device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 1) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak desk\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:17,354\\ -Finished-Time: & 2023-02-15 07:14:19,168\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak desk\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:14:19,169\\ -Finished-Time: & 2023-02-15 07:14:20,983\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 2 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:20,984\\ -Finished-Time: & 2023-02-15 07:14:22,195\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Away mode test: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (101)\\ -Start-Time: & 2023-02-15 07:14:22,196\\ -Finished-Time: & 2023-02-15 07:14:23,102\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 20 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Boost mode test: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (128)\\ -Start-Time: & 2023-02-15 07:14:23,103\\ -Finished-Time: & 2023-02-15 07:14:24,009\\ -Time-Consumption & 0.906s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Activating boost mode\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is greater expectation (Content 899 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Setting postconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Default temperature test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (50)\\ -Start-Time: & 2023-02-15 07:14:24,010\\ -Finished-Time: & 2023-02-15 07:14:24,613\\ -Time-Consumption & 0.603s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Valve setpoint to 20.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Triggering set to default temperature (25.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Summer mode test: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (74)\\ -Start-Time: & 2023-02-15 07:14:24,613\\ -Finished-Time: & 2023-02-15 07:14:25,520\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ User temperature setpoint test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (22)\\ -Start-Time: & 2023-02-15 07:14:25,521\\ -Finished-Time: & 2023-02-15 07:14:26,730\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Changing valve temperature setpoint to '20.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '25.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing valve temperature setpoint to '20.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '25.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:26,730\\ -Finished-Time: & 2023-02-15 07:14:28,545\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:14:28,545\\ -Finished-Time: & 2023-02-15 07:14:30,359\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak gfw/\allowbreak dirk/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:30,360\\ -Finished-Time: & 2023-02-15 07:14:31,571\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 4 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:31,571\\ -Finished-Time: & 2023-02-15 07:14:32,782\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:32,783\\ -Finished-Time: & 2023-02-15 07:14:34,596\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:14:34,597\\ -Finished-Time: & 2023-02-15 07:14:36,410\\ -Time-Consumption & 1.813s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:36,411\\ -Finished-Time: & 2023-02-15 07:14:37,621\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Brightness synchronisation test: videv/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (42)\\ -Start-Time: & 2023-02-15 07:14:37,622\\ -Finished-Time: & 2023-02-15 07:14:38,830\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'True' (Power on)\\ -\bf{\,Info } & Changing master device brightness to '35'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing master device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting preconditions for master device 'False' (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Color temperature synchronisation test: videv/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (67)\\ -Start-Time: & 2023-02-15 07:14:38,831\\ -Finished-Time: & 2023-02-15 07:14:40,040\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'True' (Power on)\\ -\bf{\,Info } & Changing master device color temperature to '2'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing master device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting preconditions for master device 'False' (Power off)\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off synchronisation test: shellies/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (24)\\ -Start-Time: & 2023-02-15 07:14:40,040\\ -Finished-Time: & 2023-02-15 07:14:40,947\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'False'\\ -\bf{\,Info } & Changing master device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing master device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Away mode test: zigbee/\allowbreak gfw/\allowbreak marion/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (101)\\ -Start-Time: & 2023-02-15 07:14:40,948\\ -Finished-Time: & 2023-02-15 07:14:41,855\\ -Time-Consumption & 0.908s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Boost mode test: zigbee/\allowbreak gfw/\allowbreak marion/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (128)\\ -Start-Time: & 2023-02-15 07:14:41,856\\ -Finished-Time: & 2023-02-15 07:14:42,762\\ -Time-Consumption & 0.906s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Activating boost mode\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is greater expectation (Content 900 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Setting postconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Default temperature test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak marion/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (50)\\ -Start-Time: & 2023-02-15 07:14:42,763\\ -Finished-Time: & 2023-02-15 07:14:43,367\\ -Time-Consumption & 0.604s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Valve setpoint to 18.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Triggering set to default temperature (23.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Summer mode test: zigbee/\allowbreak gfw/\allowbreak marion/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (74)\\ -Start-Time: & 2023-02-15 07:14:43,368\\ -Finished-Time: & 2023-02-15 07:14:44,275\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ User temperature setpoint test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak marion/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (22)\\ -Start-Time: & 2023-02-15 07:14:44,275\\ -Finished-Time: & 2023-02-15 07:14:45,486\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Changing valve temperature setpoint to '18.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '23.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing valve temperature setpoint to '18.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '23.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak gfw/\allowbreak marion/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:45,487\\ -Finished-Time: & 2023-02-15 07:14:46,698\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak stw/\allowbreak stairway/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:46,698\\ -Finished-Time: & 2023-02-15 07:14:47,909\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - - - - - - - - -\end{document} \ No newline at end of file diff --git a/testresults/testrun_full.pdf b/testresults/testrun_full.pdf deleted file mode 100644 index 57382fc..0000000 Binary files a/testresults/testrun_full.pdf and /dev/null differ diff --git a/testresults/testrun_full.tex b/testresults/testrun_full.tex deleted file mode 100644 index 4a9c039..0000000 --- a/testresults/testrun_full.tex +++ /dev/null @@ -1,18248 +0,0 @@ - -\documentclass[a4paper]{article} -%\documentclass[a4paper,landscape]{article} - -\renewcommand{\familydefault}{\sfdefault} -\usepackage[table]{xcolor} -\definecolor{orange}{rgb}{1, 0.7, 0} -\definecolor{lightgrey}{rgb}{0.925, 0.925, 0.925} - -\setlength{\topmargin}{-3cm} -\setlength{\oddsidemargin}{-0.5cm} -\setlength{\evensidemargin}{0cm} -\setlength{\textwidth}{17.5cm} -\setlength{\textheight}{24.5cm} -%\setlength{\textwidth}{25cm} -%\setlength{\textheight}{15cm} -\setlength{\headheight}{84pt} - -\usepackage{fancyvrb} -\usepackage{fvextra} -%\usepackage{framed,color} -%\newenvironment{modulelog}{\snugshade\Verbatim}{\endVerbatim\endsnugshade} -\usepackage{adjustbox} -\newenvironment{modulelog}% -{\par\noindent\adjustbox{margin=0ex,bgcolor=shadecolor,margin=0ex}\bgroup\varwidth\linewidth\Verbatim}% -{\endVerbatim\endvarwidth\egroup} -%\usepackage{xcolor} - -\renewcommand{\baselinestretch}{1,2} -\setlength{\parindent}{0pt} -\setlength{\parskip}{9pt plus3pt minus3pt} - -\usepackage{listings} -\usepackage{color} -\definecolor{bg-partially-covered}{rgb}{1,1,0.6} % light-yellow -\definecolor{bg-uncovered}{rgb}{1,0.8,0.8} % light-red -\definecolor{bg-covered}{rgb}{0.95,1,0.95} % very light-green -\definecolor{bg-clean}{rgb}{1,1,1} % white -\definecolor{mygreen}{rgb}{0,0.6,0} -\definecolor{mygray}{rgb}{0.5,0.5,0.5} -\definecolor{mymauve}{rgb}{0.58,0,0.82} -\lstset{ % - backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}; should come as last argument - basicstyle=\footnotesize, % the size of the fonts that are used for the code - breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace - breaklines=true, % sets automatic line breaking - captionpos=b, % sets the caption-position to bottom - commentstyle=\color{mygreen}, % comment style - deletekeywords={...}, % if you want to delete keywords from the given language - escapeinside={\%*}{*)}, % if you want to add LaTeX within your code - extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8 - frame=none, % adds a frame around the code - keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible) - keywordstyle=\color{blue}, % keyword style - language=Octave, % the language of the code - morekeywords={*,...}, % if you want to add more keywords to the set - numbers=left, % where to put the line-numbers; possible values are (none, left, right) - numbersep=5pt, % how far the line-numbers are from the code - numberstyle=\tiny\color{mygray}, % the style that is used for the line-numbers - rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here)) - showlines=true, - showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces' - showstringspaces=false, % underline spaces within strings only - showtabs=false, % show tabs within strings adding particular underscores - stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered - stringstyle=\color{mymauve}, % string literal style - tabsize=2, % sets default tabsize to 2 spaces -} -\usepackage{hyperref} -\usepackage{longtable}[=v4.13] -\usepackage{tabu} -\usepackage{multicol} -\usepackage{booktabs} -\usepackage{graphicx} -\usepackage{lastpage} % for the number of the last page in the document -\usepackage{fancyhdr} - -\fancyhf{} -\renewcommand{\headrulewidth}{0pt} -\renewcommand{\footrulewidth}{0pt} -\lhead{\textcolor{gray}{}} -\chead{\textcolor{gray}{ Unittest for {\tt smart\_brain }}} -\rhead{\textcolor{gray}{}} -\lfoot{\textcolor{gray}{}} -\cfoot{\textcolor{gray}{}} -\rfoot{\textcolor{gray}{\thepage\,/ \pageref{LastPage}}} - -\begin{document} - -\begin{titlepage} -\date{\today} -\title{ - Unittest for {\tt smart\_brain } -} -\date{\today} -\maketitle -\thispagestyle{empty} -\newpage -\end{titlepage} - -\setcounter{page}{1} -\pagestyle{fancy} - -\tableofcontents -\newpage - -\section{Test System Information} -\begin{tabu} to \linewidth {lX} -\toprule -{\bf System Information} & \\ -\midrule -Architecture & 64bit \\ -Machine & x86\_64 \\ -Hostname & ahorn \\ -Distribution & Linux Mint 21.1 (vera) \\ -System & Linux \\ -Kernel & 5.15.0-60-generic (\#66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023) \\ -Username & dirk \\ -Path & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test \\ -\bottomrule -\end{tabu} - -\section{Test Object Information} -\begin{tabu} to \linewidth {lX} -\toprule -{\bf Test object Information} & \\ -\midrule -Test Object Name & smart\_brain \\ -Test Object Vesion & 1.2.0 \\ -GIT repository & https:/\allowbreak /\allowbreak git.mount-mockery.de/\allowbreak smarthome/\allowbreak smart\_brain.git\\ -GIT reference & f3ed72974e5fd3bf932ab78acdf0a1d6154dd733\\ -\bottomrule -\end{tabu} - - -\section{Summary} -\begin{tabu} to \linewidth {lX} - \toprule - Number of tests & {\bf 67}\\ - Number of successfull tests & {\bf 67}\\ - Number of possibly failed tests & \textcolor{black}{\bf 0}\\ - Number of failed tests & \textcolor{black}{\bf 0}\\ - \midrule - Executionlevel & Full Test (all defined tests)\\ - Time consumption & 84.664s\\ - \bottomrule -\end{tabu} - - - - - - - \section{\textcolor{green}{Testcases (Success)}} - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak diningroom/\allowbreak powerplug\_floorlamp } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:23,206\\ -Finished-Time: & 2023-02-15 07:13:24,415\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {"state": "on"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/stw/stairway/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic __info__ and payload b'null' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic __info__ and payload b'{"app_name": "smart_brain", "version": {"readable": "1.2.0", "major": 1, "minor": 2, "patch": 0}, "git": {"url": "https://git.mount-mockery.de/smarthome/smart_brain.git", "ref": "f3ed72974e5fd3bf932ab78acdf0a1d6154dd733"}}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/diningroom/floorlamp/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {"state": "off"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {"state": "on"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/diningroom/floorlamp/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {"state": "off"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak diningroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:24,416\\ -Finished-Time: & 2023-02-15 07:13:25,627\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {"state": "on"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/diningroom/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/diningroom/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {"state": "off"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {"state": "on"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/diningroom/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/diningroom/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {"state": "off"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off synchronisation test: shellies/\allowbreak ffe/\allowbreak diningroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (24)\\ -Start-Time: & 2023-02-15 07:13:25,627\\ -Finished-Time: & 2023-02-15 07:13:26,532\\ -Time-Consumption & 0.905s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'False'\\ -\bf{\,Info } & Changing master device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak diningroom/\allowbreak powerplug\_floorlamp) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing master device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak diningroom/\allowbreak powerplug\_floorlamp) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions for master device 'False'\\ - \bottomrule - \end{tabu} - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {"state": "on"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak diningroom/\allowbreak powerplug\_floorlamp) state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload {"state": "off"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak diningroom/\allowbreak powerplug\_floorlamp) state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak floor/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:26,533\\ -Finished-Time: & 2023-02-15 07:13:27,743\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/floor/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/floor/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/floor/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/floor/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/floor/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/floor/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/floor/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/floor/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak kitchen/\allowbreak circulation\_pump } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:27,744\\ -Finished-Time: & 2023-02-15 07:13:28,953\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'600' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/kitchen/circulation_pump/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'0' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'600' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/kitchen/circulation_pump/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'0' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak kitchen/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:28,954\\ -Finished-Time: & 2023-02-15 07:13:30,164\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/kitchen/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/kitchen/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/kitchen/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:13:30,165\\ -Finished-Time: & 2023-02-15 07:13:31,978\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/floorlamp/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/floorlamp/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:13:31,979\\ -Finished-Time: & 2023-02-15 07:13:33,792\\ -Time-Consumption & 1.813s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/floorlamp/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/floorlamp/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:33,793\\ -Finished-Time: & 2023-02-15 07:13:35,004\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/floorlamp/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/floorlamp/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:13:35,005\\ -Finished-Time: & 2023-02-15 07:13:36,817\\ -Time-Consumption & 1.812s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:13:36,818\\ -Finished-Time: & 2023-02-15 07:13:38,632\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:38,632\\ -Finished-Time: & 2023-02-15 07:13:39,843\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness synchronisation test: videv/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (42)\\ -Start-Time: & 2023-02-15 07:13:39,844\\ -Finished-Time: & 2023-02-15 07:13:41,055\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'True' (Power on)\\ -\bf{\,Info } & Changing master device brightness to '35'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing master device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting preconditions for master device 'False' (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions for master device 'True' (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device brightness to '35'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/floorlamp/brightness/set and payload 35 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"brightness": 90}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 90.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"brightness": 90}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "on", "brightness": 90.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"brightness": 90}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "on", "brightness": 90.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"brightness": 90}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "on", "brightness": 90.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"brightness": 90}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "on", "brightness": 90.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"brightness": 90}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "on", "brightness": 90.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 90.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "on", "brightness": 90.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "on", "brightness": 90.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "on", "brightness": 90.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "on", "brightness": 90.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "on", "brightness": 90.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'35' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): result = 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): result = 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): result = 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): result = 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): result = 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): result = 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/floorlamp/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting preconditions for master device 'False' (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Color temperature synchronisation test: videv/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (67)\\ -Start-Time: & 2023-02-15 07:13:41,056\\ -Finished-Time: & 2023-02-15 07:13:42,266\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'True' (Power on)\\ -\bf{\,Info } & Changing master device color temperature to '2'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing master device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting preconditions for master device 'False' (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions for master device 'True' (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device color temperature to '2'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/floorlamp/color_temp/set and payload 2 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"color_temp": 291}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 291.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"color_temp": 291}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 291.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"color_temp": 291}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "on", "brightness": 127.0, "color_temp": 291.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"color_temp": 291}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "on", "brightness": 127.0, "color_temp": 291.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"color_temp": 291}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "on", "brightness": 127.0, "color_temp": 291.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"color_temp": 291}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "on", "brightness": 127.0, "color_temp": 291.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 291.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 291.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 291.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 291.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 291.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 291.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'2' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): result = 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): result = 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): result = 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): result = 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): result = 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): result = 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/livingroom/floorlamp/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting preconditions for master device 'False' (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off synchronisation test: shellies/\allowbreak ffe/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (24)\\ -Start-Time: & 2023-02-15 07:13:42,267\\ -Finished-Time: & 2023-02-15 07:13:43,177\\ -Time-Consumption & 0.910s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'False'\\ -\bf{\,Info } & Changing master device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing master device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions for master device 'False'\\ - \bottomrule - \end{tabu} - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {"state": "off", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{"state": "off", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_1) state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_2) state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_3) state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_4) state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_5) state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak ffe/\allowbreak livingroom/\allowbreak floorlamp\_6) state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak bed\_light\_di } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:13:43,177\\ -Finished-Time: & 2023-02-15 07:13:44,990\\ -Time-Consumption & 1.812s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {"state": "on", "brightness": 127.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{"state": "on", "brightness": 127.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {"state": "on", "brightness": 165.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{"state": "on", "brightness": 165.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/bed_light_di/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {"state": "on", "brightness": 127.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{"state": "on", "brightness": 127.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {"state": "on", "brightness": 165.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{"state": "on", "brightness": 165.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/bed_light_di/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {"state": "on", "brightness": 127.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{"state": "on", "brightness": 127.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {"state": "off", "brightness": 127.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{"state": "off", "brightness": 127.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak bed\_light\_di } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:44,990\\ -Finished-Time: & 2023-02-15 07:13:46,199\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {"state": "on", "brightness": 127.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{"state": "on", "brightness": 127.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/bed_light_di/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {"state": "off", "brightness": 127.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{"state": "off", "brightness": 127.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {"state": "on", "brightness": 127.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{"state": "on", "brightness": 127.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/bed_light_di/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {"state": "off", "brightness": 127.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{"state": "off", "brightness": 127.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak bed\_light\_ma } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:46,200\\ -Finished-Time: & 2023-02-15 07:13:47,410\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_ma and payload {"state": "on"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_ma and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/bed_light_ma/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_ma/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_ma and payload {"state": "off"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_ma and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_ma and payload {"state": "on"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_ma and payload b'{"state": "on"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/bed_light_ma/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_ma/set and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/bed_light_ma and payload {"state": "off"} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/bed_light_ma and payload b'{"state": "off"}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Away mode test: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (101)\\ -Start-Time: & 2023-02-15 07:13:47,411\\ -Finished-Time: & 2023-02-15 07:13:48,318\\ -Time-Consumption & 0.908s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ -\bf{\,Info } & Deactivating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 21.5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating away mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/away_mode/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 16.5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 16.5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 16.5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 16.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 16.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Deactivating away mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/away_mode/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 21.5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Boost mode test: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (128)\\ -Start-Time: & 2023-02-15 07:13:48,319\\ -Finished-Time: & 2023-02-15 07:13:49,225\\ -Time-Consumption & 0.906s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Activating boost mode\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is greater expectation (Content 900 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Setting postconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result = 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating boost mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/start_boost/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/boost_timer and payload b'900' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 30}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 30, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'30' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 30, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is greater expectation (Content 900 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 900 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result > 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting postconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/boost_timer and payload b'0' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 21.5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result = 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Default temperature test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (50)\\ -Start-Time: & 2023-02-15 07:13:49,225\\ -Finished-Time: & 2023-02-15 07:13:49,830\\ -Time-Consumption & 0.604s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Valve setpoint to 16.5)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Triggering set to default temperature (21.5)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Valve setpoint to 16.5)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 16.5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 16.5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 16.5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve temperature setpoint (is not default temperature)): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve temperature setpoint (is not default temperature)): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Triggering set to default temperature (21.5)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 21.5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve temperature setpoint): 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve temperature setpoint): result = 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Summer mode test: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (74)\\ -Start-Time: & 2023-02-15 07:13:49,830\\ -Finished-Time: & 2023-02-15 07:13:50,738\\ -Time-Consumption & 0.908s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating summer mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/summer_mode/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Deactivating summer mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/summer_mode/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 21.5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ User temperature setpoint test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (22)\\ -Start-Time: & 2023-02-15 07:13:50,738\\ -Finished-Time: & 2023-02-15 07:13:51,949\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Changing valve temperature setpoint to '16.5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '21.5'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bf{\,Info } & Changing valve temperature setpoint to '16.5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '21.5'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing valve temperature setpoint to '16.5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 16.5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 16.5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 16.5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 16.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 16.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device user temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device user temperature): 16.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device user temperature): result = 16.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing videv user temperature setpoint to '21.5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint/set and payload 21.5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 21.5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve device temperature setpoint): 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve device temperature setpoint): result = 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing valve temperature setpoint to '16.5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 16.5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 16.5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 16.5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 16.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 16.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device user temperature is correct (Content 16.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device user temperature): 16.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device user temperature): result = 16.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing videv user temperature setpoint to '21.5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint/set and payload 21.5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{"current_heating_setpoint": 21.5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/heating_valve and payload {"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{"current_heating_setpoint": 21.5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve device temperature setpoint): 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve device temperature setpoint): result = 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 21.5 and Type is $<$class 'float'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 21.5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:13:51,949\\ -Finished-Time: & 2023-02-15 07:13:53,764\\ -Time-Consumption & 1.815s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak ffe/\allowbreak sleep/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:13:53,764\\ -Finished-Time: & 2023-02-15 07:13:55,578\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffe/\allowbreak sleep/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:13:55,579\\ -Finished-Time: & 2023-02-15 07:13:56,789\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/sleep/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffe/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffe/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffe/sleep/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/sleep/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffe/sleep/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Away mode test: zigbee/\allowbreak ffw/\allowbreak bath/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (101)\\ -Start-Time: & 2023-02-15 07:13:56,790\\ -Finished-Time: & 2023-02-15 07:13:57,697\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating away mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/away_mode/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 18}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 18 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Deactivating away mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/away_mode/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Boost mode test: zigbee/\allowbreak ffw/\allowbreak bath/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (128)\\ -Start-Time: & 2023-02-15 07:13:57,698\\ -Finished-Time: & 2023-02-15 07:13:58,604\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Activating boost mode\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is greater expectation (Content 900 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Setting postconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result = 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating boost mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/start_boost/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/boost_timer and payload b'900' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 30}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 30, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'30' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 30, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is greater expectation (Content 900 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 900 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result > 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting postconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/boost_timer and payload b'0' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result = 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Default temperature test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak bath/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (50)\\ -Start-Time: & 2023-02-15 07:13:58,605\\ -Finished-Time: & 2023-02-15 07:13:59,209\\ -Time-Consumption & 0.604s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Valve setpoint to 18.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Triggering set to default temperature (23.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Valve setpoint to 18.0)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 18}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve temperature setpoint (is not default temperature)): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve temperature setpoint (is not default temperature)): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Triggering set to default temperature (23.0)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve temperature setpoint): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve temperature setpoint): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Summer mode test: zigbee/\allowbreak ffw/\allowbreak bath/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (74)\\ -Start-Time: & 2023-02-15 07:13:59,210\\ -Finished-Time: & 2023-02-15 07:14:00,116\\ -Time-Consumption & 0.906s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating summer mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/summer_mode/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Deactivating summer mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/summer_mode/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ User temperature setpoint test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak bath/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (22)\\ -Start-Time: & 2023-02-15 07:14:00,116\\ -Finished-Time: & 2023-02-15 07:14:01,327\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Changing valve temperature setpoint to '18.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '23.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing valve temperature setpoint to '18.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '23.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing valve temperature setpoint to '18.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 18}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device user temperature): 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device user temperature): result = 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing videv user temperature setpoint to '23.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint/set and payload 23 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve device temperature setpoint): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve device temperature setpoint): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing valve temperature setpoint to '18.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 18}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device user temperature): 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device user temperature): result = 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing videv user temperature setpoint to '23.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint/set and payload 23 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/bath/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/bath/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve device temperature setpoint): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve device temperature setpoint): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak julian/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:01,327\\ -Finished-Time: & 2023-02-15 07:14:03,140\\ -Time-Consumption & 1.813s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/julian/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/julian/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak julian/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:14:03,141\\ -Finished-Time: & 2023-02-15 07:14:04,956\\ -Time-Consumption & 1.815s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/julian/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/julian/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffw/\allowbreak julian/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:04,956\\ -Finished-Time: & 2023-02-15 07:14:06,165\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/julian/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/julian/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/julian/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/julian/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/julian/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/julian/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/julian/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:06,166\\ -Finished-Time: & 2023-02-15 07:14:07,980\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/livingroom/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/livingroom/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:14:07,980\\ -Finished-Time: & 2023-02-15 07:14:09,794\\ -Time-Consumption & 1.813s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/livingroom/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/livingroom/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffw/\allowbreak livingroom/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:09,794\\ -Finished-Time: & 2023-02-15 07:14:11,003\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/livingroom/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/livingroom/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/livingroom/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/livingroom/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/livingroom/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/livingroom/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/livingroom/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak ffw/\allowbreak sleep/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:11,004\\ -Finished-Time: & 2023-02-15 07:14:12,817\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/sleep/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/sleep/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/sleep/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/sleep/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/sleep/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/sleep/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/sleep/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/sleep/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/sleep/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/sleep/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/sleep/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/sleep/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak ffw/\allowbreak sleep/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:12,818\\ -Finished-Time: & 2023-02-15 07:14:14,029\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/sleep/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/sleep/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/sleep/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/sleep/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/ffw/sleep/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/ffw/sleep/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/sleep/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/ffw/sleep/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/sleep/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/ffw/sleep/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:14,030\\ -Finished-Time: & 2023-02-15 07:14:15,240\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/amplifier/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/amplifier/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/amplifier/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/amplifier/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/amplifier/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/amplifier/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 3 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:15,240\\ -Finished-Time: & 2023-02-15 07:14:16,448\\ -Time-Consumption & 1.207s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/cd_player/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/amplifier/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/cd_player/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/3/set and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/cd_player/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/amplifier/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/cd_player/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/amplifier/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/cd_player/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/3/set and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/cd_player/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/amplifier/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off synchronisation test: my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 3 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (24)\\ -Start-Time: & 2023-02-15 07:14:16,448\\ -Finished-Time: & 2023-02-15 07:14:17,354\\ -Time-Consumption & 0.906s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'False'\\ -\bf{\,Info } & Changing master device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 1) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing master device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 1) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions for master device 'False'\\ - \bottomrule - \end{tabu} - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/cd_player/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/amplifier/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 1) state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/cd_player/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/amplifier/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 1) state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak desk\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:17,354\\ -Finished-Time: & 2023-02-15 07:14:19,168\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/desk_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/desk_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak desk\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:14:19,169\\ -Finished-Time: & 2023-02-15 07:14:20,983\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/desk_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/desk_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 2 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:20,984\\ -Finished-Time: & 2023-02-15 07:14:22,195\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/desk_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/2/set and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/desk_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/desk_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/desk_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/2/set and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/desk_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Away mode test: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (101)\\ -Start-Time: & 2023-02-15 07:14:22,196\\ -Finished-Time: & 2023-02-15 07:14:23,102\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 20 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 25}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating away mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/away_mode/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 20}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 20, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 20, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 20 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 20 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 20 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Deactivating away mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/away_mode/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 25}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Boost mode test: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (128)\\ -Start-Time: & 2023-02-15 07:14:23,103\\ -Finished-Time: & 2023-02-15 07:14:24,009\\ -Time-Consumption & 0.906s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Activating boost mode\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is greater expectation (Content 899 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Setting postconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result = 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating boost mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/start_boost/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'900' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 30}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 30, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'30' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 30, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'899' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is greater expectation (Content 899 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 899 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result > 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting postconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'0' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 25}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result = 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Default temperature test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (50)\\ -Start-Time: & 2023-02-15 07:14:24,010\\ -Finished-Time: & 2023-02-15 07:14:24,613\\ -Time-Consumption & 0.603s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Valve setpoint to 20.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Triggering set to default temperature (25.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Valve setpoint to 20.0)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 20, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 20, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 20}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve temperature setpoint (is not default temperature)): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve temperature setpoint (is not default temperature)): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Triggering set to default temperature (25.0)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 25}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve temperature setpoint): 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve temperature setpoint): result = 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Summer mode test: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (74)\\ -Start-Time: & 2023-02-15 07:14:24,613\\ -Finished-Time: & 2023-02-15 07:14:25,520\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating summer mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/summer_mode/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Deactivating summer mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/summer_mode/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 25}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ User temperature setpoint test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (22)\\ -Start-Time: & 2023-02-15 07:14:25,521\\ -Finished-Time: & 2023-02-15 07:14:26,730\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Changing valve temperature setpoint to '20.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '25.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing valve temperature setpoint to '20.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '25.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 25 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing valve temperature setpoint to '20.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 20, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 20, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 20}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 20 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 20 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device user temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device user temperature): 20 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device user temperature): result = 20 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing videv user temperature setpoint to '25.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint/set and payload 25 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 25}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve device temperature setpoint): 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve device temperature setpoint): result = 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 25 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing valve temperature setpoint to '20.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 20, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 20, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 20}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 20 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 20 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device user temperature is correct (Content 20 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device user temperature): 20 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device user temperature): result = 20 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing videv user temperature setpoint to '25.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint/set and payload 25 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{"current_heating_setpoint": 25}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/heating_valve and payload {"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{"current_heating_setpoint": 25, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 25 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve device temperature setpoint): 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve device temperature setpoint): result = 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 25 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 25 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:26,730\\ -Finished-Time: & 2023-02-15 07:14:28,545\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak dirk/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:14:28,545\\ -Finished-Time: & 2023-02-15 07:14:30,359\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak gfw/\allowbreak dirk/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:30,360\\ -Finished-Time: & 2023-02-15 07:14:31,571\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/dirk/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/dirk/main_light and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/dirk/main_light and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/dirk/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: my\_apps/\allowbreak gfw/\allowbreak dirk/\allowbreak powerplug/\allowbreak output/\allowbreak 4 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:31,571\\ -Finished-Time: & 2023-02-15 07:14:32,782\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/pc_dock/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/pc_dock/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/4/set and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/pc_dock/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/dirk/pc_dock/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/4/set and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (50)\\ -Start-Time: & 2023-02-15 07:14:32,783\\ -Finished-Time: & 2023-02-15 07:14:34,596\\ -Time-Consumption & 1.814s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device brightness to '65'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/floor/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device brightness to '65'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 165.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 165.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/brightness and payload b'65' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 65 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 65 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/floor/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Color temperature test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1 } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (81)\\ -Start-Time: & 2023-02-15 07:14:34,597\\ -Finished-Time: & 2023-02-15 07:14:36,410\\ -Time-Consumption & 1.813s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Power on)\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing light device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing virtual device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting precondition (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/floor/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing light device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 413.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 413.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/color_temp and payload b'8' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device color temperature is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device color temperature): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device color temperature): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 8 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 8 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/floor/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Light device brightness is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Light device brightness): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Light device brightness): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting precondition (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:36,411\\ -Finished-Time: & 2023-02-15 07:14:37,621\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/floor/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/floor/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Brightness synchronisation test: videv/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (42)\\ -Start-Time: & 2023-02-15 07:14:37,622\\ -Finished-Time: & 2023-02-15 07:14:38,830\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'True' (Power on)\\ -\bf{\,Info } & Changing master device brightness to '35'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing master device brightness to '50'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting preconditions for master device 'False' (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions for master device 'True' (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device brightness to '35'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/floor/main_light/brightness/set and payload 35 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{"brightness": 90}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 90.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{"brightness": 90}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_2 and payload {"state": "on", "brightness": 90.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 90.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{"state": "on", "brightness": 90.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/brightness and payload b'35' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_1) brightness): 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_1) brightness): result = 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) brightness is correct (Content 35 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_2) brightness): 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_2) brightness): result = 35 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device brightness to '50'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/floor/main_light/brightness/set and payload 50 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{"brightness": 128}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/brightness and payload b'50' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_1) brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_1) brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) brightness is correct (Content 50 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_2) brightness): 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_2) brightness): result = 50 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting preconditions for master device 'False' (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Color temperature synchronisation test: videv/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (67)\\ -Start-Time: & 2023-02-15 07:14:38,831\\ -Finished-Time: & 2023-02-15 07:14:40,040\\ -Time-Consumption & 1.209s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'True' (Power on)\\ -\bf{\,Info } & Changing master device color temperature to '2'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing master device color temperature to '5'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Resetting preconditions for master device 'False' (Power off)\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions for master device 'True' (Power on)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device color temperature to '2'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/floor/main_light/color_temp/set and payload 2 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{"color_temp": 291}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 291.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{"color_temp": 291}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 291.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 291.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 291.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/color_temp and payload b'2' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_1) color temperature): 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_1) color temperature): result = 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) color temperature is correct (Content 2 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_2) color temperature): 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_2) color temperature): result = 2 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device color temperature to '5'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/floor/main_light/color_temp/set and payload 5 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{"color_temp": 352}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_1) color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_1) color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) color temperature is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_2) color temperature): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_2) color temperature): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Resetting preconditions for master device 'False' (Power off)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off synchronisation test: shellies/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak synchronisation.py (24)\\ -Start-Time: & 2023-02-15 07:14:40,040\\ -Finished-Time: & 2023-02-15 07:14:40,947\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions for master device 'False'\\ -\bf{\,Info } & Changing master device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing master device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions for master device 'False'\\ - \bottomrule - \end{tabu} - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_1 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{"state": ""}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/floor/main_light_2 and payload {"state": "on", "brightness": 127.0, "color_temp": 352.0} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{"state": "on", "brightness": 127.0, "color_temp": 352.0}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_1) state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_1) state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_2) state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_2) state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing master device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/floor/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_1) state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_1) state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_1) state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Follower device (zigbee/\allowbreak gfw/\allowbreak floor/\allowbreak main\_light\_2) state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Follower device (zigbee/gfw/floor/main_light_2) state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Follower device (zigbee/gfw/floor/main_light_2) state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Away mode test: zigbee/\allowbreak gfw/\allowbreak marion/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (101)\\ -Start-Time: & 2023-02-15 07:14:40,948\\ -Finished-Time: & 2023-02-15 07:14:41,855\\ -Time-Consumption & 0.908s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating away mode\\ -\bf{\,\textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating away mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/away_mode/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 18}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 18 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Deactivating away mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/away_mode/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Away mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Away mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Away mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Boost mode test: zigbee/\allowbreak gfw/\allowbreak marion/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (128)\\ -Start-Time: & 2023-02-15 07:14:41,856\\ -Finished-Time: & 2023-02-15 07:14:42,762\\ -Time-Consumption & 0.906s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Activating boost mode\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is greater expectation (Content 900 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Setting postconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result = 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating boost mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/start_boost/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/boost_timer and payload b'900' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 30}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 30, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'30' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 30, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is greater expectation (Content 900 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 900 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result > 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting postconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/boost_timer and payload b'0' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Boost timer is correct (Content 0 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Boost timer): 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Boost timer): result = 0 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Default temperature test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak marion/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (50)\\ -Start-Time: & 2023-02-15 07:14:42,763\\ -Finished-Time: & 2023-02-15 07:14:43,367\\ -Time-Consumption & 0.604s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Valve setpoint to 18.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Triggering set to default temperature (23.0)\\ -\bf{\,\textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Valve setpoint to 18.0)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 18}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve temperature setpoint (is not default temperature) is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve temperature setpoint (is not default temperature)): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve temperature setpoint (is not default temperature)): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Triggering set to default temperature (23.0)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve temperature setpoint): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve temperature setpoint): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Summer mode test: zigbee/\allowbreak gfw/\allowbreak marion/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (74)\\ -Start-Time: & 2023-02-15 07:14:43,368\\ -Finished-Time: & 2023-02-15 07:14:44,275\\ -Time-Consumption & 0.907s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Setting preconditions (Default setpoint)\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Activating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Deactivating summer mode\\ -\bf{\,\textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Setting preconditions (Default setpoint)\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature/set and payload null - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Activating summer mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/summer_mode/set and payload true - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 5}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 5, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'5' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 5, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 5 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 5 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Deactivating summer mode\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/summer_mode/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Summer mode is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Summer mode): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Summer mode): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Temperature setpoint): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Temperature setpoint): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ User temperature setpoint test for device and virtual device: zigbee/\allowbreak gfw/\allowbreak marion/\allowbreak heating\_valve } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak heating.py (22)\\ -Start-Time: & 2023-02-15 07:14:44,275\\ -Finished-Time: & 2023-02-15 07:14:45,486\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,Info } & Changing valve temperature setpoint to '18.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '23.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing valve temperature setpoint to '18.0'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ -\bf{\,Info } & Changing videv user temperature setpoint to '23.0'\\ -\bf{\,\textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing valve temperature setpoint to '18.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 18}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device user temperature): 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device user temperature): result = 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing videv user temperature setpoint to '23.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint/set and payload 23 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve device temperature setpoint): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve device temperature setpoint): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing valve temperature setpoint to '18.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 18, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 18}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device user temperature is correct (Content 18 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device user temperature): 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device user temperature): result = 18 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing videv user temperature setpoint to '23.0'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint/set and payload 23 - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{"current_heating_setpoint": 23}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic zigbee/gfw/marion/heating_valve and payload {"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97} - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic zigbee/gfw/marion/heating_valve and payload b'{"current_heating_setpoint": 23, "local_temperature": 20.7, "battery": 97}' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Valve device temperature setpoint is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Valve device temperature setpoint): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Valve device temperature setpoint): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device valve temperature is correct (Content 23 and Type is $<$class 'int'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device valve temperature): 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device valve temperature): result = 23 () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak gfw/\allowbreak marion/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:45,487\\ -Finished-Time: & 2023-02-15 07:14:46,698\\ -Time-Consumption & 1.211s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/marion/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/gfw/marion/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/marion/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/gfw/marion/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - \subsection{ Power On/\allowbreak Off test for device and virtual device: shellies/\allowbreak stw/\allowbreak stairway/\allowbreak main\_light } - - -\paragraph{Testsummary}\mbox{}\\ -This test was passed with the state: {\bf \textcolor{green}{Success}}. -\begin{longtabu} to \linewidth {lX} -\toprule -Caller: & /\allowbreak home/\allowbreak dirk/\allowbreak my\_repositories/\allowbreak smarthome/\allowbreak smart\_brain\_test/\allowbreak tests/\allowbreak light.py (27)\\ -Start-Time: & 2023-02-15 07:14:46,698\\ -Finished-Time: & 2023-02-15 07:14:47,909\\ -Time-Consumption & 1.210s\\ -\midrule -\multicolumn{2}{l}{\bf{Testresults:}}\\ -\midrule -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing switching device state to 'True'\\ -\bf{\,\textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ -\bf{\,Info } & Changing virtual device state to 'False'\\ -\bf{\,\textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ -\bottomrule -\end{longtabu} - - -\paragraph{Testdetails}\mbox{}\\ - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/stw/stairway/main_light/timer and payload b'100' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/stw/stairway/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/stw/stairway/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/stw/stairway/main_light/timer and payload b'0' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/stw/stairway/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing switching device state to 'True'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload on - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'on' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/stw/stairway/main_light/timer and payload b'100' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/stw/stairway/main_light/state and payload b'true' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Virtual device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Virtual device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Virtual device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content True and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = True () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf Info } & Changing virtual device state to 'False'\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic videv/stw/stairway/main_light/state/set and payload false - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload off - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/stw/stairway/main_light/timer and payload b'0' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Received message with topic videv/stw/stairway/main_light/state and payload b'false' - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - \begin{tabu} to \linewidth {lX} - \toprule - {\bf \textcolor{green}{Success} } & Switching device state is correct (Content False and Type is $<$class 'bool'$>$).\\ - \bottomrule - \end{tabu} - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Result (Switching device state): False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - \definecolor{shadecolor}{rgb}{ 0.8 0.8 0.8 }\begin{modulelog}[breaklines=true, breakanywhere=true] - Expectation (Switching device state): result = False () - \end{modulelog} - \vspace*{-0.225cm}\pagebreak[1] - - \vspace*{2.5ex} - - - - - - - - -\end{document} \ No newline at end of file diff --git a/tests/__init__.py b/tests/__init__.py index b27988e..b5a1548 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,55 +1,11 @@ -import report -import simulation.devices -from unittest.test import equivalency_chk -from unittest.jsonlog import TRUN_EXEC_LVL +from .rooms import ffe, ffw, gfe, gfw, stw -DT_TOGGLE = 0.3 +# TODO: Coverage, *Information (Chapter 1), ... ausblenden, wenn leer -class test_collection(object): - TCEL_DICT = { - 'full': report.TCEL_FULL, - 'short': report.TCEL_SHORT, - 'smoke': report.TCEL_SMOKE - } - - def __init__(self, test_instance): - super().__init__() - self.test_instance = test_instance - - def capabilities(self): - return ['full', 'short', 'smoke'] - - def command(self, command): - for member in self.test_instance.getmembers(): - obj = self.test_instance.getobjbyname(member) - if id(obj) != id(self): - tcel = self.TCEL_DICT.get(command, report.TCEL_FULL) - self.test_instance.tcl[TRUN_EXEC_LVL] = tcel - obj.test_all(tcel) - - -class testcase(object): - METHOD_EXECUTED = {} - - def __init__(self, tcl): - self.tcl = tcl - self.__test_list__ = [] - - def capabilities(self): - if len(self.__test_list__) > 0 and not 'test_all' in self.__test_list__: - self.__test_list__.append('test_all') - self.__test_list__.sort() - return self.__test_list__ - - def test_all(self, tcel=report.TCEL_FULL): - for tc_name in self.capabilities(): - if tc_name != "test_all": - self.command(tc_name, tcel) - - def command(self, command, tcel=report.TCEL_SINGLE): - simulation.devices.OUTPUT_ACTIVE = False - tc = getattr(self, command) - self.tcl[TRUN_EXEC_LVL] = tcel - tc(tcel) - simulation.devices.OUTPUT_ACTIVE = True +def add_all_testcases(ts, mc, h): + ffe(ts, mc, h) + ffw(ts, mc, h) + gfe(ts, mc, h) + gfw(ts, mc, h) + stw(ts, mc, h) diff --git a/tests/all.py b/tests/all.py deleted file mode 100644 index 61b7424..0000000 --- a/tests/all.py +++ /dev/null @@ -1,145 +0,0 @@ -import distro -import getpass -import inspect -import jinja2 -import json -import os -import platform -import report -from tests import test_collection -from tests.heating import testcase_heating -from tests.light import testcase_light -from tests.synchronisation import testcase_synchronisation -from unittest import jsonlog - -try: - from config import APP_NAME as ROOT_LOGGER_NAME -except ImportError: - ROOT_LOGGER_NAME = 'root' - - -class test_smarthome(object): - def __init__(self, rooms, mqtt_client): - self.mqtt_client = mqtt_client - self.__init__tcl__() - self.mqtt_client.add_callback('__info__', self.__test_system_info__) - self.mqtt_client.send('__info__', json.dumps(None)) - # add testcases for switching devices - for name in rooms.getmembers(): - obj = rooms.getobjbyname(name) - if obj.__class__.__name__ == "videv_light": - common_name = '.'.join(name.split('.')[:-1]) + '.' + name.split('.')[-1][6:] - try: - li_device = rooms.getobjbyname(common_name + '_zigbee') if obj.enable_brightness or obj.enable_color_temp else None - except AttributeError: - li_device = rooms.getobjbyname(common_name + '_zigbee_1') if obj.enable_brightness or obj.enable_color_temp else None - try: - sw_device = rooms.getobjbyname(common_name) if obj.enable_state else None - except AttributeError: - # must be a device without switching device - sw_device = li_device - setattr(self, common_name.replace('.', '_'), testcase_light(self.tcl, obj, sw_device, li_device)) - # add testcases for heating devices - for name in rooms.getmembers(): - obj = rooms.getobjbyname(name) - if obj.__class__.__name__ == "videv_heating": - common_name = '.'.join(name.split('.')[:-1]) + '.' + name.split('.')[-1][6:] - heat_device = rooms.getobjbyname(common_name + '_valve') - setattr(self, common_name.replace('.', '_'), testcase_heating(self.tcl, obj, heat_device)) - # TODO: Add this again... - """ - # synchronisation - # gfw.dirk.amplifier with cd_player - self.gfw_dirk_cd_player_amplifier_sync = testcase_synchronisation( - self.tcl, - rooms.gfw.dirk.cd_player, None, None, - rooms.gfw.dirk.amplifier) - # gfw.floor.main_light_2 with gfw.floor.main_light_1 - self.gfw_floor_main_light_sync = testcase_synchronisation( - self.tcl, - rooms.gfw.floor.main_light, rooms.gfw.floor.videv_main_light, rooms.gfw.floor.videv_main_light, - rooms.gfw.floor.main_light_zigbee_1, rooms.gfw.floor.main_light_zigbee_2 - ) - # ffe.diningroom.floorlamp with ffe.dinigroom.main_light - self.ffe_diningroom_main_light_floor_lamp_sync = testcase_synchronisation( - self.tcl, - rooms.ffe.diningroom.main_light, None, None, - rooms.ffe.diningroom.floor_lamp) - # ffe.livingroom.floorlamp_[1-6] with ffe.livingroom.main_light - self.ffe_livingroom_main_light_floor_lamp_sync = testcase_synchronisation( - self.tcl, - rooms.ffe.livingroom.main_light, rooms.ffe.livingroom.videv_floor_lamp, rooms.ffe.livingroom.videv_floor_lamp, - *[getattr(rooms.ffe.livingroom, "floor_lamp_zigbee_%d" % i) for i in range(1, 7)] - ) - # add test collection - """ - self.all = test_collection(self) - - def __init__tcl__(self): - system_info = {} - system_info[jsonlog.SYSI_ARCHITECTURE] = platform.architecture()[0] - system_info[jsonlog.SYSI_MACHINE] = platform.machine() - system_info[jsonlog.SYSI_HOSTNAME] = platform.node() - system_info[jsonlog.SYSI_DISTRIBUTION] = distro.name() + " " + distro.version() + " (" + distro.codename() + ")" - system_info[jsonlog.SYSI_SYSTEM] = platform.system() - system_info[jsonlog.SYSI_KERNEL] = platform.release() + ' (%s)' % platform.version() - system_info[jsonlog.SYSI_USERNAME] = getpass.getuser() - system_info[jsonlog.SYSI_PATH] = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) - - self.tcl = report.testSession(['__unittest__', ROOT_LOGGER_NAME]) - self.tcl[jsonlog.MAIN_KEY_SYSTEM_INFO] = system_info - self.tcl["testcase_names"] = report.TCEL_NAMES - - def __test_system_info__(self, client, userdata, message): - data = json.loads(message.payload) - if data is not None: - self.tcl[jsonlog.MAIN_KEY_TESTOBJECT_INFO] = data - - def close(self): - path = os.path.abspath(os.path.join(os.path.basename(__file__), '..')) - - with open(os.path.join(path, "testresults", "testrun.json"), "w") as fh: - fh.write(json.dumps(self.tcl, indent=4)) - - template_path = os.path.join(path, 'templates') - template_filename = 'unittest.tex' - jenv = jinja2.Environment(loader=jinja2.FileSystemLoader(template_path)) - template = jenv.get_template(template_filename) - with open(os.path.join(path, "testresults", "testrun.tex"), "w") as fh: - fh.write(template.render(data=self.tcl, details=False)) - with open(os.path.join(path, "testresults", "testrun_full.tex"), "w") as fh: - fh.write(template.render(data=self.tcl, details=True)) - - def getmembers(self, prefix=''): - rv = [] - for name, obj in inspect.getmembers(self): - if prefix: - full_name = prefix + '.' + name - else: - full_name = name - if not name.startswith('_'): - try: - if obj.__class__.__bases__[0].__name__ == "testcase" or obj.__class__.__name__ == "test_collection": - rv.append(full_name) - else: - rv.extend(obj.getmembers(full_name)) - except AttributeError: - pass - return rv - - def getobjbyname(self, name): - if name.startswith("test."): - name = name[5:] - obj = self - for subname in name.split('.'): - obj = getattr(obj, subname) - return obj - - def command(self, full_command): - try: - parameter = " " + full_command.split(' ')[1] - except IndexError: - parameter = "" - command = full_command.split(' ')[0].split('.')[-1] + parameter - device_name = '.'.join(full_command.split(' ')[0].split('.')[:-1]) - self.getobjbyname(device_name).command(command) diff --git a/tests/common_testcases.py b/tests/common_testcases.py new file mode 100644 index 0000000..7867963 --- /dev/null +++ b/tests/common_testcases.py @@ -0,0 +1,27 @@ +import time + +from unittest.test import equivalency_chk + +from .help import DELAY_SET_GET + + +def device_follow(tLogger, master, master_key, slave, slave_key, values): + # Prepare devices to last state + start_state = values[-1] + master.set(master_key, start_state) + slave.set(master_key, start_state) + time.sleep(DELAY_SET_GET) + tLogger.debug("Prepare: Setting devices to last state %s", repr(start_state)) + master_exp = master.get(master_key) + slave_exp = slave.get(slave_key) + time.sleep(DELAY_SET_GET) + equivalency_chk((master_exp, slave_exp), (start_state, start_state), tLogger, "Start state (master, slave)") + + # Test devices + for value in values: + tLogger.debug("Setting state of %s to %s", master.topic, repr(value)) + master.set(master_key, value) + time.sleep(DELAY_SET_GET) + expectation = slave.get(slave_key) + time.sleep(DELAY_SET_GET) + equivalency_chk(expectation, value, tLogger, f"Value for {slave.topic}") diff --git a/tests/heating.py b/tests/heating.py deleted file mode 100644 index 92d9bea..0000000 --- a/tests/heating.py +++ /dev/null @@ -1,152 +0,0 @@ -import config -import inspect -import report -from tests import testcase, DT_TOGGLE -import time -from unittest.test import equivalency_chk, greater_chk - - -class testcase_heating(testcase): - def __init__(self, tcl, videv, valve): - super().__init__(tcl) - self.__videv__ = videv - self.__valve__ = valve - self.__default_temperature__ = config.DEFAULT_TEMPERATURE - self.__test_list__ = ["test_user_temperature_setpoint", "test_default_temperature", "test_summer_mode", "test_away_mode", "test_boost_mode"] - - def test_user_temperature_setpoint(self, tcel=report.TCEL_FULL): - fname = inspect.currentframe().f_code.co_name - if tcel != report.TCEL_SMOKE or not self.METHOD_EXECUTED.get(fname, False): - self.METHOD_EXECUTED[fname] = True - # - self.tcl.testCase("User temperature setpoint test for virtual device and device: %s" % - self.__valve__.topic, tcel, self.__test_user_temperature_setpoint__, tcel) - - def __test_user_temperature_setpoint__(self, tLogger, tcel): - mtemp = round(self.__valve__.TEMP_RANGE[0] + (self.__valve__.TEMP_RANGE[1] - self.__valve__.TEMP_RANGE[0]) / 2, 1) - setp = self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT) - delta = 5 if setp < mtemp else -5 - - for i in range(0, 2): - self.__videv__.set(self.__videv__.KEY_USER_TEMPERATURE_SETPOINT, setp + delta) - time.sleep(DT_TOGGLE) - tLogger.debug("Changing valve temperature setpoint to '%.1f'", setp + delta) - equivalency_chk(self.__videv__.get(self.__videv__.KEY_VALVE_TEMPERATURE_SETPOINT), - setp + delta, tLogger, "Virtual device valve temperature") - equivalency_chk(self.__videv__.get(self.__videv__.KEY_USER_TEMPERATURE_SETPOINT), - setp + delta, tLogger, "Virtual device user temperature") - equivalency_chk(self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT), - setp + delta, tLogger, "Valve temperature setpoint") - # - self.__videv__.set(self.__videv__.KEY_USER_TEMPERATURE_SETPOINT, setp) - time.sleep(DT_TOGGLE) - tLogger.debug("Changing videv user temperature setpoint to '%.1f'", setp) - equivalency_chk(self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT), setp, tLogger, "Valve device temperature setpoint") - equivalency_chk(self.__videv__.get(self.__videv__.KEY_VALVE_TEMPERATURE_SETPOINT), setp, tLogger, "Virtual device valve temperature") - - def test_default_temperature(self, tcel=report.TCEL_FULL): - fname = inspect.currentframe().f_code.co_name - if tcel != report.TCEL_SMOKE or not self.METHOD_EXECUTED.get(fname, False): - self.METHOD_EXECUTED[fname] = True - # - self.tcl.testCase("Default temperature test for device and virtual device: %s" % - self.__valve__.topic, tcel, self.__test_default_temperature__, tcel) - - def __test_default_temperature__(self, tLogger, tcel): - dtemp = config.DEFAULT_TEMPERATURE - mtemp = round(self.__valve__.TEMP_RANGE[0] + (self.__valve__.TEMP_RANGE[1] - self.__valve__.TEMP_RANGE[0]) / 2, 1) - ptemp = dtemp + (5 if dtemp < mtemp else -5) - - self.__videv__.set(self.__videv__.KEY_USER_TEMPERATURE_SETPOINT, config.DEFAULT_TEMPERATURE - 5) - time.sleep(DT_TOGGLE) - tLogger.debug("Setting preconditions (Valve setpoint to %.1f)", ptemp) - - equivalency_chk(self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT) != dtemp, - True, tLogger, "Valve temperature setpoint (is not default temperature)") - self.__videv__.set(self.__videv__.KEY_SET_DEFAULT_TEMPERATURE, None) - time.sleep(DT_TOGGLE) - tLogger.debug("Triggering set to default temperature (%.1f)", dtemp) - equivalency_chk(self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT), dtemp, tLogger, "Valve temperature setpoint") - - def test_summer_mode(self, tcel=report.TCEL_FULL): - fname = inspect.currentframe().f_code.co_name - if tcel != report.TCEL_SMOKE or not self.METHOD_EXECUTED.get(fname, False): - self.METHOD_EXECUTED[fname] = True - # - self.tcl.testCase("Summer mode test: %s" % self.__valve__.topic, tcel, self.__test_summer_mode__, tcel) - - def __test_summer_mode__(self, tLogger, tcel): - self.__videv__.set(self.__videv__.KEY_SET_DEFAULT_TEMPERATURE, None) - time.sleep(DT_TOGGLE) - tLogger.debug("Setting preconditions (Default setpoint)") - - vtemp = self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT) - - equivalency_chk(self.__videv__.get(self.__videv__.KEY_SUMMER_MODE), False, tLogger, "Summer mode") - self.__videv__.set(self.__videv__.KEY_SUMMER_MODE, True) - time.sleep(DT_TOGGLE) - tLogger.debug("Activating summer mode") - equivalency_chk(self.__videv__.get(self.__videv__.KEY_SUMMER_MODE), True, tLogger, "Summer mode") - equivalency_chk(self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT), 5, tLogger, "Temperature setpoint") - - self.__videv__.set(self.__videv__.KEY_SUMMER_MODE, False) - time.sleep(DT_TOGGLE) - tLogger.debug("Deactivating summer mode") - equivalency_chk(self.__videv__.get(self.__videv__.KEY_SUMMER_MODE), False, tLogger, "Summer mode") - equivalency_chk(self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT), vtemp, tLogger, "Temperature setpoint") - - def test_away_mode(self, tcel=report.TCEL_FULL): - fname = inspect.currentframe().f_code.co_name - if tcel != report.TCEL_SMOKE or not self.METHOD_EXECUTED.get(fname, False): - self.METHOD_EXECUTED[fname] = True - # - self.tcl.testCase("Away mode test: %s" % self.__valve__.topic, tcel, self.__test_away_mode__, tcel) - - def __test_away_mode__(self, tLogger, tcel): - self.__videv__.set(self.__videv__.KEY_SET_DEFAULT_TEMPERATURE, None) - time.sleep(DT_TOGGLE) - tLogger.debug("Setting preconditions (Default setpoint)") - - vtemp = self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT) - - equivalency_chk(self.__videv__.get(self.__videv__.KEY_AWAY_MODE), False, tLogger, "Away mode") - self.__videv__.set(self.__videv__.KEY_AWAY_MODE, True) - time.sleep(DT_TOGGLE) - tLogger.debug("Activating away mode") - equivalency_chk(self.__videv__.get(self.__videv__.KEY_AWAY_MODE), True, tLogger, "Away mode") - equivalency_chk(self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT), vtemp - 5, tLogger, "Temperature setpoint") - - self.__videv__.set(self.__videv__.KEY_AWAY_MODE, False) - time.sleep(DT_TOGGLE) - tLogger.debug("Deactivating away mode") - equivalency_chk(self.__videv__.get(self.__videv__.KEY_AWAY_MODE), False, tLogger, "Away mode") - equivalency_chk(self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT), vtemp, tLogger, "Temperature setpoint") - - def test_boost_mode(self, tcel=report.TCEL_FULL): - fname = inspect.currentframe().f_code.co_name - if tcel != report.TCEL_SMOKE or not self.METHOD_EXECUTED.get(fname, False): - self.METHOD_EXECUTED[fname] = True - # - self.tcl.testCase("Boost mode test: %s" % self.__valve__.topic, tcel, self.__test_boost_mode__, tcel) - - def __test_boost_mode__(self, tLogger, tcel): - self.__videv__.set(self.__videv__.KEY_SET_DEFAULT_TEMPERATURE, None) - time.sleep(DT_TOGGLE) - tLogger.debug("Setting preconditions (Default setpoint)") - - vtemp = self.__valve__.get(self.__valve__.KEY_TEMPERATURE_SETPOINT) - - equivalency_chk(self.__videv__.get(self.__videv__.KEY_BOOST_TIMER), 0, tLogger, "Boost timer") - self.__videv__.set(self.__videv__.KEY_START_BOOST, True) - time.sleep(DT_TOGGLE) - tLogger.debug("Activating boost mode") - greater_chk(self.__videv__.get(self.__videv__.KEY_BOOST_TIMER), 0, tLogger, "Boost timer") - - self.__videv__.set(self.__videv__.KEY_SET_DEFAULT_TEMPERATURE, True) - time.sleep(DT_TOGGLE) - tLogger.debug("Setting postconditions (Default setpoint)") - equivalency_chk(self.__videv__.get(self.__videv__.KEY_BOOST_TIMER), 0, tLogger, "Boost timer") - - if tcel == report.TCEL_FULL: - # test boost timer - pass diff --git a/tests/help.py b/tests/help.py new file mode 100644 index 0000000..5c24bab --- /dev/null +++ b/tests/help.py @@ -0,0 +1,87 @@ +import distro +import getpass +import jinja2 +import json +import os +import platform +import sys + +import report +from report import testSession as testSessionBase +from unittest import jsonlog + +from config import APP_NAME as ROOT_LOGGER_NAME + +DELAY_SET_GET = 0.5 +STATES_SW = (True, False) + + +class testSession(testSessionBase): + def __init__(self, mqtt_client, tcel=report.TCEL_FULL): + self.mqtt_client = mqtt_client + self.full_test_data = {} + param = { + jsonlog.TRUN_EXEC_LVL: tcel, + 'interpreter': 'python'+sys.version.split(" ")[0] + } + super().__init__(['__unittest__', ROOT_LOGGER_NAME], **param) + # Get testobject information + self.mqtt_client.add_callback('__info__', self.__test_object_information__) + self.mqtt_client.send('__info__', json.dumps(None)) + + def __set_base_data__(self, **kwargs): + self.full_test_data[jsonlog.MAIN_KEY_SYSTEM_INFO] = self.__system_info__() + self.full_test_data[jsonlog.MAIN_KEY_TESTOBJECT_INFO] = {"Name": "-"} + self.full_test_data[jsonlog.MAIN_KEY_UNITTEST_INFO] = self.__unittest_information__() + self.full_test_data[jsonlog.MAIN_KEY_SPECIFICATION] = self.__specification__() + self.full_test_data[jsonlog.MAIN_KEY_LOST_SOULS] = {} + self.full_test_data[jsonlog.MAIN_KEY_TESTRUNS] = [] + return super().__set_base_data__(**kwargs) + + def __system_info__(self): + system_info = {} + system_info[jsonlog.SYSI_ARCHITECTURE] = platform.architecture()[0] + system_info[jsonlog.SYSI_MACHINE] = platform.machine() + system_info[jsonlog.SYSI_HOSTNAME] = platform.node() + system_info[jsonlog.SYSI_DISTRIBUTION] = distro.name() + " " + distro.version() + " (" + distro.codename() + ")" + system_info[jsonlog.SYSI_SYSTEM] = platform.system() + system_info[jsonlog.SYSI_KERNEL] = platform.release() + ' (%s)' % platform.version() + system_info[jsonlog.SYSI_USERNAME] = getpass.getuser() + system_info[jsonlog.SYSI_PATH] = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) + return system_info + + def __test_object_information__(self, client, userdata, message): + data = json.loads(message.payload) + if data is not None: + self.full_test_data[jsonlog.MAIN_KEY_TESTOBJECT_INFO]['Name'] = data.get("app_name", "-") + self.full_test_data[jsonlog.MAIN_KEY_TESTOBJECT_INFO]['Version'] = data.get("version", {}).get("readable", "-") + self.full_test_data[jsonlog.MAIN_KEY_TESTOBJECT_INFO]['Git URL'] = data.get("git", {}).get("url", "-") + self.full_test_data[jsonlog.MAIN_KEY_TESTOBJECT_INFO]['Git REF'] = data.get("git", {}).get("ref", "-") + + def __unittest_information__(self): + return {} + + def __specification__(self): + return {} + + def __finalise__(self): + self.full_test_data[jsonlog.MAIN_KEY_LOST_SOULS][jsonlog.LOST_ITEMLIST] = [] + self.full_test_data[jsonlog.MAIN_KEY_LOST_SOULS][jsonlog.LOST_TESTCASELIST] = self["uid_list_sorted"][:] + self.full_test_data[jsonlog.MAIN_KEY_TESTRUNS].append(self) + + def export_results_to(self, template_file, path): + self.__finalise__() + # + # Export json testrun data + # + with open(os.path.join(path, "testrun.json"), "w") as fh: + fh.write(json.dumps(self.full_test_data, indent=4)) + # + # Export jinja templated data + # + template_path = os.path.dirname(template_file) + template_filename = os.path.basename(template_file) + jenv = jinja2.Environment(loader=jinja2.FileSystemLoader(template_path)) + template = jenv.get_template(template_filename) + with open(os.path.join(path, "testrun.tex"), "w") as fh: + fh.write(template.render(data=self.full_test_data)) diff --git a/tests/light.py b/tests/light.py deleted file mode 100644 index 7f469a6..0000000 --- a/tests/light.py +++ /dev/null @@ -1,105 +0,0 @@ -import inspect -import report -from tests import testcase, DT_TOGGLE -import time -from unittest.test import equivalency_chk - - -class testcase_light(testcase): - def __init__(self, tcl, videv, sw_device, li_device): - super().__init__(tcl) - self.videv = videv - self.sw_device = sw_device - self.li_device = li_device - self.__test_list__ = [] - if self.videv.enable_state: - self.__test_list__.append('test_power_on_off') - if self.videv.enable_brightness: - self.__test_list__.append('test_brightness') - if self.videv.enable_color_temp: - self.__test_list__.append('test_color_temp') - - def test_power_on_off(self, tcel=report.TCEL_FULL): - fname = inspect.currentframe().f_code.co_name - if tcel != report.TCEL_SMOKE or not self.METHOD_EXECUTED.get(fname, False): - self.METHOD_EXECUTED[fname] = True - # - self.tcl.testCase("Power On/ Off test for device and virtual device: %s" % self.sw_device.topic, tcel, self.__test_power_on_off__, tcel) - - def __test_power_on_off__(self, tLogger, tcel): - sw_state = self.sw_device.get(self.sw_device.KEY_OUTPUT_0) - - for i in range(0, 2): - equivalency_chk(self.videv.get(self.videv.KEY_OUTPUT_0), sw_state, tLogger, "Virtual device state") - self.sw_device.set(self.sw_device.KEY_OUTPUT_0, not sw_state) - time.sleep(DT_TOGGLE) - tLogger.debug("Changing switching device state to '%s'", not sw_state) - equivalency_chk(self.videv.get(self.videv.KEY_OUTPUT_0), not sw_state, tLogger, "Virtual device state") - # - equivalency_chk(self.sw_device.get(self.sw_device.KEY_OUTPUT_0), not sw_state, tLogger, "Switching device state") - self.videv.set(self.videv.KEY_OUTPUT_0, sw_state) - time.sleep(DT_TOGGLE) - tLogger.debug("Changing virtual device state to '%s'", sw_state) - equivalency_chk(self.sw_device.get(self.sw_device.KEY_OUTPUT_0), sw_state, tLogger, "Switching device state") - - def test_brightness(self, tcel=report.TCEL_FULL): - fname = inspect.currentframe().f_code.co_name - if tcel != report.TCEL_SMOKE or not self.METHOD_EXECUTED.get(fname, False): - self.METHOD_EXECUTED[fname] = True - # - self.tcl.testCase("Brightness test for device and virtual device: %s" % self.li_device.topic, tcel, self.__test_brightness__, tcel) - - def __test_brightness__(self, tLogger, tcel): - br_state = self.li_device.get(self.li_device.KEY_BRIGHTNESS) or 50 # if br_state is None - delta = -15 if br_state > 50 else 15 - self.sw_device.set(self.sw_device.KEY_OUTPUT_0, True) - time.sleep(DT_TOGGLE) - tLogger.debug("Setting preconditions (Power on)") - - for i in range(0, 2): - equivalency_chk(self.videv.get(self.videv.KEY_BRIGHTNESS), br_state, tLogger, "Virtual device brightness") - self.li_device.set(self.li_device.KEY_BRIGHTNESS, br_state + delta) - time.sleep(DT_TOGGLE) - tLogger.debug("Changing light device brightness to '%d'", br_state + delta) - equivalency_chk(self.videv.get(self.videv.KEY_BRIGHTNESS), br_state + delta, tLogger, "Virtual device brightness") - # - equivalency_chk(self.li_device.get(self.li_device.KEY_BRIGHTNESS), br_state + delta, tLogger, "Light device brightness") - self.videv.set(self.videv.KEY_BRIGHTNESS, br_state) - time.sleep(DT_TOGGLE) - tLogger.debug("Changing virtual device brightness to '%d'", br_state) - equivalency_chk(self.li_device.get(self.li_device.KEY_BRIGHTNESS), br_state, tLogger, "Light device brightness") - # - self.sw_device.set(self.sw_device.KEY_OUTPUT_0, False) - time.sleep(DT_TOGGLE) - tLogger.debug("Resetting precondition (Power off)") - - def test_color_temp(self, tcel=report.TCEL_FULL): - fname = inspect.currentframe().f_code.co_name - if tcel != report.TCEL_SMOKE or not self.METHOD_EXECUTED.get(fname, False): - self.METHOD_EXECUTED[fname] = True - # - self.tcl.testCase("Color temperature test for device and virtual device: %s" % self.li_device.topic, tcel, self.__test_color_temp__, tcel) - - def __test_color_temp__(self, tLogger, tcel): - ct_state = self.li_device.get(self.li_device.KEY_COLOR_TEMP) or 5 # Use 5 if None - delta = -3 if ct_state > 5 else 3 - self.sw_device.set(self.sw_device.KEY_OUTPUT_0, True) - time.sleep(DT_TOGGLE) - tLogger.debug("Setting preconditions (Power on)") - - for i in range(0, 2): - equivalency_chk(self.videv.get(self.videv.KEY_COLOR_TEMP), ct_state, tLogger, "Virtual device color temperature") - self.li_device.set(self.li_device.KEY_COLOR_TEMP, ct_state + delta) - time.sleep(DT_TOGGLE) - tLogger.debug("Changing light device color temperature to '%d'", ct_state) - equivalency_chk(self.videv.get(self.videv.KEY_COLOR_TEMP), ct_state + delta, tLogger, "Virtual device color temperature") - # - equivalency_chk(self.li_device.get(self.li_device.KEY_COLOR_TEMP), ct_state + delta, tLogger, "Light device brightness") - self.videv.set(self.videv.KEY_COLOR_TEMP, ct_state) - time.sleep(DT_TOGGLE) - tLogger.debug("Changing virtual device color temperature to '%d'", ct_state) - equivalency_chk(self.li_device.get(self.li_device.KEY_COLOR_TEMP), ct_state, tLogger, "Light device brightness") - # - self.sw_device.set(self.sw_device.KEY_OUTPUT_0, False) - time.sleep(DT_TOGGLE) - tLogger.debug("Resetting precondition (Power off)") diff --git a/tests/rooms.py b/tests/rooms.py new file mode 100644 index 0000000..e7b8b28 --- /dev/null +++ b/tests/rooms.py @@ -0,0 +1,112 @@ + +import report + +from devdi.devices import physical_devices +from mqtt import mqtt_client +from simulation.rooms import house + +from .help import testSession +from .help import STATES_SW +from tests.common_testcases import device_follow + + +def main_light_videv_shelly_sw(ts, testcase_id, room, single=False): + ts.testCase( + testcase_id, report.TCEL_SINGLE if single else report.TCEL_SMOKE, device_follow, + room.videv_main_light, room.videv_main_light.KEY_OUTPUT_0, + room.main_light, room.main_light.KEY_OUTPUT_0, + STATES_SW + ) + + +def main_light_shelly_videv_sw(ts, testcase_id, room, single=False): + ts.testCase( + testcase_id, report.TCEL_SINGLE if single else report.TCEL_FULL, device_follow, + room.main_light, room.main_light.KEY_OUTPUT_0, + room.videv_main_light, room.videv_main_light.KEY_OUTPUT_0, + STATES_SW + ) + + +def ffe(ts: testSession, mc: mqtt_client, h: house): + # REQ 0001 - 0099 + room = h.ffe.livingroom + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0001', room) + main_light_shelly_videv_sw(ts, 'REQ-0002', room) + + room = h.ffe.sleep + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0011', room) + main_light_shelly_videv_sw(ts, 'REQ-0012', room) + + room = h.ffe.diningroom + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0021', room) + main_light_shelly_videv_sw(ts, 'REQ-0022', room) + + room = h.ffe.kitchen + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0031', room) + main_light_shelly_videv_sw(ts, 'REQ-0032', room) + + h.ffe.floor + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0041', room) + main_light_shelly_videv_sw(ts, 'REQ-0042', room) + + +def ffw(ts: testSession, mc: mqtt_client, h: house): + # REQ 0101 - 0199 + room = h.ffw.livingroom + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0101', room) + main_light_shelly_videv_sw(ts, 'REQ-0102', room) + + room = h.ffw.sleep + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0111', room) + main_light_shelly_videv_sw(ts, 'REQ-0112', room, True) + + room = h.ffw.julian + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0121', room) + main_light_shelly_videv_sw(ts, 'REQ-0122', room) + + room = h.ffw.bath + + room = h.ffw.floor + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0141', room, True) + main_light_shelly_videv_sw(ts, 'REQ-0142', room, True) + + +def gfe(ts: testSession, mc: mqtt_client, h: house): + # REQ 0201 - 0299 + pass + + +def gfw(ts: testSession, mc: mqtt_client, h: house): + # REQ 0301 - 0399 + room = h.gfw.dirk + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0301', room) + main_light_shelly_videv_sw(ts, 'REQ-0302', room) + + room = h.gfw.marion + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0311', room) + main_light_shelly_videv_sw(ts, 'REQ-0312', room) + + room = h.gfw.floor + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0321', room) + main_light_shelly_videv_sw(ts, 'REQ-0322', room) + + +def stw(ts: testSession, mc: mqtt_client, h: house): + # REQ 0401 - 0499 + room = h.stairway + # main_light videv->shelly + main_light_videv_shelly_sw(ts, 'REQ-0401', room) + main_light_shelly_videv_sw(ts, 'REQ-0402', room) diff --git a/tests/synchronisation.py b/tests/synchronisation.py deleted file mode 100644 index b2b4d55..0000000 --- a/tests/synchronisation.py +++ /dev/null @@ -1,89 +0,0 @@ -import report -from tests import testcase, DT_TOGGLE -import time -from unittest.test import equivalency_chk - - -class testcase_synchronisation(testcase): - def __init__(self, tcl, sw_master, br_master, ct_master, *follower): - super().__init__(tcl) - self.sw_master = sw_master - self.br_master = br_master - self.ct_master = ct_master - self.follower = follower - # - self.__test_list__ = [] - if sw_master is not None: - self.__test_list__.append('test_power_on_off_sync') - if br_master is not None: - self.__test_list__.append('test_brightness_sync') - if ct_master is not None: - self.__test_list__.append('test_color_temp_sync') - - def test_power_on_off_sync(self, tcel=report.TCEL_FULL): - self.tcl.testCase("Power On/ Off synchronisation test: %s" % self.sw_master.topic, tcel, self.__test_power_on_off_sync__, tcel) - - def __test_power_on_off_sync__(self, tLogger, tcel): - f_state = self.follower[0].get(self.follower[0].KEY_OUTPUT_0) - self.sw_master.set(self.sw_master.KEY_OUTPUT_0, f_state) - time.sleep(DT_TOGGLE) - tLogger.debug("Setting preconditions for master device '%s'", f_state) - - for i in range(0, 2): - f_state = not f_state - self.sw_master.set(self.sw_master.KEY_OUTPUT_0, f_state) - time.sleep(DT_TOGGLE) - tLogger.debug("Changing master device state to '%s'", f_state) - - for fo in self.follower: - equivalency_chk(fo.get(fo.KEY_OUTPUT_0), f_state, tLogger, "Follower device (%s) state" % fo.topic) - - def test_brightness_sync(self, tcel=report.TCEL_FULL): - self.tcl.testCase("Brightness synchronisation test: %s" % self.br_master.topic, tcel, self.__test_brightness_sync__, tcel) - - def __test_brightness_sync__(self, tLogger, tcel): - sw_state = self.sw_master.get(self.sw_master.KEY_OUTPUT_0) - self.sw_master.set(self.sw_master.KEY_OUTPUT_0, True) - time.sleep(DT_TOGGLE) - tLogger.debug("Setting preconditions for master device '%s' (Power on)", True) - - target = self.follower[0].get(self.follower[0].KEY_BRIGHTNESS) - delta = 15 if target < 50 else -15 - for i in range(0, 2): - target = target + delta - self.br_master.set(self.br_master.KEY_BRIGHTNESS, target) - time.sleep(DT_TOGGLE) - tLogger.debug("Changing master device brightness to '%d'", target) - for fo in self.follower: - equivalency_chk(fo.get(fo.KEY_BRIGHTNESS), target, tLogger, "Follower device (%s) brightness" % fo.topic) - delta = -delta - - # reset changes of precondition - self.sw_master.set(self.sw_master.KEY_OUTPUT_0, sw_state) - time.sleep(DT_TOGGLE) - tLogger.debug("Resetting preconditions for master device '%s' (Power off)", sw_state) - - def test_color_temp_sync(self, tcel=report.TCEL_FULL): - self.tcl.testCase("Color temperature synchronisation test: %s" % self.ct_master.topic, tcel, self.__test_color_temp_sync__, tcel) - - def __test_color_temp_sync__(self, tLogger, tcel): - sw_state = self.sw_master.get(self.sw_master.KEY_OUTPUT_0) - self.sw_master.set(self.sw_master.KEY_OUTPUT_0, True) - time.sleep(DT_TOGGLE) - tLogger.debug("Setting preconditions for master device '%s' (Power on)", True) - - target = self.follower[0].get(self.follower[0].KEY_COLOR_TEMP) - delta = 3 if target < 5 else -3 - for i in range(0, 2): - target = target + delta - self.ct_master.set(self.br_master.KEY_COLOR_TEMP, target) - time.sleep(DT_TOGGLE) - tLogger.debug("Changing master device color temperature to '%d'", target) - for fo in self.follower: - equivalency_chk(fo.get(fo.KEY_COLOR_TEMP), target, tLogger, "Follower device (%s) color temperature" % fo.topic) - delta = -delta - - # reset changes of precondition - self.sw_master.set(self.sw_master.KEY_OUTPUT_0, sw_state) - time.sleep(DT_TOGGLE) - tLogger.debug("Resetting preconditions for master device '%s' (Power off)", sw_state)