{ "time_consumption": 84.72992253303528, "name": "Default Testsession name", "number_of_tests": 67, "number_of_possibly_failed_tests": 0, "testcase_execution_level": 90, "testcase_names": { "0": "Single Test", "10": "Smoke Test (Minumum subset)", "50": "Short Test (Subset)", "90": "Full Test (all defined tests)" }, "number_of_successfull_tests": 67, "number_of_failed_tests": 0, "testcases": { "Power On/ Off test for device and virtual device: zigbee/ffe/diningroom/powerplug_floorlamp": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: zigbee/ffe/diningroom/powerplug_floorlamp", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954614.326724, "msecs": 326.7240524291992, "relativeCreated": 222.96643257141113, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: zigbee/ffe/diningroom/powerplug_floorlamp", "asctime": "2023-02-09 15:56:54,326", "moduleLogger": [ { "name": "smart_brain.mqtt", "msg": "Adding callback for topic %s", "args": [ "__info__" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 70, "funcName": "add_callback", "created": 1675954614.3241336, "msecs": 324.13363456726074, "relativeCreated": 220.37601470947266, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Adding callback for topic __info__", "asctime": "2023-02-09 15:56:54,324" }, { "name": "smart_brain.mqtt.__info__", "msg": "Sending message with topic %s and payload %s", "args": [ "__info__", "null" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954614.3243482, "msecs": 324.34821128845215, "relativeCreated": 220.59059143066406, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic __info__ and payload null", "asctime": "2023-02-09 15:56:54,324" } ], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954614.3269053, "msecs": 326.9052505493164, "relativeCreated": 223.14763069152832, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:54,326", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954614.3268197, "msecs": 326.81965827941895, "relativeCreated": 223.06203842163086, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:56:54,326" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954614.326863, "msecs": 326.86305046081543, "relativeCreated": 223.10543060302734, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:56:54,326" } ], "time_consumption": 4.220008850097656e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954614.6276383, "msecs": 627.6383399963379, "relativeCreated": 523.8807201385498, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:56:54,627", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954614.3269832, "msecs": 326.9832134246826, "relativeCreated": 223.22559356689453, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload on", "asctime": "2023-02-09 15:56:54,326" }, { "name": "smart_brain.mqtt.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "__info__", "b'null'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.327394, "msecs": 327.3940086364746, "relativeCreated": 223.63638877868652, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic __info__ and payload b'null'", "asctime": "2023-02-09 15:56:54,327" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.3735678, "msecs": 373.5678195953369, "relativeCreated": 269.8101997375488, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'on'", "asctime": "2023-02-09 15:56:54,373" }, { "name": "smart_brain.mqtt.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "__info__", "b'{\"app_name\": \"smart_brain\", \"version\": {\"readable\": \"1.0.1\", \"major\": 1, \"minor\": 0, \"patch\": 1}, \"git\": {\"url\": \"https://git.mount-mockery.de/smarthome/smart_brain.git\", \"ref\": \"0b74ff04c9f3cb8c2608c2bcc2ba7759195ea5f8\"}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.3738735, "msecs": 373.8734722137451, "relativeCreated": 270.11585235595703, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic __info__ and payload b'{\"app_name\": \"smart_brain\", \"version\": {\"readable\": \"1.0.1\", \"major\": 1, \"minor\": 0, \"patch\": 1}, \"git\": {\"url\": \"https://git.mount-mockery.de/smarthome/smart_brain.git\", \"ref\": \"0b74ff04c9f3cb8c2608c2bcc2ba7759195ea5f8\"}}'", "asctime": "2023-02-09 15:56:54,373" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.37413, "msecs": 374.1300106048584, "relativeCreated": 270.3723907470703, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:56:54,374" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.3744109, "msecs": 374.41086769104004, "relativeCreated": 270.65324783325195, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:54,374" } ], "time_consumption": 0.25322747230529785 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954614.628335, "msecs": 628.3349990844727, "relativeCreated": 524.5773792266846, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:54,628", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954614.6280868, "msecs": 628.0868053436279, "relativeCreated": 524.3291854858398, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:56:54,628" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954614.628225, "msecs": 628.2250881195068, "relativeCreated": 524.4674682617188, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:56:54,628" } ], "time_consumption": 0.00010991096496582031 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954614.6287339, "msecs": 628.7338733673096, "relativeCreated": 524.9762535095215, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:54,628", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954614.628545, "msecs": 628.5450458526611, "relativeCreated": 524.787425994873, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:56:54,628" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954614.6286447, "msecs": 628.6447048187256, "relativeCreated": 524.8870849609375, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:56:54,628" } ], "time_consumption": 8.916854858398438e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954614.9309928, "msecs": 930.992841720581, "relativeCreated": 827.235221862793, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:56:54,930", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954614.6290085, "msecs": 629.0085315704346, "relativeCreated": 525.2509117126465, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/diningroom/floorlamp/state and payload false", "asctime": "2023-02-09 15:56:54,629" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.6301138, "msecs": 630.1138401031494, "relativeCreated": 526.3562202453613, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:56:54,630" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.6316884, "msecs": 631.6883563995361, "relativeCreated": 527.930736541748, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:56:54,631" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954614.6320987, "msecs": 632.0986747741699, "relativeCreated": 528.3410549163818, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload off", "asctime": "2023-02-09 15:56:54,632" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.6330817, "msecs": 633.0816745758057, "relativeCreated": 529.3240547180176, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'off'", "asctime": "2023-02-09 15:56:54,633" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.6765015, "msecs": 676.5015125274658, "relativeCreated": 572.7438926696777, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:56:54,676" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.6772835, "msecs": 677.283525466919, "relativeCreated": 573.5259056091309, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:54,677" } ], "time_consumption": 0.2537093162536621 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954614.9316864, "msecs": 931.6864013671875, "relativeCreated": 827.9287815093994, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:54,931", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954614.9314065, "msecs": 931.4064979553223, "relativeCreated": 827.6488780975342, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:56:54,931" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954614.9315748, "msecs": 931.574821472168, "relativeCreated": 827.8172016143799, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:56:54,931" } ], "time_consumption": 0.00011157989501953125 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954614.93205, "msecs": 932.0499897003174, "relativeCreated": 828.2923698425293, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:54,932", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954614.9318585, "msecs": 931.8585395812988, "relativeCreated": 828.1009197235107, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:56:54,931" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954614.9319584, "msecs": 931.9584369659424, "relativeCreated": 828.2008171081543, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:56:54,931" } ], "time_consumption": 9.1552734375e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954615.2332678, "msecs": 233.26778411865234, "relativeCreated": 1129.5101642608643, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:56:55,233", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954614.9322774, "msecs": 932.2774410247803, "relativeCreated": 828.5198211669922, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload on", "asctime": "2023-02-09 15:56:54,932" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.9333842, "msecs": 933.3841800689697, "relativeCreated": 829.6265602111816, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'on'", "asctime": "2023-02-09 15:56:54,933" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.9355483, "msecs": 935.5483055114746, "relativeCreated": 831.7906856536865, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:56:54,935" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954614.936233, "msecs": 936.2330436706543, "relativeCreated": 832.4754238128662, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:54,936" } ], "time_consumption": 0.29703474044799805 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954615.2338557, "msecs": 233.8557243347168, "relativeCreated": 1130.0981044769287, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:55,233", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954615.2336164, "msecs": 233.61635208129883, "relativeCreated": 1129.8587322235107, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:56:55,233" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954615.2337344, "msecs": 233.7343692779541, "relativeCreated": 1129.976749420166, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:56:55,233" } ], "time_consumption": 0.00012135505676269531 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954615.2341971, "msecs": 234.19713973999023, "relativeCreated": 1130.4395198822021, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:55,234", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954615.2340252, "msecs": 234.025239944458, "relativeCreated": 1130.26762008667, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:56:55,234" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954615.2341182, "msecs": 234.11822319030762, "relativeCreated": 1130.3606033325195, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:56:55,234" } ], "time_consumption": 7.891654968261719e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954615.53628, "msecs": 536.2799167633057, "relativeCreated": 1432.5222969055176, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:56:55,536", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954615.234439, "msecs": 234.43889617919922, "relativeCreated": 1130.6812763214111, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/diningroom/floorlamp/state and payload false", "asctime": "2023-02-09 15:56:55,234" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.2354088, "msecs": 235.40878295898438, "relativeCreated": 1131.6511631011963, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:56:55,235" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.236864, "msecs": 236.8640899658203, "relativeCreated": 1133.1064701080322, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:56:55,236" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954615.2372715, "msecs": 237.27154731750488, "relativeCreated": 1133.5139274597168, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload off", "asctime": "2023-02-09 15:56:55,237" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.2381074, "msecs": 238.10744285583496, "relativeCreated": 1134.3498229980469, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'off'", "asctime": "2023-02-09 15:56:55,238" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.2817862, "msecs": 281.7862033843994, "relativeCreated": 1178.0285835266113, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:56:55,281" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.2824724, "msecs": 282.4723720550537, "relativeCreated": 1178.7147521972656, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:55,282" } ], "time_consumption": 0.25380754470825195 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954615.536865, "msecs": 536.8649959564209, "relativeCreated": 1433.1073760986328, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:55,536", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954615.5366488, "msecs": 536.6487503051758, "relativeCreated": 1432.8911304473877, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:56:55,536" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954615.5367703, "msecs": 536.7703437805176, "relativeCreated": 1433.0127239227295, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:56:55,536" } ], "time_consumption": 9.465217590332031e-05 } ], "time_consumption": 1.2101409435272217, "time_start": "2023-02-09 15:56:54,326", "time_finished": "2023-02-09 15:56:55,536" }, "Power On/ Off test for device and virtual device: shellies/ffe/diningroom/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/ffe/diningroom/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954615.537326, "msecs": 537.3260974884033, "relativeCreated": 1433.5684776306152, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/ffe/diningroom/main_light", "asctime": "2023-02-09 15:56:55,537", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954615.537724, "msecs": 537.7240180969238, "relativeCreated": 1433.9663982391357, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:55,537", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954615.5375416, "msecs": 537.5416278839111, "relativeCreated": 1433.784008026123, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:56:55,537" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954615.5376387, "msecs": 537.6386642456055, "relativeCreated": 1433.8810443878174, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:56:55,537" } ], "time_consumption": 8.535385131835938e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954615.838892, "msecs": 838.8919830322266, "relativeCreated": 1735.1343631744385, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:56:55,838", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954615.5379376, "msecs": 537.9376411437988, "relativeCreated": 1434.1800212860107, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:56:55,537" }, { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.5389125, "msecs": 538.9125347137451, "relativeCreated": 1435.154914855957, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:56:55,538" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.5413184, "msecs": 541.318416595459, "relativeCreated": 1437.560796737671, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:56:55,541" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954615.5416737, "msecs": 541.6736602783203, "relativeCreated": 1437.9160404205322, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload on", "asctime": "2023-02-09 15:56:55,541" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.5422041, "msecs": 542.2041416168213, "relativeCreated": 1438.4465217590332, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:56:55,542" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.542843, "msecs": 542.8431034088135, "relativeCreated": 1439.0854835510254, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:55,542" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.543337, "msecs": 543.3371067047119, "relativeCreated": 1439.5794868469238, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'on'", "asctime": "2023-02-09 15:56:55,543" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.5854342, "msecs": 585.4341983795166, "relativeCreated": 1481.6765785217285, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:56:55,585" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.58608, "msecs": 586.0800743103027, "relativeCreated": 1482.3224544525146, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:55,586" } ], "time_consumption": 0.25281190872192383 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954615.8394606, "msecs": 839.4606113433838, "relativeCreated": 1735.7029914855957, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:55,839", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954615.8392465, "msecs": 839.2465114593506, "relativeCreated": 1735.4888916015625, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:56:55,839" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954615.8393679, "msecs": 839.3678665161133, "relativeCreated": 1735.6102466583252, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:56:55,839" } ], "time_consumption": 9.274482727050781e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954615.8397703, "msecs": 839.7703170776367, "relativeCreated": 1736.0126972198486, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:55,839", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954615.839607, "msecs": 839.6070003509521, "relativeCreated": 1735.849380493164, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:56:55,839" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954615.8396928, "msecs": 839.6928310394287, "relativeCreated": 1735.9352111816406, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:56:55,839" } ], "time_consumption": 7.748603820800781e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954616.1409574, "msecs": 140.95735549926758, "relativeCreated": 2037.1997356414795, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:56:56,140", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954615.8400073, "msecs": 840.0073051452637, "relativeCreated": 1736.2496852874756, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/diningroom/main_light/state and payload false", "asctime": "2023-02-09 15:56:55,840" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.8409882, "msecs": 840.9881591796875, "relativeCreated": 1737.2305393218994, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:56:55,840" }, { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.8425682, "msecs": 842.5681591033936, "relativeCreated": 1738.8105392456055, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:56:55,842" }, { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954615.8429477, "msecs": 842.9477214813232, "relativeCreated": 1739.1901016235352, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:56:55,842" }, { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.8438118, "msecs": 843.8117504119873, "relativeCreated": 1740.0541305541992, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:56:55,843" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.8885155, "msecs": 888.5154724121094, "relativeCreated": 1784.7578525543213, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:56:55,888" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954615.8889248, "msecs": 888.9248371124268, "relativeCreated": 1785.1672172546387, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload off", "asctime": "2023-02-09 15:56:55,888" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.889516, "msecs": 889.5161151885986, "relativeCreated": 1785.7584953308105, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:56:55,889" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.8901572, "msecs": 890.1572227478027, "relativeCreated": 1786.3996028900146, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:55,890" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.8906565, "msecs": 890.6564712524414, "relativeCreated": 1786.8988513946533, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'off'", "asctime": "2023-02-09 15:56:55,890" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.9336886, "msecs": 933.6886405944824, "relativeCreated": 1829.9310207366943, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:56:55,933" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954615.934546, "msecs": 934.5459938049316, "relativeCreated": 1830.7883739471436, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:55,934" } ], "time_consumption": 0.20641136169433594 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954616.1416497, "msecs": 141.64972305297852, "relativeCreated": 2037.8921031951904, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:56,141", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954616.1414225, "msecs": 141.42251014709473, "relativeCreated": 2037.6648902893066, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:56:56,141" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954616.141551, "msecs": 141.55101776123047, "relativeCreated": 2037.7933979034424, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:56:56,141" } ], "time_consumption": 9.870529174804688e-05 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954616.141974, "msecs": 141.97397232055664, "relativeCreated": 2038.2163524627686, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:56,141", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954616.1418047, "msecs": 141.80469512939453, "relativeCreated": 2038.0470752716064, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:56:56,141" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954616.141895, "msecs": 141.89505577087402, "relativeCreated": 2038.137435913086, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:56:56,141" } ], "time_consumption": 7.891654968261719e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954616.4431107, "msecs": 443.11070442199707, "relativeCreated": 2339.353084564209, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:56:56,443", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954616.1421847, "msecs": 142.18473434448242, "relativeCreated": 2038.4271144866943, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:56:56,142" }, { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.143157, "msecs": 143.1570053100586, "relativeCreated": 2039.3993854522705, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:56:56,143" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.1456041, "msecs": 145.60413360595703, "relativeCreated": 2041.846513748169, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:56:56,145" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954616.1459486, "msecs": 145.9486484527588, "relativeCreated": 2042.1910285949707, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload on", "asctime": "2023-02-09 15:56:56,145" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.1464624, "msecs": 146.46244049072266, "relativeCreated": 2042.7048206329346, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:56:56,146" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.1470997, "msecs": 147.09973335266113, "relativeCreated": 2043.342113494873, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:56,147" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.1476107, "msecs": 147.61066436767578, "relativeCreated": 2043.8530445098877, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'on'", "asctime": "2023-02-09 15:56:56,147" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.1923487, "msecs": 192.34871864318848, "relativeCreated": 2088.5910987854004, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:56:56,192" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.192996, "msecs": 192.99602508544922, "relativeCreated": 2089.238405227661, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:56,192" } ], "time_consumption": 0.25011467933654785 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954616.4437296, "msecs": 443.7296390533447, "relativeCreated": 2339.9720191955566, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:56,443", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954616.4434822, "msecs": 443.4821605682373, "relativeCreated": 2339.724540710449, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:56:56,443" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954616.443628, "msecs": 443.62807273864746, "relativeCreated": 2339.8704528808594, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:56:56,443" } ], "time_consumption": 0.00010156631469726562 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954616.4440536, "msecs": 444.05364990234375, "relativeCreated": 2340.2960300445557, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:56,444", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954616.4438853, "msecs": 443.88532638549805, "relativeCreated": 2340.12770652771, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:56:56,443" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954616.443975, "msecs": 443.97497177124023, "relativeCreated": 2340.217351913452, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:56:56,443" } ], "time_consumption": 7.867813110351562e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954616.7452826, "msecs": 745.2826499938965, "relativeCreated": 2641.5250301361084, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:56:56,745", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954616.4443097, "msecs": 444.3097114562988, "relativeCreated": 2340.5520915985107, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/diningroom/main_light/state and payload false", "asctime": "2023-02-09 15:56:56,444" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.4452822, "msecs": 445.2822208404541, "relativeCreated": 2341.524600982666, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:56:56,445" }, { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.447782, "msecs": 447.782039642334, "relativeCreated": 2344.024419784546, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:56:56,447" }, { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954616.448187, "msecs": 448.18711280822754, "relativeCreated": 2344.4294929504395, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:56:56,448" }, { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.449024, "msecs": 449.023962020874, "relativeCreated": 2345.266342163086, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:56:56,449" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.492252, "msecs": 492.2521114349365, "relativeCreated": 2388.4944915771484, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:56:56,492" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954616.492659, "msecs": 492.6590919494629, "relativeCreated": 2388.901472091675, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload off", "asctime": "2023-02-09 15:56:56,492" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.4932532, "msecs": 493.253231048584, "relativeCreated": 2389.495611190796, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:56:56,493" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.4939067, "msecs": 493.90673637390137, "relativeCreated": 2390.1491165161133, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:56,493" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.4944172, "msecs": 494.4171905517578, "relativeCreated": 2390.6595706939697, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'off'", "asctime": "2023-02-09 15:56:56,494" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.5377595, "msecs": 537.75954246521, "relativeCreated": 2434.001922607422, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:56:56,537" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954616.538495, "msecs": 538.4950637817383, "relativeCreated": 2434.73744392395, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:56,538" } ], "time_consumption": 0.2067875862121582 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954616.745988, "msecs": 745.9878921508789, "relativeCreated": 2642.230272293091, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:56,745", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954616.7457035, "msecs": 745.7034587860107, "relativeCreated": 2641.9458389282227, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:56:56,745" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954616.7458773, "msecs": 745.8772659301758, "relativeCreated": 2642.1196460723877, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:56:56,745" } ], "time_consumption": 0.000110626220703125 } ], "time_consumption": 1.2086617946624756, "time_start": "2023-02-09 15:56:55,537", "time_finished": "2023-02-09 15:56:56,745" }, "Power On/ Off synchronisation test: shellies/ffe/diningroom/main_light": { "name": "__tLogger__", "msg": "Power On/ Off synchronisation test: shellies/ffe/diningroom/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 24, "funcName": "test_power_on_off_sync", "created": 1675954616.7464573, "msecs": 746.4573383331299, "relativeCreated": 2642.699718475342, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off synchronisation test: shellies/ffe/diningroom/main_light", "asctime": "2023-02-09 15:56:56,746", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions for master device '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 30, "funcName": "__test_power_on_off_sync__", "created": 1675954617.0472033, "msecs": 47.20330238342285, "relativeCreated": 2943.4456825256348, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions for master device 'False'", "asctime": "2023-02-09 15:56:57,047", "moduleLogger": [], "time_consumption": 0.0 }, { "name": "__tLogger__", "msg": "Changing master device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off_sync__", "created": 1675954617.3496275, "msecs": 349.6274948120117, "relativeCreated": 3245.8698749542236, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device state to 'True'", "asctime": "2023-02-09 15:56:57,349", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954617.0476649, "msecs": 47.66488075256348, "relativeCreated": 2943.9072608947754, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:56:57,047" }, { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.0488393, "msecs": 48.83933067321777, "relativeCreated": 2945.0817108154297, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:56:57,048" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.0514426, "msecs": 51.442623138427734, "relativeCreated": 2947.6850032806396, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:56:57,051" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954617.0518591, "msecs": 51.859140396118164, "relativeCreated": 2948.10152053833, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload on", "asctime": "2023-02-09 15:56:57,051" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.0524578, "msecs": 52.45780944824219, "relativeCreated": 2948.700189590454, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:56:57,052" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.0532117, "msecs": 53.21168899536133, "relativeCreated": 2949.4540691375732, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:57,053" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.053782, "msecs": 53.781986236572266, "relativeCreated": 2950.024366378784, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'on'", "asctime": "2023-02-09 15:56:57,053" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.0978267, "msecs": 97.82671928405762, "relativeCreated": 2994.0690994262695, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:56:57,097" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.098597, "msecs": 98.59704971313477, "relativeCreated": 2994.8394298553467, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:57,098" } ], "time_consumption": 0.25103044509887695 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954617.350298, "msecs": 350.2979278564453, "relativeCreated": 3246.540307998657, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:57,350", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954617.3500493, "msecs": 350.0492572784424, "relativeCreated": 3246.2916374206543, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): True ()", "asctime": "2023-02-09 15:56:57,350" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954617.3501885, "msecs": 350.1884937286377, "relativeCreated": 3246.4308738708496, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): result = True ()", "asctime": "2023-02-09 15:56:57,350" } ], "time_consumption": 0.00010943412780761719 }, { "name": "__tLogger__", "msg": "Changing master device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off_sync__", "created": 1675954617.651525, "msecs": 651.5250205993652, "relativeCreated": 3547.767400741577, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device state to 'False'", "asctime": "2023-02-09 15:56:57,651", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954617.350593, "msecs": 350.59309005737305, "relativeCreated": 3246.835470199585, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:56:57,350" }, { "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/diningroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.351734, "msecs": 351.733922958374, "relativeCreated": 3247.976303100586, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:56:57,351" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.3543541, "msecs": 354.3541431427002, "relativeCreated": 3250.596523284912, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:56:57,354" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954617.354785, "msecs": 354.7849655151367, "relativeCreated": 3251.0273456573486, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload off", "asctime": "2023-02-09 15:56:57,354" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.355395, "msecs": 355.3950786590576, "relativeCreated": 3251.6374588012695, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:56:57,355" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.3561277, "msecs": 356.1277389526367, "relativeCreated": 3252.3701190948486, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:57,356" }, { "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/diningroom/powerplug_floorlamp/state", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.3566983, "msecs": 356.69827461242676, "relativeCreated": 3252.9406547546387, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'off'", "asctime": "2023-02-09 15:56:57,356" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.401029, "msecs": 401.029109954834, "relativeCreated": 3297.271490097046, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:56:57,401" }, { "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/diningroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.4017994, "msecs": 401.79944038391113, "relativeCreated": 3298.041820526123, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:57,401" } ], "time_consumption": 0.2497255802154541 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954617.6521306, "msecs": 652.1306037902832, "relativeCreated": 3548.372983932495, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:57,652", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954617.6518822, "msecs": 651.8821716308594, "relativeCreated": 3548.1245517730713, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): False ()", "asctime": "2023-02-09 15:56:57,651" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954617.652006, "msecs": 652.0059108734131, "relativeCreated": 3548.248291015625, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): result = False ()", "asctime": "2023-02-09 15:56:57,652" } ], "time_consumption": 0.0001246929168701172 } ], "time_consumption": 0.9056732654571533, "time_start": "2023-02-09 15:56:56,746", "time_finished": "2023-02-09 15:56:57,652" }, "Power On/ Off test for device and virtual device: shellies/ffe/floor/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/ffe/floor/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954617.6525378, "msecs": 652.5378227233887, "relativeCreated": 3548.7802028656006, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/ffe/floor/main_light", "asctime": "2023-02-09 15:56:57,652", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954617.652912, "msecs": 652.911901473999, "relativeCreated": 3549.154281616211, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:57,652", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954617.6527283, "msecs": 652.7283191680908, "relativeCreated": 3548.9706993103027, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:56:57,652" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954617.6528277, "msecs": 652.8277397155762, "relativeCreated": 3549.070119857788, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:56:57,652" } ], "time_consumption": 8.416175842285156e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954617.955008, "msecs": 955.0080299377441, "relativeCreated": 3851.250410079956, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:56:57,955", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/floor/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954617.6531475, "msecs": 653.1474590301514, "relativeCreated": 3549.3898391723633, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:56:57,653" }, { "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/floor/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.6541445, "msecs": 654.1445255279541, "relativeCreated": 3550.386905670166, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:56:57,654" }, { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.6559663, "msecs": 655.9662818908691, "relativeCreated": 3552.208662033081, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'true'", "asctime": "2023-02-09 15:56:57,655" }, { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.656566, "msecs": 656.5659046173096, "relativeCreated": 3552.8082847595215, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:57,656" } ], "time_consumption": 0.29844212532043457 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954617.9557655, "msecs": 955.7654857635498, "relativeCreated": 3852.0078659057617, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:57,955", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954617.9554222, "msecs": 955.4221630096436, "relativeCreated": 3851.6645431518555, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:56:57,955" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954617.9555635, "msecs": 955.5635452270508, "relativeCreated": 3851.8059253692627, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:56:57,955" } ], "time_consumption": 0.00020194053649902344 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954617.9561894, "msecs": 956.1893939971924, "relativeCreated": 3852.4317741394043, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:57,956", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954617.9559896, "msecs": 955.9895992279053, "relativeCreated": 3852.231979370117, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:56:57,955" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954617.9560955, "msecs": 956.0954570770264, "relativeCreated": 3852.3378372192383, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:56:57,956" } ], "time_consumption": 9.393692016601562e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954618.257327, "msecs": 257.3270797729492, "relativeCreated": 4153.569459915161, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:56:58,257", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954617.9564714, "msecs": 956.4714431762695, "relativeCreated": 3852.7138233184814, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/floor/main_light/state and payload false", "asctime": "2023-02-09 15:56:57,956" }, { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.9576373, "msecs": 957.6373100280762, "relativeCreated": 3853.879690170288, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:56:57,957" }, { "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/floor/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.9592464, "msecs": 959.2463970184326, "relativeCreated": 3855.4887771606445, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/floor/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:56:57,959" }, { "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/floor/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954617.9596617, "msecs": 959.6617221832275, "relativeCreated": 3855.9041023254395, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:56:57,959" }, { "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/floor/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954617.9606557, "msecs": 960.655689239502, "relativeCreated": 3856.898069381714, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:56:57,960" }, { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.0052164, "msecs": 5.216360092163086, "relativeCreated": 3901.458740234375, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:56:58,005" }, { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.0059602, "msecs": 5.960226058959961, "relativeCreated": 3902.202606201172, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:58,005" } ], "time_consumption": 0.25136685371398926 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954618.2579722, "msecs": 257.97224044799805, "relativeCreated": 4154.21462059021, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:58,257", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954618.2577233, "msecs": 257.723331451416, "relativeCreated": 4153.965711593628, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:56:58,257" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954618.2578616, "msecs": 257.8616142272949, "relativeCreated": 4154.103994369507, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:56:58,257" } ], "time_consumption": 0.000110626220703125 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954618.258337, "msecs": 258.33702087402344, "relativeCreated": 4154.579401016235, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:58,258", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954618.2581434, "msecs": 258.14342498779297, "relativeCreated": 4154.385805130005, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:56:58,258" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954618.2582445, "msecs": 258.24451446533203, "relativeCreated": 4154.486894607544, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:56:58,258" } ], "time_consumption": 9.250640869140625e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954618.5594208, "msecs": 559.4208240509033, "relativeCreated": 4455.663204193115, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:56:58,559", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/floor/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954618.2585676, "msecs": 258.56757164001465, "relativeCreated": 4154.809951782227, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:56:58,258" }, { "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/floor/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.2596645, "msecs": 259.66453552246094, "relativeCreated": 4155.906915664673, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:56:58,259" }, { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.2618456, "msecs": 261.84558868408203, "relativeCreated": 4158.087968826294, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'true'", "asctime": "2023-02-09 15:56:58,261" }, { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.2625055, "msecs": 262.50553131103516, "relativeCreated": 4158.747911453247, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:58,262" } ], "time_consumption": 0.29691529273986816 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954618.5601203, "msecs": 560.1203441619873, "relativeCreated": 4456.362724304199, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:58,560", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954618.5598335, "msecs": 559.8335266113281, "relativeCreated": 4456.07590675354, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:56:58,559" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954618.5600092, "msecs": 560.009241104126, "relativeCreated": 4456.251621246338, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:56:58,560" } ], "time_consumption": 0.00011110305786132812 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954618.5604856, "msecs": 560.4856014251709, "relativeCreated": 4456.727981567383, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:58,560", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954618.5602975, "msecs": 560.2974891662598, "relativeCreated": 4456.539869308472, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:56:58,560" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954618.5603979, "msecs": 560.3978633880615, "relativeCreated": 4456.640243530273, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:56:58,560" } ], "time_consumption": 8.7738037109375e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954618.8616138, "msecs": 861.6137504577637, "relativeCreated": 4757.856130599976, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:56:58,861", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954618.5607693, "msecs": 560.7693195343018, "relativeCreated": 4457.011699676514, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/floor/main_light/state and payload false", "asctime": "2023-02-09 15:56:58,560" }, { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.5619957, "msecs": 561.9957447052002, "relativeCreated": 4458.238124847412, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:56:58,561" }, { "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/floor/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.5635262, "msecs": 563.5261535644531, "relativeCreated": 4459.768533706665, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/floor/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:56:58,563" }, { "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/floor/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954618.564474, "msecs": 564.4741058349609, "relativeCreated": 4460.716485977173, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:56:58,564" }, { "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/floor/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.5654852, "msecs": 565.4852390289307, "relativeCreated": 4461.727619171143, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:56:58,565" }, { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.6095595, "msecs": 609.5595359802246, "relativeCreated": 4505.8019161224365, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:56:58,609" }, { "name": "smart_brain.mqtt.videv.ffe.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/floor/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.6102812, "msecs": 610.281229019165, "relativeCreated": 4506.523609161377, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:58,610" } ], "time_consumption": 0.25133252143859863 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954618.8624203, "msecs": 862.4203205108643, "relativeCreated": 4758.662700653076, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:58,862", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954618.8620555, "msecs": 862.0555400848389, "relativeCreated": 4758.297920227051, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:56:58,862" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954618.862248, "msecs": 862.2479438781738, "relativeCreated": 4758.490324020386, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:56:58,862" } ], "time_consumption": 0.0001723766326904297 } ], "time_consumption": 1.2098824977874756, "time_start": "2023-02-09 15:56:57,652", "time_finished": "2023-02-09 15:56:58,862" }, "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/circulation_pump": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/circulation_pump", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954618.8630393, "msecs": 863.0392551422119, "relativeCreated": 4759.281635284424, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/circulation_pump", "asctime": "2023-02-09 15:56:58,863", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954618.8636599, "msecs": 863.6598587036133, "relativeCreated": 4759.902238845825, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:58,863", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954618.8633304, "msecs": 863.3303642272949, "relativeCreated": 4759.572744369507, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:56:58,863" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954618.8635008, "msecs": 863.5008335113525, "relativeCreated": 4759.743213653564, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:56:58,863" } ], "time_consumption": 0.0001590251922607422 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954619.1664321, "msecs": 166.43214225769043, "relativeCreated": 5062.674522399902, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:56:59,166", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/circulation_pump/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954618.864019, "msecs": 864.0189170837402, "relativeCreated": 4760.261297225952, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload on", "asctime": "2023-02-09 15:56:58,864" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/circulation_pump/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.8654191, "msecs": 865.4191493988037, "relativeCreated": 4761.661529541016, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'on'", "asctime": "2023-02-09 15:56:58,865" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/timer", "b'600'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.8704922, "msecs": 870.4922199249268, "relativeCreated": 4766.734600067139, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'600'", "asctime": "2023-02-09 15:56:58,870" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/__info__", "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.8711424, "msecs": 871.1423873901367, "relativeCreated": 4767.384767532349, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'", "asctime": "2023-02-09 15:56:58,871" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0/command", "b'toggle'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.8717082, "msecs": 871.7081546783447, "relativeCreated": 4767.950534820557, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'toggle'", "asctime": "2023-02-09 15:56:58,871" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954618.8720438, "msecs": 872.0438480377197, "relativeCreated": 4768.286228179932, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:56:58,872" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.8725834, "msecs": 872.5833892822266, "relativeCreated": 4768.8257694244385, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'true'", "asctime": "2023-02-09 15:56:58,872" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/__info__", "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.8733065, "msecs": 873.3065128326416, "relativeCreated": 4769.5488929748535, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'", "asctime": "2023-02-09 15:56:58,873" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.8738267, "msecs": 873.8267421722412, "relativeCreated": 4770.069122314453, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:56:58,873" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.9175644, "msecs": 917.5643920898438, "relativeCreated": 4813.806772232056, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'", "asctime": "2023-02-09 15:56:58,917" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954618.9183884, "msecs": 918.3883666992188, "relativeCreated": 4814.630746841431, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:58,918" } ], "time_consumption": 0.24804377555847168 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954619.167021, "msecs": 167.0210361480713, "relativeCreated": 5063.263416290283, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:59,167", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954619.1668024, "msecs": 166.80240631103516, "relativeCreated": 5063.044786453247, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:56:59,166" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954619.1669233, "msecs": 166.92328453063965, "relativeCreated": 5063.165664672852, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:56:59,166" } ], "time_consumption": 9.775161743164062e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954619.167401, "msecs": 167.40107536315918, "relativeCreated": 5063.643455505371, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:59,167", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954619.1672091, "msecs": 167.20914840698242, "relativeCreated": 5063.451528549194, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:56:59,167" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954619.167309, "msecs": 167.30904579162598, "relativeCreated": 5063.551425933838, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:56:59,167" } ], "time_consumption": 9.202957153320312e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954619.4685292, "msecs": 468.52922439575195, "relativeCreated": 5364.771604537964, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:56:59,468", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954619.1676514, "msecs": 167.65141487121582, "relativeCreated": 5063.893795013428, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/kitchen/circulation_pump/state and payload false", "asctime": "2023-02-09 15:56:59,167" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.1686268, "msecs": 168.6267852783203, "relativeCreated": 5064.869165420532, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false'", "asctime": "2023-02-09 15:56:59,168" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/circulation_pump/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.1702409, "msecs": 170.2408790588379, "relativeCreated": 5066.48325920105, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:56:59,170" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/circulation_pump/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954619.1707516, "msecs": 170.75157165527344, "relativeCreated": 5066.993951797485, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload off", "asctime": "2023-02-09 15:56:59,170" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.1713126, "msecs": 171.3125705718994, "relativeCreated": 5067.554950714111, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:56:59,171" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954619.1716409, "msecs": 171.64087295532227, "relativeCreated": 5067.883253097534, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:56:59,171" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/circulation_pump/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.1724405, "msecs": 172.4405288696289, "relativeCreated": 5068.682909011841, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'off'", "asctime": "2023-02-09 15:56:59,172" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.1730137, "msecs": 173.01368713378906, "relativeCreated": 5069.256067276001, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:56:59,173" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/timer", "b'0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.2186234, "msecs": 218.62339973449707, "relativeCreated": 5114.865779876709, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'0'", "asctime": "2023-02-09 15:56:59,218" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/__info__", "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.2629094, "msecs": 262.9094123840332, "relativeCreated": 5159.151792526245, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'", "asctime": "2023-02-09 15:56:59,262" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.263615, "msecs": 263.6148929595947, "relativeCreated": 5159.857273101807, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false'", "asctime": "2023-02-09 15:56:59,263" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/__info__", "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.2642498, "msecs": 264.2498016357422, "relativeCreated": 5160.492181777954, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'", "asctime": "2023-02-09 15:56:59,264" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.2647488, "msecs": 264.74881172180176, "relativeCreated": 5160.991191864014, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'", "asctime": "2023-02-09 15:56:59,264" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.2653143, "msecs": 265.31434059143066, "relativeCreated": 5161.556720733643, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:59,265" } ], "time_consumption": 0.2032148838043213 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954619.4691715, "msecs": 469.17152404785156, "relativeCreated": 5365.4139041900635, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:59,469", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954619.468901, "msecs": 468.9009189605713, "relativeCreated": 5365.143299102783, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:56:59,468" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954619.4690201, "msecs": 469.02012825012207, "relativeCreated": 5365.262508392334, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:56:59,469" } ], "time_consumption": 0.0001513957977294922 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954619.4694974, "msecs": 469.4974422454834, "relativeCreated": 5365.739822387695, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:56:59,469", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954619.4693313, "msecs": 469.3312644958496, "relativeCreated": 5365.5736446380615, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:56:59,469" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954619.4694192, "msecs": 469.4192409515381, "relativeCreated": 5365.66162109375, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:56:59,469" } ], "time_consumption": 7.82012939453125e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954619.77121, "msecs": 771.2099552154541, "relativeCreated": 5667.452335357666, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:56:59,771", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/circulation_pump/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954619.4697356, "msecs": 469.73562240600586, "relativeCreated": 5365.978002548218, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload on", "asctime": "2023-02-09 15:56:59,469" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/circulation_pump/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.4713564, "msecs": 471.3563919067383, "relativeCreated": 5367.59877204895, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'on'", "asctime": "2023-02-09 15:56:59,471" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/timer", "b'600'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.4748356, "msecs": 474.8356342315674, "relativeCreated": 5371.078014373779, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'600'", "asctime": "2023-02-09 15:56:59,474" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/__info__", "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.5182278, "msecs": 518.2278156280518, "relativeCreated": 5414.470195770264, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'", "asctime": "2023-02-09 15:56:59,518" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0/command", "b'toggle'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.5189092, "msecs": 518.909215927124, "relativeCreated": 5415.151596069336, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'toggle'", "asctime": "2023-02-09 15:56:59,518" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954619.5192657, "msecs": 519.2656517028809, "relativeCreated": 5415.508031845093, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:56:59,519" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.5198154, "msecs": 519.8154449462891, "relativeCreated": 5416.057825088501, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'true'", "asctime": "2023-02-09 15:56:59,519" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/__info__", "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.520459, "msecs": 520.4589366912842, "relativeCreated": 5416.701316833496, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'", "asctime": "2023-02-09 15:56:59,520" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.5209572, "msecs": 520.9572315216064, "relativeCreated": 5417.199611663818, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:56:59,520" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.5653255, "msecs": 565.3254985809326, "relativeCreated": 5461.5678787231445, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'", "asctime": "2023-02-09 15:56:59,565" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.5660157, "msecs": 566.0157203674316, "relativeCreated": 5462.258100509644, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:59,566" } ], "time_consumption": 0.20519423484802246 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954619.7719114, "msecs": 771.9113826751709, "relativeCreated": 5668.153762817383, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:59,771", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954619.7716231, "msecs": 771.6231346130371, "relativeCreated": 5667.865514755249, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:56:59,771" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954619.7718003, "msecs": 771.8002796173096, "relativeCreated": 5668.0426597595215, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:56:59,771" } ], "time_consumption": 0.00011110305786132812 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954619.7722816, "msecs": 772.2816467285156, "relativeCreated": 5668.5240268707275, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:56:59,772", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954619.7720902, "msecs": 772.0901966094971, "relativeCreated": 5668.332576751709, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:56:59,772" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954619.7721918, "msecs": 772.1917629241943, "relativeCreated": 5668.434143066406, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:56:59,772" } ], "time_consumption": 8.988380432128906e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954620.0733137, "msecs": 73.31371307373047, "relativeCreated": 5969.556093215942, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:00,073", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954619.772557, "msecs": 772.5570201873779, "relativeCreated": 5668.79940032959, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/kitchen/circulation_pump/state and payload false", "asctime": "2023-02-09 15:56:59,772" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.7736456, "msecs": 773.6456394195557, "relativeCreated": 5669.888019561768, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false'", "asctime": "2023-02-09 15:56:59,773" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/circulation_pump/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.7759447, "msecs": 775.944709777832, "relativeCreated": 5672.187089920044, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:56:59,775" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/circulation_pump/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954619.776374, "msecs": 776.374101638794, "relativeCreated": 5672.616481781006, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload off", "asctime": "2023-02-09 15:56:59,776" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.777024, "msecs": 777.0240306854248, "relativeCreated": 5673.266410827637, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:56:59,777" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954619.7774558, "msecs": 777.4558067321777, "relativeCreated": 5673.69818687439, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:56:59,777" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/circulation_pump/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.778392, "msecs": 778.3920764923096, "relativeCreated": 5674.6344566345215, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'off'", "asctime": "2023-02-09 15:56:59,778" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.7790601, "msecs": 779.0601253509521, "relativeCreated": 5675.302505493164, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:56:59,779" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/timer", "b'0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.8223827, "msecs": 822.3826885223389, "relativeCreated": 5718.625068664551, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'0'", "asctime": "2023-02-09 15:56:59,822" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/__info__", "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.8661072, "msecs": 866.1072254180908, "relativeCreated": 5762.349605560303, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'", "asctime": "2023-02-09 15:56:59,866" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.8668578, "msecs": 866.8577671051025, "relativeCreated": 5763.100147247314, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false'", "asctime": "2023-02-09 15:56:59,866" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/circulation_pump/__info__", "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.8675518, "msecs": 867.5518035888672, "relativeCreated": 5763.794183731079, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'", "asctime": "2023-02-09 15:56:59,867" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.8681471, "msecs": 868.1471347808838, "relativeCreated": 5764.389514923096, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'", "asctime": "2023-02-09 15:56:59,868" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954619.8687794, "msecs": 868.7794208526611, "relativeCreated": 5765.021800994873, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:56:59,868" } ], "time_consumption": 0.20453429222106934 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954620.0738955, "msecs": 73.89545440673828, "relativeCreated": 5970.13783454895, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:00,073", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954620.0736783, "msecs": 73.67825508117676, "relativeCreated": 5969.920635223389, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:00,073" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954620.0738008, "msecs": 73.80080223083496, "relativeCreated": 5970.043182373047, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:00,073" } ], "time_consumption": 9.465217590332031e-05 } ], "time_consumption": 1.2108561992645264, "time_start": "2023-02-09 15:56:58,863", "time_finished": "2023-02-09 15:57:00,073" }, "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954620.0743096, "msecs": 74.3095874786377, "relativeCreated": 5970.55196762085, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/main_light", "asctime": "2023-02-09 15:57:00,074", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954620.0746706, "msecs": 74.67055320739746, "relativeCreated": 5970.912933349609, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:00,074", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954620.0744927, "msecs": 74.4926929473877, "relativeCreated": 5970.7350730896, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:00,074" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954620.074588, "msecs": 74.58806037902832, "relativeCreated": 5970.83044052124, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:00,074" } ], "time_consumption": 8.249282836914062e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954620.3767362, "msecs": 376.7361640930176, "relativeCreated": 6272.9785442352295, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:00,376", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954620.0748672, "msecs": 74.86724853515625, "relativeCreated": 5971.109628677368, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:00,074" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.0758252, "msecs": 75.82521438598633, "relativeCreated": 5972.067594528198, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:00,075" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.0777988, "msecs": 77.79884338378906, "relativeCreated": 5974.041223526001, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:00,077" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.078381, "msecs": 78.38106155395508, "relativeCreated": 5974.623441696167, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:00,078" } ], "time_consumption": 0.2983551025390625 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954620.3773675, "msecs": 377.3674964904785, "relativeCreated": 6273.60987663269, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:00,377", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954620.3771248, "msecs": 377.1247863769531, "relativeCreated": 6273.367166519165, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:00,377" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954620.3772466, "msecs": 377.246618270874, "relativeCreated": 6273.488998413086, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:00,377" } ], "time_consumption": 0.00012087821960449219 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954620.3777065, "msecs": 377.70652770996094, "relativeCreated": 6273.948907852173, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:00,377", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954620.377523, "msecs": 377.52294540405273, "relativeCreated": 6273.765325546265, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:00,377" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954620.3776271, "msecs": 377.6271343231201, "relativeCreated": 6273.869514465332, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:00,377" } ], "time_consumption": 7.939338684082031e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954620.6790366, "msecs": 679.0366172790527, "relativeCreated": 6575.278997421265, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:00,679", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954620.3779504, "msecs": 377.95042991638184, "relativeCreated": 6274.192810058594, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/kitchen/main_light/state and payload false", "asctime": "2023-02-09 15:57:00,377" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.3789082, "msecs": 378.9081573486328, "relativeCreated": 6275.150537490845, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:00,378" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.380372, "msecs": 380.3720474243164, "relativeCreated": 6276.614427566528, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:00,380" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954620.3807414, "msecs": 380.7413578033447, "relativeCreated": 6276.983737945557, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:00,380" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.3816204, "msecs": 381.6204071044922, "relativeCreated": 6277.862787246704, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:00,381" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.4255621, "msecs": 425.56214332580566, "relativeCreated": 6321.804523468018, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:00,425" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.4262903, "msecs": 426.29027366638184, "relativeCreated": 6322.532653808594, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:00,426" } ], "time_consumption": 0.2527463436126709 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954620.67976, "msecs": 679.7599792480469, "relativeCreated": 6576.002359390259, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:00,679", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954620.6794655, "msecs": 679.4655323028564, "relativeCreated": 6575.707912445068, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:00,679" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954620.6796107, "msecs": 679.6107292175293, "relativeCreated": 6575.853109359741, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:00,679" } ], "time_consumption": 0.00014925003051757812 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954620.6801436, "msecs": 680.1435947418213, "relativeCreated": 6576.385974884033, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:00,680", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954620.679938, "msecs": 679.9380779266357, "relativeCreated": 6576.180458068848, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:00,679" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954620.6800392, "msecs": 680.0391674041748, "relativeCreated": 6576.281547546387, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:00,680" } ], "time_consumption": 0.00010442733764648438 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954620.98126, "msecs": 981.2600612640381, "relativeCreated": 6877.50244140625, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:00,981", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954620.6803775, "msecs": 680.3774833679199, "relativeCreated": 6576.619863510132, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:00,680" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.681487, "msecs": 681.4870834350586, "relativeCreated": 6577.7294635772705, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:00,681" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.6841612, "msecs": 684.1611862182617, "relativeCreated": 6580.403566360474, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:00,684" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.6848269, "msecs": 684.8268508911133, "relativeCreated": 6581.069231033325, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:00,684" } ], "time_consumption": 0.2964332103729248 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954620.9819412, "msecs": 981.9412231445312, "relativeCreated": 6878.183603286743, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:00,981", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954620.9816651, "msecs": 981.6651344299316, "relativeCreated": 6877.907514572144, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:00,981" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954620.9818027, "msecs": 981.8027019500732, "relativeCreated": 6878.045082092285, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:00,981" } ], "time_consumption": 0.0001385211944580078 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954620.982332, "msecs": 982.3319911956787, "relativeCreated": 6878.574371337891, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:00,982", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954620.9821372, "msecs": 982.1372032165527, "relativeCreated": 6878.379583358765, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:00,982" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954620.9822414, "msecs": 982.2413921356201, "relativeCreated": 6878.483772277832, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:00,982" } ], "time_consumption": 9.059906005859375e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954621.2836854, "msecs": 283.68544578552246, "relativeCreated": 7179.927825927734, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:01,283", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954620.9826052, "msecs": 982.6052188873291, "relativeCreated": 6878.847599029541, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/kitchen/main_light/state and payload false", "asctime": "2023-02-09 15:57:00,982" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.9837074, "msecs": 983.7074279785156, "relativeCreated": 6879.9498081207275, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:00,983" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.9853547, "msecs": 985.3546619415283, "relativeCreated": 6881.59704208374, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:00,985" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954620.9857416, "msecs": 985.7416152954102, "relativeCreated": 6881.983995437622, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:00,985" }, { "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/kitchen/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954620.9866104, "msecs": 986.6104125976562, "relativeCreated": 6882.852792739868, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:00,986" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.0295386, "msecs": 29.538631439208984, "relativeCreated": 6925.781011581421, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:01,029" }, { "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/kitchen/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.0301833, "msecs": 30.18331527709961, "relativeCreated": 6926.4256954193115, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:01,030" } ], "time_consumption": 0.25350213050842285 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954621.284308, "msecs": 284.30795669555664, "relativeCreated": 7180.550336837769, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:01,284", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954621.284055, "msecs": 284.0549945831299, "relativeCreated": 7180.297374725342, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:01,284" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954621.2842102, "msecs": 284.210205078125, "relativeCreated": 7180.452585220337, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:01,284" } ], "time_consumption": 9.775161743164062e-05 } ], "time_consumption": 1.209998369216919, "time_start": "2023-02-09 15:57:00,074", "time_finished": "2023-02-09 15:57:01,284" }, "Brightness test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1": { "name": "__tLogger__", "msg": "Brightness test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_brightness", "created": 1675954621.2847364, "msecs": 284.73639488220215, "relativeCreated": 7180.978775024414, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1", "asctime": "2023-02-09 15:57:01,284", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 57, "funcName": "__test_brightness__", "created": 1675954621.5865624, "msecs": 586.5623950958252, "relativeCreated": 7482.804775238037, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:01,586", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954621.285146, "msecs": 285.14599800109863, "relativeCreated": 7181.388378143311, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:01,285" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.286125, "msecs": 286.12494468688965, "relativeCreated": 7182.367324829102, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:01,286" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.2897255, "msecs": 289.72554206848145, "relativeCreated": 7185.967922210693, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:57:01,289" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.2903469, "msecs": 290.3468608856201, "relativeCreated": 7186.589241027832, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:01,290" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.290895, "msecs": 290.8949851989746, "relativeCreated": 7187.1373653411865, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:01,290" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.2914126, "msecs": 291.4125919342041, "relativeCreated": 7187.654972076416, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:01,291" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.2919385, "msecs": 291.93854331970215, "relativeCreated": 7188.180923461914, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:01,291" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.2928822, "msecs": 292.88220405578613, "relativeCreated": 7189.124584197998, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:01,292" } ], "time_consumption": 0.29368019104003906 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954621.5872047, "msecs": 587.2046947479248, "relativeCreated": 7483.447074890137, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:01,587", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954621.5869567, "msecs": 586.9567394256592, "relativeCreated": 7483.199119567871, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:01,586" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954621.587095, "msecs": 587.0950222015381, "relativeCreated": 7483.33740234375, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:01,587" } ], "time_consumption": 0.00010967254638671875 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954621.8887236, "msecs": 888.723611831665, "relativeCreated": 7784.965991973877, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:01,888", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954621.5875607, "msecs": 587.5606536865234, "relativeCreated": 7483.803033828735, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:01,587" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.5886562, "msecs": 588.6561870574951, "relativeCreated": 7484.898567199707, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:01,588" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.591281, "msecs": 591.2809371948242, "relativeCreated": 7487.523317337036, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:01,591" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.5919626, "msecs": 591.9625759124756, "relativeCreated": 7488.2049560546875, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:01,591" } ], "time_consumption": 0.29676103591918945 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954621.8895864, "msecs": 889.5864486694336, "relativeCreated": 7785.8288288116455, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:01,889", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954621.8893209, "msecs": 889.3208503723145, "relativeCreated": 7785.563230514526, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:01,889" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954621.8894744, "msecs": 889.4743919372559, "relativeCreated": 7785.716772079468, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:01,889" } ], "time_consumption": 0.00011205673217773438 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954621.8899775, "msecs": 889.9774551391602, "relativeCreated": 7786.219835281372, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:01,889", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954621.8897846, "msecs": 889.784574508667, "relativeCreated": 7786.026954650879, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:01,889" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954621.8898861, "msecs": 889.8861408233643, "relativeCreated": 7786.128520965576, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:01,889" } ], "time_consumption": 9.131431579589844e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954622.1922095, "msecs": 192.20948219299316, "relativeCreated": 8088.451862335205, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:02,192", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954621.8902676, "msecs": 890.2676105499268, "relativeCreated": 7786.509990692139, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness and payload 50", "asctime": "2023-02-09 15:57:01,890" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.8913128, "msecs": 891.312837600708, "relativeCreated": 7787.55521774292, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50'", "asctime": "2023-02-09 15:57:01,891" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.8950233, "msecs": 895.0233459472656, "relativeCreated": 7791.2657260894775, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:01,895" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954621.8954911, "msecs": 895.4911231994629, "relativeCreated": 7791.733503341675, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:01,895" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.896, "msecs": 895.9999084472656, "relativeCreated": 7792.2422885894775, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:01,895" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.8966074, "msecs": 896.6073989868164, "relativeCreated": 7792.849779129028, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:01,896" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.8971448, "msecs": 897.1447944641113, "relativeCreated": 7793.387174606323, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:01,897" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.8976371, "msecs": 897.637128829956, "relativeCreated": 7793.879508972168, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:01,897" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.8981059, "msecs": 898.1058597564697, "relativeCreated": 7794.348239898682, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:01,898" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.898565, "msecs": 898.5650539398193, "relativeCreated": 7794.807434082031, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:01,898" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.9422388, "msecs": 942.2388076782227, "relativeCreated": 7838.481187820435, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:01,942" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954621.9429278, "msecs": 942.9278373718262, "relativeCreated": 7839.170217514038, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:01,942" } ], "time_consumption": 0.249281644821167 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954622.1928697, "msecs": 192.8696632385254, "relativeCreated": 8089.112043380737, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:02,192", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954622.1926231, "msecs": 192.62313842773438, "relativeCreated": 8088.865518569946, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:02,192" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954622.1927617, "msecs": 192.76165962219238, "relativeCreated": 8089.004039764404, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:02,192" } ], "time_consumption": 0.00010800361633300781 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954622.193298, "msecs": 193.2981014251709, "relativeCreated": 8089.540481567383, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:02,193", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954622.193073, "msecs": 193.07303428649902, "relativeCreated": 8089.315414428711, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:02,193" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954622.1932092, "msecs": 193.20917129516602, "relativeCreated": 8089.451551437378, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:02,193" } ], "time_consumption": 8.893013000488281e-05 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954622.4946342, "msecs": 494.63415145874023, "relativeCreated": 8390.876531600952, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:02,494", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954622.1936417, "msecs": 193.64166259765625, "relativeCreated": 8089.884042739868, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:02,193" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.1947305, "msecs": 194.7305202484131, "relativeCreated": 8090.972900390625, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:02,194" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.1973412, "msecs": 197.3412036895752, "relativeCreated": 8093.583583831787, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:02,197" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.1980217, "msecs": 198.02165031433105, "relativeCreated": 8094.264030456543, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:02,198" } ], "time_consumption": 0.2966125011444092 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954622.4952106, "msecs": 495.2106475830078, "relativeCreated": 8391.45302772522, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:02,495", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954622.494995, "msecs": 494.9951171875, "relativeCreated": 8391.237497329712, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:02,494" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954622.4951165, "msecs": 495.1164722442627, "relativeCreated": 8391.358852386475, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:02,495" } ], "time_consumption": 9.417533874511719e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954622.4955595, "msecs": 495.5594539642334, "relativeCreated": 8391.801834106445, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:02,495", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954622.4953585, "msecs": 495.3584671020508, "relativeCreated": 8391.600847244263, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:02,495" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954622.4954803, "msecs": 495.4802989959717, "relativeCreated": 8391.722679138184, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:02,495" } ], "time_consumption": 7.915496826171875e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954622.7977085, "msecs": 797.7085113525391, "relativeCreated": 8693.950891494751, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:02,797", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954622.4958186, "msecs": 495.8186149597168, "relativeCreated": 8392.060995101929, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness and payload 50", "asctime": "2023-02-09 15:57:02,495" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.4967935, "msecs": 496.7935085296631, "relativeCreated": 8393.035888671875, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50'", "asctime": "2023-02-09 15:57:02,496" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.5006738, "msecs": 500.673770904541, "relativeCreated": 8396.916151046753, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:02,500" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954622.5011702, "msecs": 501.17015838623047, "relativeCreated": 8397.412538528442, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:02,501" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.5016937, "msecs": 501.6937255859375, "relativeCreated": 8397.93610572815, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:02,501" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.502296, "msecs": 502.29597091674805, "relativeCreated": 8398.53835105896, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:02,502" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.5027971, "msecs": 502.79712677001953, "relativeCreated": 8399.039506912231, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:02,502" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.5032713, "msecs": 503.27134132385254, "relativeCreated": 8399.513721466064, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:02,503" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.5037298, "msecs": 503.72982025146484, "relativeCreated": 8399.972200393677, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:02,503" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.504194, "msecs": 504.1940212249756, "relativeCreated": 8400.436401367188, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:02,504" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.5467203, "msecs": 546.7202663421631, "relativeCreated": 8442.962646484375, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:02,546" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.5474083, "msecs": 547.4083423614502, "relativeCreated": 8443.650722503662, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:02,547" } ], "time_consumption": 0.25030016899108887 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954622.7982867, "msecs": 798.2866764068604, "relativeCreated": 8694.529056549072, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:02,798", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954622.7980728, "msecs": 798.0728149414062, "relativeCreated": 8694.315195083618, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:02,798" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954622.7981927, "msecs": 798.1927394866943, "relativeCreated": 8694.435119628906, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:02,798" } ], "time_consumption": 9.393692016601562e-05 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "__test_brightness__", "created": 1675954623.0996072, "msecs": 99.60722923278809, "relativeCreated": 8995.849609375, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:03,099", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954622.798642, "msecs": 798.6419200897217, "relativeCreated": 8694.884300231934, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:02,798" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.7996356, "msecs": 799.635648727417, "relativeCreated": 8695.878028869629, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:02,799" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.8020575, "msecs": 802.0575046539307, "relativeCreated": 8698.299884796143, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:02,802" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954622.8026452, "msecs": 802.645206451416, "relativeCreated": 8698.887586593628, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:02,802" } ], "time_consumption": 0.29696202278137207 } ], "time_consumption": 1.814870834350586, "time_start": "2023-02-09 15:57:01,284", "time_finished": "2023-02-09 15:57:03,099" }, "Color temperature test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1": { "name": "__tLogger__", "msg": "Color temperature test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "test_color_temp", "created": 1675954623.1002674, "msecs": 100.26741027832031, "relativeCreated": 8996.509790420532, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Color temperature test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1", "asctime": "2023-02-09 15:57:03,100", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 88, "funcName": "__test_color_temp__", "created": 1675954623.402552, "msecs": 402.55188941955566, "relativeCreated": 9298.794269561768, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:03,402", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954623.100664, "msecs": 100.66390037536621, "relativeCreated": 8996.906280517578, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:03,100" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.1016765, "msecs": 101.67646408081055, "relativeCreated": 8997.918844223022, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:03,101" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.1039495, "msecs": 103.94954681396484, "relativeCreated": 9000.191926956177, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:57:03,103" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.1045601, "msecs": 104.56013679504395, "relativeCreated": 9000.802516937256, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:03,104" } ], "time_consumption": 0.2979917526245117 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954623.4031177, "msecs": 403.1176567077637, "relativeCreated": 9299.360036849976, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:03,403", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954623.4029016, "msecs": 402.90164947509766, "relativeCreated": 9299.14402961731, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:03,402" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954623.4030225, "msecs": 403.02252769470215, "relativeCreated": 9299.264907836914, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:03,403" } ], "time_consumption": 9.512901306152344e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954623.7045069, "msecs": 704.5068740844727, "relativeCreated": 9600.749254226685, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:03,704", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954623.4034345, "msecs": 403.43451499938965, "relativeCreated": 9299.676895141602, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:03,403" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.4043727, "msecs": 404.3726921081543, "relativeCreated": 9300.615072250366, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:03,404" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.4066575, "msecs": 406.65745735168457, "relativeCreated": 9302.899837493896, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:03,406" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.4072578, "msecs": 407.2577953338623, "relativeCreated": 9303.500175476074, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:03,407" } ], "time_consumption": 0.29724907875061035 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954623.705199, "msecs": 705.1990032196045, "relativeCreated": 9601.441383361816, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:03,705", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954623.7049096, "msecs": 704.9095630645752, "relativeCreated": 9601.151943206787, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:03,704" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954623.7050767, "msecs": 705.0766944885254, "relativeCreated": 9601.319074630737, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:03,705" } ], "time_consumption": 0.00012230873107910156 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954623.7056038, "msecs": 705.603837966919, "relativeCreated": 9601.84621810913, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:03,705", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954623.7054121, "msecs": 705.4121494293213, "relativeCreated": 9601.654529571533, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:03,705" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954623.7055147, "msecs": 705.514669418335, "relativeCreated": 9601.757049560547, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:03,705" } ], "time_consumption": 8.916854858398438e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954624.0078425, "msecs": 7.842540740966797, "relativeCreated": 9904.084920883179, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:04,007", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954623.7058935, "msecs": 705.8935165405273, "relativeCreated": 9602.13589668274, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp and payload 5", "asctime": "2023-02-09 15:57:03,705" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.7069945, "msecs": 706.9945335388184, "relativeCreated": 9603.23691368103, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:03,706" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.7107646, "msecs": 710.7646465301514, "relativeCreated": 9607.007026672363, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:03,710" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954623.711259, "msecs": 711.2588882446289, "relativeCreated": 9607.50126838684, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:03,711" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.711759, "msecs": 711.759090423584, "relativeCreated": 9608.001470565796, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:03,711" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.7123609, "msecs": 712.3608589172363, "relativeCreated": 9608.603239059448, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:03,712" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.7128425, "msecs": 712.8424644470215, "relativeCreated": 9609.084844589233, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:03,712" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.7133598, "msecs": 713.3598327636719, "relativeCreated": 9609.602212905884, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:03,713" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.7138202, "msecs": 713.820219039917, "relativeCreated": 9610.062599182129, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:03,713" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.7142863, "msecs": 714.2863273620605, "relativeCreated": 9610.528707504272, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:03,714" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.7585962, "msecs": 758.5961818695068, "relativeCreated": 9654.838562011719, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:03,758" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954623.7592962, "msecs": 759.296178817749, "relativeCreated": 9655.538558959961, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:03,759" } ], "time_consumption": 0.24854636192321777 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954624.0084581, "msecs": 8.458137512207031, "relativeCreated": 9904.700517654419, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:04,008", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954624.0082123, "msecs": 8.21232795715332, "relativeCreated": 9904.454708099365, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:04,008" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954624.0083618, "msecs": 8.36181640625, "relativeCreated": 9904.604196548462, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:04,008" } ], "time_consumption": 9.632110595703125e-05 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954624.0087843, "msecs": 8.784294128417969, "relativeCreated": 9905.02667427063, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:04,008", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954624.008611, "msecs": 8.610963821411133, "relativeCreated": 9904.853343963623, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:04,008" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954624.008701, "msecs": 8.701086044311523, "relativeCreated": 9904.943466186523, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:04,008" } ], "time_consumption": 8.320808410644531e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954624.3101838, "msecs": 310.1837635040283, "relativeCreated": 10206.42614364624, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:04,310", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954624.0091164, "msecs": 9.116411209106445, "relativeCreated": 9905.358791351318, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:04,009" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.010079, "msecs": 10.078907012939453, "relativeCreated": 9906.321287155151, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:04,010" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.0123508, "msecs": 12.350797653198242, "relativeCreated": 9908.59317779541, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:04,012" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.0129557, "msecs": 12.955665588378906, "relativeCreated": 9909.19804573059, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:04,012" } ], "time_consumption": 0.2972280979156494 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954624.3107903, "msecs": 310.7903003692627, "relativeCreated": 10207.032680511475, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:04,310", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954624.3105466, "msecs": 310.5466365814209, "relativeCreated": 10206.789016723633, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:04,310" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954624.310694, "msecs": 310.69397926330566, "relativeCreated": 10206.936359405518, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:04,310" } ], "time_consumption": 9.632110595703125e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954624.3111162, "msecs": 311.11621856689453, "relativeCreated": 10207.358598709106, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:04,311", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954624.3109396, "msecs": 310.9395503997803, "relativeCreated": 10207.181930541992, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:04,310" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954624.3110244, "msecs": 311.02442741394043, "relativeCreated": 10207.266807556152, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:04,311" } ], "time_consumption": 9.179115295410156e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954624.6132512, "msecs": 613.2512092590332, "relativeCreated": 10509.493589401245, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:04,613", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954624.3113751, "msecs": 311.3751411437988, "relativeCreated": 10207.61752128601, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp and payload 5", "asctime": "2023-02-09 15:57:04,311" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.3123446, "msecs": 312.3445510864258, "relativeCreated": 10208.586931228638, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:04,312" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.3157396, "msecs": 315.73963165283203, "relativeCreated": 10211.982011795044, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:04,315" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954624.3162074, "msecs": 316.2074089050293, "relativeCreated": 10212.449789047241, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:04,316" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.3167198, "msecs": 316.71977043151855, "relativeCreated": 10212.96215057373, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:04,316" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.3173478, "msecs": 317.34776496887207, "relativeCreated": 10213.590145111084, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:04,317" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.3178556, "msecs": 317.8555965423584, "relativeCreated": 10214.09797668457, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:04,317" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.318334, "msecs": 318.33410263061523, "relativeCreated": 10214.576482772827, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:04,318" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.3188052, "msecs": 318.8052177429199, "relativeCreated": 10215.047597885132, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:04,318" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.3192663, "msecs": 319.26631927490234, "relativeCreated": 10215.508699417114, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:04,319" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.3624742, "msecs": 362.4742031097412, "relativeCreated": 10258.716583251953, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:04,362" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.363155, "msecs": 363.1548881530762, "relativeCreated": 10259.397268295288, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:04,363" } ], "time_consumption": 0.25009632110595703 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954624.6138353, "msecs": 613.835334777832, "relativeCreated": 10510.077714920044, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:04,613", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954624.6136186, "msecs": 613.6186122894287, "relativeCreated": 10509.86099243164, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:04,613" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954624.6137393, "msecs": 613.7392520904541, "relativeCreated": 10509.981632232666, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:04,613" } ], "time_consumption": 9.608268737792969e-05 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 105, "funcName": "__test_color_temp__", "created": 1675954624.9152904, "msecs": 915.290355682373, "relativeCreated": 10811.532735824585, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:04,915", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954624.6141987, "msecs": 614.1986846923828, "relativeCreated": 10510.441064834595, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:04,614" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.6151903, "msecs": 615.1902675628662, "relativeCreated": 10511.432647705078, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:04,615" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.617468, "msecs": 617.4681186676025, "relativeCreated": 10513.710498809814, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:04,617" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.6180563, "msecs": 618.0562973022461, "relativeCreated": 10514.298677444458, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:04,618" } ], "time_consumption": 0.29723405838012695 } ], "time_consumption": 1.8150229454040527, "time_start": "2023-02-09 15:57:03,100", "time_finished": "2023-02-09 15:57:04,915" }, "Power On/ Off test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954624.915938, "msecs": 915.9379005432129, "relativeCreated": 10812.180280685425, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1", "asctime": "2023-02-09 15:57:04,915", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954624.9163847, "msecs": 916.3846969604492, "relativeCreated": 10812.627077102661, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:04,916", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954624.9161623, "msecs": 916.1622524261475, "relativeCreated": 10812.40463256836, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:04,916" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954624.9162796, "msecs": 916.2795543670654, "relativeCreated": 10812.521934509277, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:04,916" } ], "time_consumption": 0.00010514259338378906 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954625.2186291, "msecs": 218.6291217803955, "relativeCreated": 11114.871501922607, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:05,218", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954624.9167109, "msecs": 916.7108535766602, "relativeCreated": 10812.953233718872, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:04,916" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.9177222, "msecs": 917.722225189209, "relativeCreated": 10813.96460533142, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:04,917" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.9199917, "msecs": 919.9917316436768, "relativeCreated": 10816.234111785889, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:57:04,919" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954624.9205818, "msecs": 920.5818176269531, "relativeCreated": 10816.824197769165, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:04,920" } ], "time_consumption": 0.2980473041534424 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954625.2192008, "msecs": 219.20084953308105, "relativeCreated": 11115.443229675293, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:05,219", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954625.2189887, "msecs": 218.98865699768066, "relativeCreated": 11115.231037139893, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:05,218" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954625.219107, "msecs": 219.10691261291504, "relativeCreated": 11115.349292755127, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:05,219" } ], "time_consumption": 9.393692016601562e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954625.219535, "msecs": 219.53511238098145, "relativeCreated": 11115.777492523193, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:05,219", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954625.2193491, "msecs": 219.34914588928223, "relativeCreated": 11115.591526031494, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:05,219" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954625.2194366, "msecs": 219.4366455078125, "relativeCreated": 11115.679025650024, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:05,219" } ], "time_consumption": 9.846687316894531e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954625.5208857, "msecs": 520.885705947876, "relativeCreated": 11417.128086090088, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:05,520", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954625.219798, "msecs": 219.79808807373047, "relativeCreated": 11116.040468215942, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/floorlamp/state and payload false", "asctime": "2023-02-09 15:57:05,219" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.2207642, "msecs": 220.76416015625, "relativeCreated": 11117.006540298462, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:05,220" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.2240613, "msecs": 224.0612506866455, "relativeCreated": 11120.303630828857, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,224" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954625.2245407, "msecs": 224.54071044921875, "relativeCreated": 11120.78309059143, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:05,224" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.2250364, "msecs": 225.0363826751709, "relativeCreated": 11121.278762817383, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,225" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.2256737, "msecs": 225.67367553710938, "relativeCreated": 11121.916055679321, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,225" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.2261848, "msecs": 226.18484497070312, "relativeCreated": 11122.427225112915, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,226" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.2266505, "msecs": 226.65047645568848, "relativeCreated": 11122.8928565979, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,226" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.2271037, "msecs": 227.10371017456055, "relativeCreated": 11123.346090316772, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,227" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.2297661, "msecs": 229.7661304473877, "relativeCreated": 11126.0085105896, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:05,229" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.2714167, "msecs": 271.41666412353516, "relativeCreated": 11167.659044265747, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:05,271" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.272098, "msecs": 272.0980644226074, "relativeCreated": 11168.34044456482, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:05,272" } ], "time_consumption": 0.24878764152526855 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954625.521533, "msecs": 521.5330123901367, "relativeCreated": 11417.775392532349, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:05,521", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954625.5213144, "msecs": 521.3143825531006, "relativeCreated": 11417.556762695312, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:05,521" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954625.5214374, "msecs": 521.437406539917, "relativeCreated": 11417.679786682129, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:05,521" } ], "time_consumption": 9.560585021972656e-05 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954625.5218596, "msecs": 521.8596458435059, "relativeCreated": 11418.102025985718, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:05,521", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954625.521683, "msecs": 521.6829776763916, "relativeCreated": 11417.925357818604, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:05,521" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954625.5217817, "msecs": 521.7816829681396, "relativeCreated": 11418.024063110352, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:05,521" } ], "time_consumption": 7.796287536621094e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954625.8240948, "msecs": 824.0947723388672, "relativeCreated": 11720.33715248108, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:05,824", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954625.5221817, "msecs": 522.1817493438721, "relativeCreated": 11418.424129486084, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:05,522" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.5231514, "msecs": 523.1513977050781, "relativeCreated": 11419.39377784729, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:05,523" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.5254369, "msecs": 525.4368782043457, "relativeCreated": 11421.679258346558, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:57:05,525" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.5260286, "msecs": 526.0286331176758, "relativeCreated": 11422.271013259888, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:05,526" } ], "time_consumption": 0.2980661392211914 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954625.824742, "msecs": 824.7420787811279, "relativeCreated": 11720.98445892334, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:05,824", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954625.8244977, "msecs": 824.4976997375488, "relativeCreated": 11720.74007987976, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:05,824" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954625.8246343, "msecs": 824.634313583374, "relativeCreated": 11720.876693725586, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:05,824" } ], "time_consumption": 0.00010776519775390625 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954625.8251746, "msecs": 825.1745700836182, "relativeCreated": 11721.41695022583, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:05,825", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954625.8249128, "msecs": 824.9127864837646, "relativeCreated": 11721.155166625977, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:05,824" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954625.8250778, "msecs": 825.0777721405029, "relativeCreated": 11721.320152282715, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:05,825" } ], "time_consumption": 9.679794311523438e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954626.1265712, "msecs": 126.5711784362793, "relativeCreated": 12022.813558578491, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:06,126", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954625.8254552, "msecs": 825.4551887512207, "relativeCreated": 11721.697568893433, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/floorlamp/state and payload false", "asctime": "2023-02-09 15:57:05,825" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.826529, "msecs": 826.5290260314941, "relativeCreated": 11722.771406173706, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:05,826" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.8303065, "msecs": 830.3065299987793, "relativeCreated": 11726.548910140991, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,830" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954625.8308508, "msecs": 830.8508396148682, "relativeCreated": 11727.09321975708, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:05,830" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.8314373, "msecs": 831.437349319458, "relativeCreated": 11727.67972946167, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,831" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.8320312, "msecs": 832.03125, "relativeCreated": 11728.273630142212, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,832" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.8325107, "msecs": 832.5107097625732, "relativeCreated": 11728.753089904785, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,832" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.8329928, "msecs": 832.9927921295166, "relativeCreated": 11729.235172271729, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,832" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.8334773, "msecs": 833.477258682251, "relativeCreated": 11729.719638824463, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:05,833" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.8339338, "msecs": 833.9338302612305, "relativeCreated": 11730.176210403442, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:05,833" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.87938, "msecs": 879.3799877166748, "relativeCreated": 11775.622367858887, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:05,879" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954625.8800607, "msecs": 880.0606727600098, "relativeCreated": 11776.303052902222, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:05,880" } ], "time_consumption": 0.24651050567626953 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954626.1271598, "msecs": 127.15983390808105, "relativeCreated": 12023.402214050293, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:06,127", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954626.126944, "msecs": 126.94406509399414, "relativeCreated": 12023.186445236206, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:06,126" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954626.1270645, "msecs": 127.06446647644043, "relativeCreated": 12023.306846618652, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:06,127" } ], "time_consumption": 9.5367431640625e-05 } ], "time_consumption": 1.2112219333648682, "time_start": "2023-02-09 15:57:04,915", "time_finished": "2023-02-09 15:57:06,127" }, "Brightness test for device and virtual device: zigbee/ffe/livingroom/main_light": { "name": "__tLogger__", "msg": "Brightness test for device and virtual device: zigbee/ffe/livingroom/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_brightness", "created": 1675954626.1276438, "msecs": 127.64382362365723, "relativeCreated": 12023.88620376587, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness test for device and virtual device: zigbee/ffe/livingroom/main_light", "asctime": "2023-02-09 15:57:06,127", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 57, "funcName": "__test_brightness__", "created": 1675954626.4292324, "msecs": 429.2323589324951, "relativeCreated": 12325.474739074707, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:06,429", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954626.1279092, "msecs": 127.90918350219727, "relativeCreated": 12024.15156364441, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:06,127" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954626.1284575, "msecs": 128.45754623413086, "relativeCreated": 12024.699926376343, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:06,128" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.12933, "msecs": 129.32991981506348, "relativeCreated": 12025.572299957275, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:06,129" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1299222, "msecs": 129.92215156555176, "relativeCreated": 12026.164531707764, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:06,129" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1736321, "msecs": 173.63214492797852, "relativeCreated": 12069.87452507019, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:06,173" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954626.174228, "msecs": 174.22795295715332, "relativeCreated": 12070.470333099365, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:06,174" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1747925, "msecs": 174.79252815246582, "relativeCreated": 12071.034908294678, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:06,174" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954626.1752403, "msecs": 175.24027824401855, "relativeCreated": 12071.48265838623, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:06,175" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1758187, "msecs": 175.81868171691895, "relativeCreated": 12072.06106185913, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:06,175" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954626.17626, "msecs": 176.25999450683594, "relativeCreated": 12072.502374649048, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:06,176" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1767244, "msecs": 176.72443389892578, "relativeCreated": 12072.966814041138, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:06,176" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954626.177212, "msecs": 177.21199989318848, "relativeCreated": 12073.4543800354, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:06,177" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.177842, "msecs": 177.8419017791748, "relativeCreated": 12074.084281921387, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:06,177" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954626.1782832, "msecs": 178.2832145690918, "relativeCreated": 12074.525594711304, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:06,178" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1787267, "msecs": 178.7266731262207, "relativeCreated": 12074.969053268433, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:06,178" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954626.1791515, "msecs": 179.1515350341797, "relativeCreated": 12075.393915176392, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:06,179" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1797187, "msecs": 179.7187328338623, "relativeCreated": 12075.961112976074, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:06,179" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1802673, "msecs": 180.267333984375, "relativeCreated": 12076.509714126587, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:06,180" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1807916, "msecs": 180.79161643981934, "relativeCreated": 12077.033996582031, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:06,180" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1813495, "msecs": 181.349515914917, "relativeCreated": 12077.591896057129, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:06,181" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1819973, "msecs": 181.99729919433594, "relativeCreated": 12078.239679336548, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:06,181" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1825216, "msecs": 182.52158164978027, "relativeCreated": 12078.763961791992, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:06,182" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.183, "msecs": 183.0000877380371, "relativeCreated": 12079.242467880249, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:06,183" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1834662, "msecs": 183.46619606018066, "relativeCreated": 12079.708576202393, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:06,183" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1839228, "msecs": 183.92276763916016, "relativeCreated": 12080.165147781372, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:06,183" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1844103, "msecs": 184.41033363342285, "relativeCreated": 12080.652713775635, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:06,184" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1848683, "msecs": 184.86833572387695, "relativeCreated": 12081.110715866089, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:06,184" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.1854007, "msecs": 185.40072441101074, "relativeCreated": 12081.643104553223, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:06,185" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.2216022, "msecs": 221.602201461792, "relativeCreated": 12117.844581604004, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:57:06,221" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.2223704, "msecs": 222.37038612365723, "relativeCreated": 12118.61276626587, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:06,222" } ], "time_consumption": 0.2068619728088379 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954626.4298277, "msecs": 429.8276901245117, "relativeCreated": 12326.070070266724, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:06,429", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954626.4296083, "msecs": 429.6083450317383, "relativeCreated": 12325.85072517395, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:06,429" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954626.4297326, "msecs": 429.7325611114502, "relativeCreated": 12325.974941253662, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:06,429" } ], "time_consumption": 9.512901306152344e-05 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954626.7311728, "msecs": 731.1728000640869, "relativeCreated": 12627.415180206299, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:06,731", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954626.4301558, "msecs": 430.15575408935547, "relativeCreated": 12326.398134231567, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:06,430" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.431252, "msecs": 431.25200271606445, "relativeCreated": 12327.494382858276, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:06,431" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.433816, "msecs": 433.81595611572266, "relativeCreated": 12330.058336257935, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:06,433" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.434518, "msecs": 434.51809883117676, "relativeCreated": 12330.760478973389, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:06,434" } ], "time_consumption": 0.29665470123291016 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954626.7318156, "msecs": 731.8155765533447, "relativeCreated": 12628.057956695557, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:06,731", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954626.7315738, "msecs": 731.5738201141357, "relativeCreated": 12627.816200256348, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:06,731" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954626.7317088, "msecs": 731.7087650299072, "relativeCreated": 12627.95114517212, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:06,731" } ], "time_consumption": 0.0001068115234375 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954626.7322164, "msecs": 732.2163581848145, "relativeCreated": 12628.458738327026, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:06,732", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954626.7320225, "msecs": 732.0225238800049, "relativeCreated": 12628.264904022217, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:06,732" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954626.732127, "msecs": 732.1269512176514, "relativeCreated": 12628.369331359863, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:06,732" } ], "time_consumption": 8.940696716308594e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954627.0334098, "msecs": 33.409833908081055, "relativeCreated": 12929.652214050293, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:07,033", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954626.7325034, "msecs": 732.5034141540527, "relativeCreated": 12628.745794296265, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:06,732" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.7336013, "msecs": 733.6013317108154, "relativeCreated": 12629.843711853027, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:06,733" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.7354062, "msecs": 735.4061603546143, "relativeCreated": 12631.648540496826, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:06,735" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954626.7359338, "msecs": 735.933780670166, "relativeCreated": 12632.176160812378, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:06,735" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.736879, "msecs": 736.8791103363037, "relativeCreated": 12633.121490478516, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:06,736" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.7806985, "msecs": 780.6985378265381, "relativeCreated": 12676.94091796875, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:06,780" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954626.781466, "msecs": 781.466007232666, "relativeCreated": 12677.708387374878, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:06,781" } ], "time_consumption": 0.25194382667541504 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954627.0340588, "msecs": 34.05880928039551, "relativeCreated": 12930.301189422607, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:07,034", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954627.0338151, "msecs": 33.81514549255371, "relativeCreated": 12930.057525634766, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:07,033" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954627.0339515, "msecs": 33.951520919799805, "relativeCreated": 12930.193901062012, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:07,033" } ], "time_consumption": 0.00010728836059570312 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954627.0344658, "msecs": 34.465789794921875, "relativeCreated": 12930.708169937134, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:07,034", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954627.03423, "msecs": 34.22999382019043, "relativeCreated": 12930.472373962402, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:07,034" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954627.0343666, "msecs": 34.366607666015625, "relativeCreated": 12930.608987808228, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:07,034" } ], "time_consumption": 9.918212890625e-05 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954627.3358288, "msecs": 335.8287811279297, "relativeCreated": 13232.071161270142, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:07,335", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.0348015, "msecs": 34.801483154296875, "relativeCreated": 12931.043863296509, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,034" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.0358756, "msecs": 35.875558853149414, "relativeCreated": 12932.117938995361, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,035" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.0384948, "msecs": 38.49482536315918, "relativeCreated": 12934.737205505371, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:07,038" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.0391755, "msecs": 39.17551040649414, "relativeCreated": 12935.417890548706, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:07,039" } ], "time_consumption": 0.29665327072143555 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954627.3364782, "msecs": 336.47823333740234, "relativeCreated": 13232.720613479614, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:07,336", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954627.3362346, "msecs": 336.23456954956055, "relativeCreated": 13232.476949691772, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:07,336" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954627.33637, "msecs": 336.36999130249023, "relativeCreated": 13232.612371444702, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:07,336" } ], "time_consumption": 0.00010824203491210938 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954627.3368952, "msecs": 336.895227432251, "relativeCreated": 13233.137607574463, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:07,336", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954627.3366895, "msecs": 336.6894721984863, "relativeCreated": 13232.931852340698, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:07,336" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954627.3367908, "msecs": 336.7908000946045, "relativeCreated": 13233.033180236816, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:07,336" } ], "time_consumption": 0.00010442733764648438 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954627.6391, "msecs": 639.1000747680664, "relativeCreated": 13535.342454910278, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:07,639", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.3372269, "msecs": 337.22686767578125, "relativeCreated": 13233.469247817993, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:07,337" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.3381948, "msecs": 338.1948471069336, "relativeCreated": 13234.437227249146, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:07,338" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.3397326, "msecs": 339.7326469421387, "relativeCreated": 13235.97502708435, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:07,339" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.340219, "msecs": 340.21902084350586, "relativeCreated": 13236.461400985718, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,340" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.3410752, "msecs": 341.07518196105957, "relativeCreated": 13237.317562103271, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,341" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.384338, "msecs": 384.3379020690918, "relativeCreated": 13280.580282211304, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:07,384" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.384993, "msecs": 384.9930763244629, "relativeCreated": 13281.235456466675, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:07,384" } ], "time_consumption": 0.2541069984436035 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954627.639714, "msecs": 639.7140026092529, "relativeCreated": 13535.956382751465, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:07,639", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954627.6394646, "msecs": 639.4646167755127, "relativeCreated": 13535.706996917725, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:07,639" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954627.6395884, "msecs": 639.5883560180664, "relativeCreated": 13535.830736160278, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:07,639" } ], "time_consumption": 0.00012564659118652344 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "__test_brightness__", "created": 1675954627.9409509, "msecs": 940.950870513916, "relativeCreated": 13837.193250656128, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:07,940", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.6399398, "msecs": 639.9397850036621, "relativeCreated": 13536.182165145874, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:07,639" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6409671, "msecs": 640.9671306610107, "relativeCreated": 13537.209510803223, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:07,640" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6454852, "msecs": 645.4851627349854, "relativeCreated": 13541.727542877197, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:07,645" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.6460142, "msecs": 646.0142135620117, "relativeCreated": 13542.256593704224, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,646" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.646527, "msecs": 646.5270519256592, "relativeCreated": 13542.769432067871, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:07,646" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.646723, "msecs": 646.7230319976807, "relativeCreated": 13542.965412139893, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,646" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.646986, "msecs": 646.9860076904297, "relativeCreated": 13543.228387832642, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:07,646" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.6471858, "msecs": 647.1858024597168, "relativeCreated": 13543.428182601929, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,647" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6473854, "msecs": 647.3853588104248, "relativeCreated": 13543.627738952637, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:07,647" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.6475778, "msecs": 647.5777626037598, "relativeCreated": 13543.820142745972, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,647" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6478188, "msecs": 647.8188037872314, "relativeCreated": 13544.061183929443, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:07,647" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.6480124, "msecs": 648.0123996734619, "relativeCreated": 13544.254779815674, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,648" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6482062, "msecs": 648.2062339782715, "relativeCreated": 13544.448614120483, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:07,648" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.648393, "msecs": 648.392915725708, "relativeCreated": 13544.63529586792, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,648" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6486306, "msecs": 648.6306190490723, "relativeCreated": 13544.872999191284, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:07,648" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6488717, "msecs": 648.871660232544, "relativeCreated": 13545.114040374756, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:07,648" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.649101, "msecs": 649.1010189056396, "relativeCreated": 13545.343399047852, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,649" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6493149, "msecs": 649.3148803710938, "relativeCreated": 13545.557260513306, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,649" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6495528, "msecs": 649.5528221130371, "relativeCreated": 13545.795202255249, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,649" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6498003, "msecs": 649.8003005981445, "relativeCreated": 13546.042680740356, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,649" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6500406, "msecs": 650.0406265258789, "relativeCreated": 13546.28300666809, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,650" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6502836, "msecs": 650.2835750579834, "relativeCreated": 13546.525955200195, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,650" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.6960282, "msecs": 696.0282325744629, "relativeCreated": 13592.270612716675, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:07,696" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.696743, "msecs": 696.7430114746094, "relativeCreated": 13592.985391616821, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:07,696" } ], "time_consumption": 0.24420785903930664 } ], "time_consumption": 1.8133070468902588, "time_start": "2023-02-09 15:57:06,127", "time_finished": "2023-02-09 15:57:07,940" }, "Color temperature test for device and virtual device: zigbee/ffe/livingroom/main_light": { "name": "__tLogger__", "msg": "Color temperature test for device and virtual device: zigbee/ffe/livingroom/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "test_color_temp", "created": 1675954627.9416728, "msecs": 941.6728019714355, "relativeCreated": 13837.915182113647, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Color temperature test for device and virtual device: zigbee/ffe/livingroom/main_light", "asctime": "2023-02-09 15:57:07,941", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 88, "funcName": "__test_color_temp__", "created": 1675954628.24337, "msecs": 243.37005615234375, "relativeCreated": 14139.612436294556, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:08,243", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.9419556, "msecs": 941.95556640625, "relativeCreated": 13838.197946548462, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:07,941" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.9425004, "msecs": 942.5003528594971, "relativeCreated": 13838.742733001709, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,942" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9433513, "msecs": 943.3512687683105, "relativeCreated": 13839.593648910522, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:07,943" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9439619, "msecs": 943.9618587493896, "relativeCreated": 13840.204238891602, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,943" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9854858, "msecs": 985.4857921600342, "relativeCreated": 13881.728172302246, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:07,985" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.9859638, "msecs": 985.9638214111328, "relativeCreated": 13882.206201553345, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,985" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9863837, "msecs": 986.3836765289307, "relativeCreated": 13882.626056671143, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:07,986" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.9867053, "msecs": 986.7053031921387, "relativeCreated": 13882.94768333435, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,986" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9874709, "msecs": 987.4708652496338, "relativeCreated": 13883.713245391846, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:07,987" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.9877985, "msecs": 987.7984523773193, "relativeCreated": 13884.040832519531, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,987" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.988137, "msecs": 988.1370067596436, "relativeCreated": 13884.379386901855, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:07,988" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.9884453, "msecs": 988.4452819824219, "relativeCreated": 13884.687662124634, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,988" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.988842, "msecs": 988.8420104980469, "relativeCreated": 13885.084390640259, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:07,988" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.9891667, "msecs": 989.1667366027832, "relativeCreated": 13885.409116744995, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,989" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9894893, "msecs": 989.4893169403076, "relativeCreated": 13885.73169708252, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:07,989" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954627.9897962, "msecs": 989.7961616516113, "relativeCreated": 13886.038541793823, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:07,989" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.990192, "msecs": 990.1919364929199, "relativeCreated": 13886.434316635132, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:07,990" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9905906, "msecs": 990.5905723571777, "relativeCreated": 13886.83295249939, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:07,990" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9909556, "msecs": 990.9555912017822, "relativeCreated": 13887.197971343994, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,990" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9914393, "msecs": 991.4393424987793, "relativeCreated": 13887.681722640991, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,991" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9919415, "msecs": 991.9414520263672, "relativeCreated": 13888.18383216858, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,991" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9923983, "msecs": 992.3982620239258, "relativeCreated": 13888.640642166138, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,992" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.992854, "msecs": 992.854118347168, "relativeCreated": 13889.09649848938, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,992" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954627.9933553, "msecs": 993.3552742004395, "relativeCreated": 13889.597654342651, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:07,993" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.0339131, "msecs": 33.91313552856445, "relativeCreated": 13930.155515670776, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:57:08,033" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.034663, "msecs": 34.66296195983887, "relativeCreated": 13930.90534210205, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:08,034" } ], "time_consumption": 0.20870709419250488 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954628.243965, "msecs": 243.96491050720215, "relativeCreated": 14140.207290649414, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:08,243", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954628.2437196, "msecs": 243.71957778930664, "relativeCreated": 14139.961957931519, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:08,243" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954628.2438424, "msecs": 243.84236335754395, "relativeCreated": 14140.084743499756, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:08,243" } ], "time_consumption": 0.00012254714965820312 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954628.5453422, "msecs": 545.342206954956, "relativeCreated": 14441.584587097168, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:08,545", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954628.2442806, "msecs": 244.28057670593262, "relativeCreated": 14140.522956848145, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:08,244" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.2452025, "msecs": 245.20254135131836, "relativeCreated": 14141.44492149353, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:08,245" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.2472181, "msecs": 247.21813201904297, "relativeCreated": 14143.460512161255, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:08,247" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.2477553, "msecs": 247.7552890777588, "relativeCreated": 14143.99766921997, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:08,247" } ], "time_consumption": 0.29758691787719727 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954628.5459328, "msecs": 545.9327697753906, "relativeCreated": 14442.175149917603, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:08,545", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954628.5457075, "msecs": 545.7074642181396, "relativeCreated": 14441.949844360352, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:08,545" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954628.545833, "msecs": 545.8331108093262, "relativeCreated": 14442.075490951538, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:08,545" } ], "time_consumption": 9.965896606445312e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954628.5462453, "msecs": 546.2453365325928, "relativeCreated": 14442.487716674805, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:08,546", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954628.5460832, "msecs": 546.0832118988037, "relativeCreated": 14442.325592041016, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:08,546" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954628.5461693, "msecs": 546.1692810058594, "relativeCreated": 14442.411661148071, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:08,546" } ], "time_consumption": 7.605552673339844e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954628.8484313, "msecs": 848.4313488006592, "relativeCreated": 14744.673728942871, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:08,848", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954628.5465052, "msecs": 546.5052127838135, "relativeCreated": 14442.747592926025, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:57:08,546" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.5474968, "msecs": 547.4967956542969, "relativeCreated": 14443.739175796509, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:08,547" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.5490077, "msecs": 549.0076541900635, "relativeCreated": 14445.250034332275, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:08,549" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954628.5495138, "msecs": 549.5138168334961, "relativeCreated": 14445.756196975708, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:08,549" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.5503747, "msecs": 550.3747463226318, "relativeCreated": 14446.617126464844, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:08,550" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.5935097, "msecs": 593.5096740722656, "relativeCreated": 14489.752054214478, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:08,593" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.594163, "msecs": 594.1629409790039, "relativeCreated": 14490.405321121216, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:08,594" } ], "time_consumption": 0.2542684078216553 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954628.84924, "msecs": 849.2400646209717, "relativeCreated": 14745.482444763184, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:08,849", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954628.8488874, "msecs": 848.8874435424805, "relativeCreated": 14745.129823684692, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:08,848" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954628.8490963, "msecs": 849.0962982177734, "relativeCreated": 14745.338678359985, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:08,849" } ], "time_consumption": 0.0001437664031982422 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954628.849698, "msecs": 849.6980667114258, "relativeCreated": 14745.940446853638, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:08,849", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954628.8494515, "msecs": 849.4515419006348, "relativeCreated": 14745.693922042847, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:08,849" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954628.8496041, "msecs": 849.6041297912598, "relativeCreated": 14745.846509933472, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:08,849" } ], "time_consumption": 9.393692016601562e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954629.1510487, "msecs": 151.0486602783203, "relativeCreated": 15047.291040420532, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:09,151", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954628.8500578, "msecs": 850.05784034729, "relativeCreated": 14746.300220489502, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:08,850" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.8511667, "msecs": 851.1667251586914, "relativeCreated": 14747.409105300903, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:08,851" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.854222, "msecs": 854.2220592498779, "relativeCreated": 14750.46443939209, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:08,854" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954628.854905, "msecs": 854.9048900604248, "relativeCreated": 14751.147270202637, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:08,854" } ], "time_consumption": 0.2961437702178955 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954629.1516535, "msecs": 151.65352821350098, "relativeCreated": 15047.895908355713, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:09,151", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954629.1514378, "msecs": 151.43775939941406, "relativeCreated": 15047.680139541626, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:09,151" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954629.1515596, "msecs": 151.55959129333496, "relativeCreated": 15047.801971435547, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:09,151" } ], "time_consumption": 9.393692016601562e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954629.1519866, "msecs": 151.98659896850586, "relativeCreated": 15048.228979110718, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:09,151", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954629.1518035, "msecs": 151.80349349975586, "relativeCreated": 15048.045873641968, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:09,151" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954629.1519074, "msecs": 151.90744400024414, "relativeCreated": 15048.149824142456, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:09,151" } ], "time_consumption": 7.915496826171875e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954629.4531934, "msecs": 453.19342613220215, "relativeCreated": 15349.435806274414, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:09,453", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.1522505, "msecs": 152.2505283355713, "relativeCreated": 15048.492908477783, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:57:09,152" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.1532452, "msecs": 153.245210647583, "relativeCreated": 15049.487590789795, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:09,153" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.1547217, "msecs": 154.72173690795898, "relativeCreated": 15050.96411705017, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:09,154" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.1552076, "msecs": 155.20763397216797, "relativeCreated": 15051.45001411438, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,155" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.156026, "msecs": 156.02588653564453, "relativeCreated": 15052.268266677856, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,156" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.2011597, "msecs": 201.15971565246582, "relativeCreated": 15097.402095794678, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:09,201" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.2018132, "msecs": 201.8132209777832, "relativeCreated": 15098.055601119995, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:09,201" } ], "time_consumption": 0.25138020515441895 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954629.4538012, "msecs": 453.80115509033203, "relativeCreated": 15350.043535232544, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:09,453", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954629.4535596, "msecs": 453.55963706970215, "relativeCreated": 15349.802017211914, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:09,453" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954629.4537055, "msecs": 453.7055492401123, "relativeCreated": 15349.947929382324, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:09,453" } ], "time_consumption": 9.560585021972656e-05 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 105, "funcName": "__test_color_temp__", "created": 1675954629.755163, "msecs": 755.1629543304443, "relativeCreated": 15651.405334472656, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:09,755", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.4540358, "msecs": 454.03575897216797, "relativeCreated": 15350.27813911438, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:09,454" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.4550805, "msecs": 455.080509185791, "relativeCreated": 15351.322889328003, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:09,455" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.4600816, "msecs": 460.0815773010254, "relativeCreated": 15356.323957443237, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:09,460" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.4605834, "msecs": 460.5834484100342, "relativeCreated": 15356.825828552246, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,460" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.4611459, "msecs": 461.14587783813477, "relativeCreated": 15357.388257980347, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:09,461" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.4615772, "msecs": 461.5771770477295, "relativeCreated": 15357.819557189941, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,461" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.4623888, "msecs": 462.3887538909912, "relativeCreated": 15358.631134033203, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,462" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.462956, "msecs": 462.9559516906738, "relativeCreated": 15359.198331832886, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,462" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.505515, "msecs": 505.51509857177734, "relativeCreated": 15401.75747871399, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:09,505" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.5060697, "msecs": 506.0696601867676, "relativeCreated": 15402.31204032898, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,506" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.5066054, "msecs": 506.6053867340088, "relativeCreated": 15402.84776687622, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:09,506" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.5070486, "msecs": 507.0486068725586, "relativeCreated": 15403.29098701477, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,507" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.507612, "msecs": 507.6119899749756, "relativeCreated": 15403.854370117188, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:09,507" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.5080345, "msecs": 508.03446769714355, "relativeCreated": 15404.276847839355, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,508" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.5085297, "msecs": 508.5296630859375, "relativeCreated": 15404.77204322815, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:09,508" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.5089545, "msecs": 508.9545249938965, "relativeCreated": 15405.196905136108, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,508" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.5095348, "msecs": 509.5348358154297, "relativeCreated": 15405.777215957642, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:09,509" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.5100732, "msecs": 510.073184967041, "relativeCreated": 15406.315565109253, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:09,510" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.5105646, "msecs": 510.56456565856934, "relativeCreated": 15406.806945800781, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:09,510" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.5110652, "msecs": 511.0652446746826, "relativeCreated": 15407.307624816895, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:09,511" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.5115676, "msecs": 511.5675926208496, "relativeCreated": 15407.809972763062, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,511" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.5120313, "msecs": 512.0313167572021, "relativeCreated": 15408.273696899414, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,512" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.512502, "msecs": 512.5019550323486, "relativeCreated": 15408.74433517456, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,512" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.5129554, "msecs": 512.9554271697998, "relativeCreated": 15409.197807312012, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,512" } ], "time_consumption": 0.24220752716064453 } ], "time_consumption": 1.8134901523590088, "time_start": "2023-02-09 15:57:07,941", "time_finished": "2023-02-09 15:57:09,755" }, "Power On/ Off test for device and virtual device: shellies/ffe/livingroom/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/ffe/livingroom/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954629.755853, "msecs": 755.8529376983643, "relativeCreated": 15652.095317840576, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/ffe/livingroom/main_light", "asctime": "2023-02-09 15:57:09,755", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954629.7563066, "msecs": 756.3066482543945, "relativeCreated": 15652.549028396606, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:09,756", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954629.7560933, "msecs": 756.0932636260986, "relativeCreated": 15652.33564376831, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:09,756" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954629.7562113, "msecs": 756.2112808227539, "relativeCreated": 15652.453660964966, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:09,756" } ], "time_consumption": 9.5367431640625e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954630.0589068, "msecs": 58.90679359436035, "relativeCreated": 15955.149173736572, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:10,058", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.7565103, "msecs": 756.5102577209473, "relativeCreated": 15652.75263786316, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:09,756" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.7570179, "msecs": 757.0178508758545, "relativeCreated": 15653.260231018066, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,757" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.7579126, "msecs": 757.9126358032227, "relativeCreated": 15654.155015945435, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:09,757" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.7585063, "msecs": 758.5062980651855, "relativeCreated": 15654.748678207397, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,758" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8017457, "msecs": 801.7456531524658, "relativeCreated": 15697.988033294678, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:09,801" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.8023, "msecs": 802.299976348877, "relativeCreated": 15698.542356491089, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,802" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8028178, "msecs": 802.8178215026855, "relativeCreated": 15699.060201644897, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:09,802" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.803242, "msecs": 803.2419681549072, "relativeCreated": 15699.48434829712, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,803" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8038101, "msecs": 803.8101196289062, "relativeCreated": 15700.052499771118, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:09,803" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.8042285, "msecs": 804.2285442352295, "relativeCreated": 15700.470924377441, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,804" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8046706, "msecs": 804.6705722808838, "relativeCreated": 15700.912952423096, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:09,804" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.805119, "msecs": 805.1190376281738, "relativeCreated": 15701.361417770386, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,805" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8056767, "msecs": 805.6766986846924, "relativeCreated": 15701.919078826904, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:09,805" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.8060942, "msecs": 806.0941696166992, "relativeCreated": 15702.336549758911, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,806" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8065305, "msecs": 806.5304756164551, "relativeCreated": 15702.772855758667, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:09,806" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954629.806937, "msecs": 806.9369792938232, "relativeCreated": 15703.179359436035, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:09,806" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8074906, "msecs": 807.4905872344971, "relativeCreated": 15703.732967376709, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:09,807" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8080363, "msecs": 808.0363273620605, "relativeCreated": 15704.278707504272, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:09,808" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.808535, "msecs": 808.535099029541, "relativeCreated": 15704.777479171753, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,808" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8090177, "msecs": 809.0176582336426, "relativeCreated": 15705.260038375854, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,809" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8095794, "msecs": 809.5793724060059, "relativeCreated": 15705.821752548218, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,809" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8101673, "msecs": 810.1673126220703, "relativeCreated": 15706.409692764282, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,810" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8106544, "msecs": 810.6544017791748, "relativeCreated": 15706.896781921387, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,810" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.8111358, "msecs": 811.1357688903809, "relativeCreated": 15707.378149032593, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:09,811" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.849743, "msecs": 849.7428894042969, "relativeCreated": 15745.985269546509, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:57:09,849" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954629.850498, "msecs": 850.4979610443115, "relativeCreated": 15746.740341186523, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:09,850" } ], "time_consumption": 0.20840883255004883 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954630.059626, "msecs": 59.626102447509766, "relativeCreated": 15955.868482589722, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:10,059", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954630.0593638, "msecs": 59.36384201049805, "relativeCreated": 15955.60622215271, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:10,059" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954630.0595095, "msecs": 59.5095157623291, "relativeCreated": 15955.751895904541, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:10,059" } ], "time_consumption": 0.00011658668518066406 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954630.0599964, "msecs": 59.99636650085449, "relativeCreated": 15956.238746643066, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:10,059", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954630.0598044, "msecs": 59.804439544677734, "relativeCreated": 15956.04681968689, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:10,059" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954630.0599058, "msecs": 59.9057674407959, "relativeCreated": 15956.148147583008, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:10,059" } ], "time_consumption": 9.059906005859375e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954630.3613591, "msecs": 361.3591194152832, "relativeCreated": 16257.601499557495, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:10,361", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.0602725, "msecs": 60.2724552154541, "relativeCreated": 15956.514835357666, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/main_light/state and payload false", "asctime": "2023-02-09 15:57:10,060" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.061343, "msecs": 61.34295463562012, "relativeCreated": 15957.585334777832, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:10,061" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.0630677, "msecs": 63.06767463684082, "relativeCreated": 15959.310054779053, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:10,063" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.063529, "msecs": 63.529014587402344, "relativeCreated": 15959.771394729614, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:10,063" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.0645335, "msecs": 64.53347206115723, "relativeCreated": 15960.77585220337, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:10,064" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1121433, "msecs": 112.14327812194824, "relativeCreated": 16008.38565826416, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,112" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.112797, "msecs": 112.79702186584473, "relativeCreated": 16009.039402008057, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,112" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1135037, "msecs": 113.50369453430176, "relativeCreated": 16009.746074676514, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,113" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.1139991, "msecs": 113.9991283416748, "relativeCreated": 16010.241508483887, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,113" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1147182, "msecs": 114.71819877624512, "relativeCreated": 16010.960578918457, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,114" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.1151552, "msecs": 115.15522003173828, "relativeCreated": 16011.39760017395, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,115" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.115618, "msecs": 115.61799049377441, "relativeCreated": 16011.860370635986, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,115" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.11603, "msecs": 116.02997779846191, "relativeCreated": 16012.272357940674, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,116" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1166012, "msecs": 116.60122871398926, "relativeCreated": 16012.843608856201, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,116" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.1170168, "msecs": 117.01679229736328, "relativeCreated": 16013.259172439575, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,117" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1174777, "msecs": 117.4776554107666, "relativeCreated": 16013.720035552979, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,117" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.1178982, "msecs": 117.89822578430176, "relativeCreated": 16014.140605926514, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,117" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.118458, "msecs": 118.45803260803223, "relativeCreated": 16014.700412750244, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:10,118" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1190119, "msecs": 119.01187896728516, "relativeCreated": 16015.254259109497, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:10,119" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.119512, "msecs": 119.51208114624023, "relativeCreated": 16015.754461288452, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,119" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1199846, "msecs": 119.98462677001953, "relativeCreated": 16016.227006912231, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,119" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1204565, "msecs": 120.45645713806152, "relativeCreated": 16016.698837280273, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,120" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1209104, "msecs": 120.9104061126709, "relativeCreated": 16017.152786254883, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,120" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1213841, "msecs": 121.3841438293457, "relativeCreated": 16017.626523971558, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,121" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1614938, "msecs": 161.49377822875977, "relativeCreated": 16057.736158370972, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,161" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.162134, "msecs": 162.13393211364746, "relativeCreated": 16058.37631225586, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:10,162" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.1631362, "msecs": 163.13624382019043, "relativeCreated": 16059.378623962402, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:10,163" } ], "time_consumption": 0.19822287559509277 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954630.362033, "msecs": 362.0328903198242, "relativeCreated": 16258.275270462036, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:10,362", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954630.3617902, "msecs": 361.7901802062988, "relativeCreated": 16258.03256034851, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:10,361" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954630.3619256, "msecs": 361.9256019592285, "relativeCreated": 16258.16798210144, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:10,361" } ], "time_consumption": 0.00010728836059570312 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954630.362391, "msecs": 362.39099502563477, "relativeCreated": 16258.633375167847, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:10,362", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954630.3622038, "msecs": 362.20383644104004, "relativeCreated": 16258.446216583252, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:10,362" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954630.3623028, "msecs": 362.3027801513672, "relativeCreated": 16258.54516029358, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:10,362" } ], "time_consumption": 8.821487426757812e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954630.6650105, "msecs": 665.0104522705078, "relativeCreated": 16561.25283241272, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:10,665", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.3626223, "msecs": 362.6222610473633, "relativeCreated": 16258.864641189575, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:10,362" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.363192, "msecs": 363.192081451416, "relativeCreated": 16259.434461593628, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,363" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.3640568, "msecs": 364.0568256378174, "relativeCreated": 16260.29920578003, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:10,364" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.364645, "msecs": 364.64500427246094, "relativeCreated": 16260.887384414673, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,364" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4056082, "msecs": 405.6081771850586, "relativeCreated": 16301.85055732727, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:10,405" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.406188, "msecs": 406.1880111694336, "relativeCreated": 16302.430391311646, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,406" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.406759, "msecs": 406.75902366638184, "relativeCreated": 16303.001403808594, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:10,406" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.4071803, "msecs": 407.1803092956543, "relativeCreated": 16303.422689437866, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,407" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.407755, "msecs": 407.75489807128906, "relativeCreated": 16303.997278213501, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:10,407" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.408176, "msecs": 408.1759452819824, "relativeCreated": 16304.418325424194, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,408" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4086192, "msecs": 408.6191654205322, "relativeCreated": 16304.861545562744, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:10,408" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.409026, "msecs": 409.0259075164795, "relativeCreated": 16305.268287658691, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,409" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4095955, "msecs": 409.5954895019531, "relativeCreated": 16305.837869644165, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:10,409" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.4100103, "msecs": 410.01033782958984, "relativeCreated": 16306.252717971802, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,410" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4104426, "msecs": 410.442590713501, "relativeCreated": 16306.684970855713, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:10,410" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.4108477, "msecs": 410.84766387939453, "relativeCreated": 16307.090044021606, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,410" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4113774, "msecs": 411.3774299621582, "relativeCreated": 16307.61981010437, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:10,411" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4119089, "msecs": 411.9088649749756, "relativeCreated": 16308.151245117188, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:10,411" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4124074, "msecs": 412.40739822387695, "relativeCreated": 16308.649778366089, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,412" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4128718, "msecs": 412.8718376159668, "relativeCreated": 16309.114217758179, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,412" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4133742, "msecs": 413.3741855621338, "relativeCreated": 16309.616565704346, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,413" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4138324, "msecs": 413.832426071167, "relativeCreated": 16310.074806213379, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,413" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4142866, "msecs": 414.28661346435547, "relativeCreated": 16310.528993606567, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,414" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4147391, "msecs": 414.73913192749023, "relativeCreated": 16310.981512069702, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,414" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4536333, "msecs": 453.63330841064453, "relativeCreated": 16349.875688552856, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:57:10,453" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.4543767, "msecs": 454.3766975402832, "relativeCreated": 16350.619077682495, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:10,454" } ], "time_consumption": 0.2106337547302246 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954630.6656702, "msecs": 665.6701564788818, "relativeCreated": 16561.912536621094, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:10,665", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954630.6654162, "msecs": 665.4162406921387, "relativeCreated": 16561.65862083435, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:10,665" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954630.6655736, "msecs": 665.5735969543457, "relativeCreated": 16561.815977096558, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:10,665" } ], "time_consumption": 9.655952453613281e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954630.6659865, "msecs": 665.9865379333496, "relativeCreated": 16562.22891807556, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:10,665", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954630.6658225, "msecs": 665.8225059509277, "relativeCreated": 16562.06488609314, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:10,665" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954630.6659088, "msecs": 665.9088134765625, "relativeCreated": 16562.151193618774, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:10,665" } ], "time_consumption": 7.772445678710938e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954630.967179, "msecs": 967.1790599822998, "relativeCreated": 16863.42144012451, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:10,967", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.6662288, "msecs": 666.2287712097168, "relativeCreated": 16562.47115135193, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/main_light/state and payload false", "asctime": "2023-02-09 15:57:10,666" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.6671934, "msecs": 667.1934127807617, "relativeCreated": 16563.435792922974, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:10,667" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.6686277, "msecs": 668.6277389526367, "relativeCreated": 16564.87011909485, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:10,668" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.6690657, "msecs": 669.0657138824463, "relativeCreated": 16565.30809402466, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:10,669" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.6699686, "msecs": 669.9686050415039, "relativeCreated": 16566.210985183716, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:10,669" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.714269, "msecs": 714.2689228057861, "relativeCreated": 16610.511302947998, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,714" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.714821, "msecs": 714.8211002349854, "relativeCreated": 16611.063480377197, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,714" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7153454, "msecs": 715.3453826904297, "relativeCreated": 16611.58776283264, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,715" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.7157705, "msecs": 715.7704830169678, "relativeCreated": 16612.01286315918, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,715" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7163694, "msecs": 716.3693904876709, "relativeCreated": 16612.611770629883, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,716" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.7167916, "msecs": 716.7916297912598, "relativeCreated": 16613.03400993347, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,716" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7172635, "msecs": 717.2634601593018, "relativeCreated": 16613.505840301514, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,717" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.7176783, "msecs": 717.6783084869385, "relativeCreated": 16613.92068862915, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,717" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7182584, "msecs": 718.2583808898926, "relativeCreated": 16614.500761032104, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,718" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.7186778, "msecs": 718.6777591705322, "relativeCreated": 16614.920139312744, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,718" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7191153, "msecs": 719.1152572631836, "relativeCreated": 16615.357637405396, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:10,719" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.7195253, "msecs": 719.5253372192383, "relativeCreated": 16615.76771736145, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,719" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7200856, "msecs": 720.085620880127, "relativeCreated": 16616.32800102234, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:10,720" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7206082, "msecs": 720.6082344055176, "relativeCreated": 16616.85061454773, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:10,720" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7211297, "msecs": 721.1296558380127, "relativeCreated": 16617.372035980225, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,721" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7216125, "msecs": 721.6124534606934, "relativeCreated": 16617.854833602905, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,721" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.722069, "msecs": 722.0690250396729, "relativeCreated": 16618.311405181885, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,722" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7225235, "msecs": 722.5234508514404, "relativeCreated": 16618.765830993652, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,722" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.722975, "msecs": 722.9750156402588, "relativeCreated": 16619.21739578247, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,722" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.761523, "msecs": 761.5230083465576, "relativeCreated": 16657.76538848877, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,761" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7645097, "msecs": 764.5096778869629, "relativeCreated": 16660.752058029175, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:10,764" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.7651622, "msecs": 765.1622295379639, "relativeCreated": 16661.404609680176, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:10,765" } ], "time_consumption": 0.20201683044433594 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954630.9678147, "msecs": 967.8146839141846, "relativeCreated": 16864.057064056396, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:10,967", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954630.9675624, "msecs": 967.5624370574951, "relativeCreated": 16863.804817199707, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:10,967" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954630.9677174, "msecs": 967.7174091339111, "relativeCreated": 16863.959789276123, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:10,967" } ], "time_consumption": 9.72747802734375e-05 } ], "time_consumption": 1.2119617462158203, "time_start": "2023-02-09 15:57:09,755", "time_finished": "2023-02-09 15:57:10,967" }, "Brightness synchronisation test: videv/ffe/livingroom/floorlamp": { "name": "__tLogger__", "msg": "Brightness synchronisation test: videv/ffe/livingroom/floorlamp", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "test_brightness_sync", "created": 1675954630.9682794, "msecs": 968.2793617248535, "relativeCreated": 16864.521741867065, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness synchronisation test: videv/ffe/livingroom/floorlamp", "asctime": "2023-02-09 15:57:10,968", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions for master device '%s' (Power on)", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 48, "funcName": "__test_brightness_sync__", "created": 1675954631.2709007, "msecs": 270.9007263183594, "relativeCreated": 17167.14310646057, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions for master device 'True' (Power on)", "asctime": "2023-02-09 15:57:11,270", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.9685328, "msecs": 968.5328006744385, "relativeCreated": 16864.77518081665, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:10,968" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954630.9690645, "msecs": 969.064474105835, "relativeCreated": 16865.306854248047, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:10,969" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.969936, "msecs": 969.9358940124512, "relativeCreated": 16866.178274154663, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:10,969" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954630.970529, "msecs": 970.5290794372559, "relativeCreated": 16866.771459579468, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:10,970" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0135214, "msecs": 13.521432876586914, "relativeCreated": 16909.7638130188, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:11,013" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.014124, "msecs": 14.123916625976562, "relativeCreated": 16910.36629676819, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,014" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0146585, "msecs": 14.658451080322266, "relativeCreated": 16910.900831222534, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:11,014" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.015085, "msecs": 15.084981918334961, "relativeCreated": 16911.327362060547, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,015" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0156753, "msecs": 15.67530632019043, "relativeCreated": 16911.917686462402, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:11,015" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.0160573, "msecs": 16.057252883911133, "relativeCreated": 16912.299633026123, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,016" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0164797, "msecs": 16.4797306060791, "relativeCreated": 16912.72211074829, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:11,016" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.0168476, "msecs": 16.847610473632812, "relativeCreated": 16913.089990615845, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,016" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0173697, "msecs": 17.369747161865234, "relativeCreated": 16913.612127304077, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:11,017" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.0177486, "msecs": 17.748594284057617, "relativeCreated": 16913.99097442627, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,017" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0181496, "msecs": 18.149614334106445, "relativeCreated": 16914.39199447632, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:11,018" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.018535, "msecs": 18.53489875793457, "relativeCreated": 16914.777278900146, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,018" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0190132, "msecs": 19.013166427612305, "relativeCreated": 16915.255546569824, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:11,019" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0195115, "msecs": 19.51146125793457, "relativeCreated": 16915.753841400146, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:11,019" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0200129, "msecs": 20.012855529785156, "relativeCreated": 16916.255235671997, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,020" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0204859, "msecs": 20.485877990722656, "relativeCreated": 16916.728258132935, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,020" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0209575, "msecs": 20.957469940185547, "relativeCreated": 16917.199850082397, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,020" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0214489, "msecs": 21.448850631713867, "relativeCreated": 16917.691230773926, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,021" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0219033, "msecs": 21.903276443481445, "relativeCreated": 16918.145656585693, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,021" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0223598, "msecs": 22.359848022460938, "relativeCreated": 16918.602228164673, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,022" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0618868, "msecs": 61.88678741455078, "relativeCreated": 16958.129167556763, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:57:11,061" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.0626311, "msecs": 62.63113021850586, "relativeCreated": 16958.873510360718, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:11,062" } ], "time_consumption": 0.20826959609985352 }, { "name": "__tLogger__", "msg": "Changing master device brightness to '%d'", "args": [ 35 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 56, "funcName": "__test_brightness_sync__", "created": 1675954631.5725336, "msecs": 572.5336074829102, "relativeCreated": 17468.775987625122, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device brightness to '35'", "asctime": "2023-02-09 15:57:11,572", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "35" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.2714102, "msecs": 271.4102268218994, "relativeCreated": 17167.65260696411, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness and payload 35", "asctime": "2023-02-09 15:57:11,271" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "b'35'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.2724304, "msecs": 272.430419921875, "relativeCreated": 17168.672800064087, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'35'", "asctime": "2023-02-09 15:57:11,272" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"brightness\": 90.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.2757754, "msecs": 275.7754325866699, "relativeCreated": 17172.017812728882, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 90.0}'", "asctime": "2023-02-09 15:57:11,275" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.2762454, "msecs": 276.2453556060791, "relativeCreated": 17172.48773574829, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,276" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"brightness\": 90.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.2767718, "msecs": 276.77178382873535, "relativeCreated": 17173.014163970947, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 90.0}'", "asctime": "2023-02-09 15:57:11,276" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.2772303, "msecs": 277.23026275634766, "relativeCreated": 17173.47264289856, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,277" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"brightness\": 90.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.2778032, "msecs": 277.8031826019287, "relativeCreated": 17174.04556274414, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 90.0}'", "asctime": "2023-02-09 15:57:11,277" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.2782147, "msecs": 278.214693069458, "relativeCreated": 17174.45707321167, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,278" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"brightness\": 90.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.2786777, "msecs": 278.67770195007324, "relativeCreated": 17174.920082092285, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 90.0}'", "asctime": "2023-02-09 15:57:11,278" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.279083, "msecs": 279.0830135345459, "relativeCreated": 17175.325393676758, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,279" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"brightness\": 90.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.279621, "msecs": 279.620885848999, "relativeCreated": 17175.86326599121, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 90.0}'", "asctime": "2023-02-09 15:57:11,279" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.2800322, "msecs": 280.0321578979492, "relativeCreated": 17176.27453804016, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,280" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"brightness\": 90.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.280465, "msecs": 280.46488761901855, "relativeCreated": 17176.70726776123, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 90.0}'", "asctime": "2023-02-09 15:57:11,280" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.2808962, "msecs": 280.8961868286133, "relativeCreated": 17177.138566970825, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,280" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.281451, "msecs": 281.4509868621826, "relativeCreated": 17177.693367004395, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,281" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.2819402, "msecs": 281.940221786499, "relativeCreated": 17178.18260192871, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,281" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.2824242, "msecs": 282.4242115020752, "relativeCreated": 17178.666591644287, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,282" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.282893, "msecs": 282.89294242858887, "relativeCreated": 17179.1353225708, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,282" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.2833455, "msecs": 283.34546089172363, "relativeCreated": 17179.587841033936, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,283" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.283799, "msecs": 283.7989330291748, "relativeCreated": 17180.041313171387, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,283" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "b'35.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.3255298, "msecs": 325.5298137664795, "relativeCreated": 17221.77219390869, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'35.0'", "asctime": "2023-02-09 15:57:11,325" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.326229, "msecs": 326.2290954589844, "relativeCreated": 17222.471475601196, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:11,326" } ], "time_consumption": 0.24630451202392578 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content %s and Type is %s).", "args": [ "35", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.573274, "msecs": 573.2738971710205, "relativeCreated": 17469.516277313232, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content 35 and Type is ).", "asctime": "2023-02-09 15:57:11,573", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.5729547, "msecs": 572.9546546936035, "relativeCreated": 17469.197034835815, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): 35 ()", "asctime": "2023-02-09 15:57:11,572" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness", "=", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.573132, "msecs": 573.1320381164551, "relativeCreated": 17469.374418258667, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): result = 35 ()", "asctime": "2023-02-09 15:57:11,573" } ], "time_consumption": 0.0001418590545654297 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content %s and Type is %s).", "args": [ "35", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.5736818, "msecs": 573.6818313598633, "relativeCreated": 17469.924211502075, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content 35 and Type is ).", "asctime": "2023-02-09 15:57:11,573", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.5734603, "msecs": 573.4603404998779, "relativeCreated": 17469.70272064209, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): 35 ()", "asctime": "2023-02-09 15:57:11,573" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness", "=", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.5735927, "msecs": 573.5926628112793, "relativeCreated": 17469.83504295349, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): result = 35 ()", "asctime": "2023-02-09 15:57:11,573" } ], "time_consumption": 8.916854858398438e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness is correct (Content %s and Type is %s).", "args": [ "35", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.574021, "msecs": 574.0211009979248, "relativeCreated": 17470.263481140137, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness is correct (Content 35 and Type is ).", "asctime": "2023-02-09 15:57:11,574", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.5738635, "msecs": 573.8635063171387, "relativeCreated": 17470.10588645935, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): 35 ()", "asctime": "2023-02-09 15:57:11,573" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness", "=", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.5739465, "msecs": 573.946475982666, "relativeCreated": 17470.188856124878, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): result = 35 ()", "asctime": "2023-02-09 15:57:11,573" } ], "time_consumption": 7.462501525878906e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content %s and Type is %s).", "args": [ "35", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.574323, "msecs": 574.3229389190674, "relativeCreated": 17470.56531906128, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content 35 and Type is ).", "asctime": "2023-02-09 15:57:11,574", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.57416, "msecs": 574.160099029541, "relativeCreated": 17470.402479171753, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): 35 ()", "asctime": "2023-02-09 15:57:11,574" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness", "=", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.574242, "msecs": 574.242115020752, "relativeCreated": 17470.484495162964, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): result = 35 ()", "asctime": "2023-02-09 15:57:11,574" } ], "time_consumption": 8.082389831542969e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content %s and Type is %s).", "args": [ "35", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.574619, "msecs": 574.6190547943115, "relativeCreated": 17470.861434936523, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content 35 and Type is ).", "asctime": "2023-02-09 15:57:11,574", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.5744503, "msecs": 574.4502544403076, "relativeCreated": 17470.69263458252, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): 35 ()", "asctime": "2023-02-09 15:57:11,574" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness", "=", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.5745463, "msecs": 574.5463371276855, "relativeCreated": 17470.788717269897, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): result = 35 ()", "asctime": "2023-02-09 15:57:11,574" } ], "time_consumption": 7.271766662597656e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content %s and Type is %s).", "args": [ "35", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.5749066, "msecs": 574.906587600708, "relativeCreated": 17471.14896774292, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content 35 and Type is ).", "asctime": "2023-02-09 15:57:11,574", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.5747442, "msecs": 574.7442245483398, "relativeCreated": 17470.98660469055, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): 35 ()", "asctime": "2023-02-09 15:57:11,574" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness", "=", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.5748334, "msecs": 574.8333930969238, "relativeCreated": 17471.075773239136, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): result = 35 ()", "asctime": "2023-02-09 15:57:11,574" } ], "time_consumption": 7.319450378417969e-05 }, { "name": "__tLogger__", "msg": "Changing master device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 56, "funcName": "__test_brightness_sync__", "created": 1675954631.8771155, "msecs": 877.1154880523682, "relativeCreated": 17773.35786819458, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device brightness to '50'", "asctime": "2023-02-09 15:57:11,877", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.575157, "msecs": 575.1569271087646, "relativeCreated": 17471.399307250977, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness and payload 50", "asctime": "2023-02-09 15:57:11,575" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.5760968, "msecs": 576.096773147583, "relativeCreated": 17472.339153289795, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50'", "asctime": "2023-02-09 15:57:11,576" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.5795155, "msecs": 579.5154571533203, "relativeCreated": 17475.757837295532, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:11,579" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.5799854, "msecs": 579.9853801727295, "relativeCreated": 17476.22776031494, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,579" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.5804868, "msecs": 580.4867744445801, "relativeCreated": 17476.729154586792, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:11,580" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.5809216, "msecs": 580.9216499328613, "relativeCreated": 17477.164030075073, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,580" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.5815191, "msecs": 581.5191268920898, "relativeCreated": 17477.7615070343, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:11,581" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.5819356, "msecs": 581.9356441497803, "relativeCreated": 17478.178024291992, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,581" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.5823798, "msecs": 582.3798179626465, "relativeCreated": 17478.62219810486, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:11,582" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.582799, "msecs": 582.798957824707, "relativeCreated": 17479.04133796692, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,582" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.583345, "msecs": 583.3449363708496, "relativeCreated": 17479.58731651306, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:11,583" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.5837696, "msecs": 583.7695598602295, "relativeCreated": 17480.01194000244, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,583" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.5842025, "msecs": 584.2025279998779, "relativeCreated": 17480.44490814209, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:11,584" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.5846057, "msecs": 584.6056938171387, "relativeCreated": 17480.84807395935, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,584" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.585171, "msecs": 585.1709842681885, "relativeCreated": 17481.4133644104, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,585" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.5856664, "msecs": 585.6664180755615, "relativeCreated": 17481.908798217773, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,585" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.5861385, "msecs": 586.1384868621826, "relativeCreated": 17482.380867004395, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,586" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.5866263, "msecs": 586.6262912750244, "relativeCreated": 17482.868671417236, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,586" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.5870755, "msecs": 587.0754718780518, "relativeCreated": 17483.317852020264, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,587" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.5875335, "msecs": 587.5334739685059, "relativeCreated": 17483.775854110718, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,587" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.6295462, "msecs": 629.5461654663086, "relativeCreated": 17525.78854560852, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:11,629" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.6306958, "msecs": 630.6958198547363, "relativeCreated": 17526.93819999695, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:11,630" } ], "time_consumption": 0.24641966819763184 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.8778105, "msecs": 877.8104782104492, "relativeCreated": 17774.05285835266, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:11,877", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.8775618, "msecs": 877.5618076324463, "relativeCreated": 17773.80418777466, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): 50 ()", "asctime": "2023-02-09 15:57:11,877" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.8777006, "msecs": 877.7005672454834, "relativeCreated": 17773.942947387695, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): result = 50 ()", "asctime": "2023-02-09 15:57:11,877" } ], "time_consumption": 0.00010991096496582031 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.878179, "msecs": 878.1790733337402, "relativeCreated": 17774.421453475952, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:11,878", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.8779895, "msecs": 877.9895305633545, "relativeCreated": 17774.231910705566, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): 50 ()", "asctime": "2023-02-09 15:57:11,877" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.8780901, "msecs": 878.0901432037354, "relativeCreated": 17774.332523345947, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): result = 50 ()", "asctime": "2023-02-09 15:57:11,878" } ], "time_consumption": 8.893013000488281e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.878545, "msecs": 878.5450458526611, "relativeCreated": 17774.787425994873, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:11,878", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.8783624, "msecs": 878.3624172210693, "relativeCreated": 17774.60479736328, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): 50 ()", "asctime": "2023-02-09 15:57:11,878" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.8784578, "msecs": 878.45778465271, "relativeCreated": 17774.700164794922, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): result = 50 ()", "asctime": "2023-02-09 15:57:11,878" } ], "time_consumption": 8.726119995117188e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.8788886, "msecs": 878.8886070251465, "relativeCreated": 17775.13098716736, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:11,878", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.878697, "msecs": 878.6969184875488, "relativeCreated": 17774.93929862976, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): 50 ()", "asctime": "2023-02-09 15:57:11,878" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.878803, "msecs": 878.803014755249, "relativeCreated": 17775.04539489746, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): result = 50 ()", "asctime": "2023-02-09 15:57:11,878" } ], "time_consumption": 8.559226989746094e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.879223, "msecs": 879.223108291626, "relativeCreated": 17775.465488433838, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:11,879", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.87905, "msecs": 879.0500164031982, "relativeCreated": 17775.29239654541, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): 50 ()", "asctime": "2023-02-09 15:57:11,879" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.8791409, "msecs": 879.1408538818359, "relativeCreated": 17775.383234024048, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): result = 50 ()", "asctime": "2023-02-09 15:57:11,879" } ], "time_consumption": 8.225440979003906e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954631.8795373, "msecs": 879.5373439788818, "relativeCreated": 17775.779724121094, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:11,879", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954631.8793657, "msecs": 879.3656826019287, "relativeCreated": 17775.60806274414, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): 50 ()", "asctime": "2023-02-09 15:57:11,879" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954631.8794553, "msecs": 879.4553279876709, "relativeCreated": 17775.697708129883, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): result = 50 ()", "asctime": "2023-02-09 15:57:11,879" } ], "time_consumption": 8.20159912109375e-05 }, { "name": "__tLogger__", "msg": "Resetting preconditions for master device '%s' (Power off)", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 64, "funcName": "__test_brightness_sync__", "created": 1675954632.1808043, "msecs": 180.80425262451172, "relativeCreated": 18077.046632766724, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting preconditions for master device 'False' (Power off)", "asctime": "2023-02-09 15:57:12,180", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.8797717, "msecs": 879.7717094421387, "relativeCreated": 17776.01408958435, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:11,879" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.8808954, "msecs": 880.8953762054443, "relativeCreated": 17777.137756347656, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:11,880" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.8856955, "msecs": 885.6954574584961, "relativeCreated": 17781.937837600708, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:11,885" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.886177, "msecs": 886.1770629882812, "relativeCreated": 17782.419443130493, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,886" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.8866997, "msecs": 886.6996765136719, "relativeCreated": 17782.942056655884, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:11,886" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.8871214, "msecs": 887.1214389801025, "relativeCreated": 17783.363819122314, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,887" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.887688, "msecs": 887.6879215240479, "relativeCreated": 17783.93030166626, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:11,887" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.8881083, "msecs": 888.1082534790039, "relativeCreated": 17784.350633621216, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,888" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.8885567, "msecs": 888.556718826294, "relativeCreated": 17784.799098968506, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:11,888" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.8889854, "msecs": 888.9853954315186, "relativeCreated": 17785.22777557373, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,888" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.8895586, "msecs": 889.5585536956787, "relativeCreated": 17785.80093383789, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:11,889" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.8899748, "msecs": 889.97483253479, "relativeCreated": 17786.217212677002, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,889" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.890412, "msecs": 890.4120922088623, "relativeCreated": 17786.654472351074, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:11,890" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954631.890823, "msecs": 890.8228874206543, "relativeCreated": 17787.065267562866, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:11,890" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.8913736, "msecs": 891.3736343383789, "relativeCreated": 17787.61601448059, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:11,891" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.8919196, "msecs": 891.9196128845215, "relativeCreated": 17788.161993026733, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:11,891" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.892416, "msecs": 892.4160003662109, "relativeCreated": 17788.658380508423, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,892" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.8929198, "msecs": 892.9197788238525, "relativeCreated": 17789.162158966064, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,892" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.8934336, "msecs": 893.4335708618164, "relativeCreated": 17789.67595100403, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,893" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.893927, "msecs": 893.9270973205566, "relativeCreated": 17790.16947746277, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,893" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.8944228, "msecs": 894.4227695465088, "relativeCreated": 17790.66514968872, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,894" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.8949194, "msecs": 894.9193954467773, "relativeCreated": 17791.16177558899, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:11,894" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.9362836, "msecs": 936.2835884094238, "relativeCreated": 17832.525968551636, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:11,936" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954631.9369807, "msecs": 936.9807243347168, "relativeCreated": 17833.22310447693, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:11,936" } ], "time_consumption": 0.24382352828979492 } ], "time_consumption": 1.2125248908996582, "time_start": "2023-02-09 15:57:10,968", "time_finished": "2023-02-09 15:57:12,180" }, "Color temperature synchronisation test: videv/ffe/livingroom/floorlamp": { "name": "__tLogger__", "msg": "Color temperature synchronisation test: videv/ffe/livingroom/floorlamp", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 67, "funcName": "test_color_temp_sync", "created": 1675954632.1815796, "msecs": 181.57958984375, "relativeCreated": 18077.821969985962, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Color temperature synchronisation test: videv/ffe/livingroom/floorlamp", "asctime": "2023-02-09 15:57:12,181", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions for master device '%s' (Power on)", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 73, "funcName": "__test_color_temp_sync__", "created": 1675954632.4833443, "msecs": 483.34431648254395, "relativeCreated": 18379.586696624756, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions for master device 'True' (Power on)", "asctime": "2023-02-09 15:57:12,483", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.1818736, "msecs": 181.87355995178223, "relativeCreated": 18078.115940093994, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:12,181" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.182444, "msecs": 182.44409561157227, "relativeCreated": 18078.686475753784, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,182" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.1833186, "msecs": 183.3186149597168, "relativeCreated": 18079.56099510193, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:12,183" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.1839073, "msecs": 183.90727043151855, "relativeCreated": 18080.14965057373, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,183" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.2256024, "msecs": 225.602388381958, "relativeCreated": 18121.84476852417, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:12,225" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.2261543, "msecs": 226.15432739257812, "relativeCreated": 18122.39670753479, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,226" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.22668, "msecs": 226.68004035949707, "relativeCreated": 18122.92242050171, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:12,226" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.2271054, "msecs": 227.10537910461426, "relativeCreated": 18123.347759246826, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,227" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.227717, "msecs": 227.71692276000977, "relativeCreated": 18123.95930290222, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:12,227" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.2281427, "msecs": 228.14273834228516, "relativeCreated": 18124.385118484497, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,228" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.2285895, "msecs": 228.58953475952148, "relativeCreated": 18124.831914901733, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:12,228" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.2289977, "msecs": 228.99770736694336, "relativeCreated": 18125.240087509155, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,228" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.2296104, "msecs": 229.61044311523438, "relativeCreated": 18125.852823257446, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:12,229" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.2300563, "msecs": 230.0562858581543, "relativeCreated": 18126.298666000366, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,230" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.230547, "msecs": 230.5469512939453, "relativeCreated": 18126.789331436157, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:12,230" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.2309804, "msecs": 230.98039627075195, "relativeCreated": 18127.222776412964, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,230" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.231573, "msecs": 231.57310485839844, "relativeCreated": 18127.81548500061, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:12,231" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.2321281, "msecs": 232.12814331054688, "relativeCreated": 18128.37052345276, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:12,232" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.2326293, "msecs": 232.62929916381836, "relativeCreated": 18128.87167930603, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,232" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.233239, "msecs": 233.23893547058105, "relativeCreated": 18129.481315612793, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,233" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.2340038, "msecs": 234.00378227233887, "relativeCreated": 18130.24616241455, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,234" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.234532, "msecs": 234.53211784362793, "relativeCreated": 18130.77449798584, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,234" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.2351103, "msecs": 235.11028289794922, "relativeCreated": 18131.35266304016, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,235" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.2354162, "msecs": 235.41617393493652, "relativeCreated": 18131.65855407715, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,235" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.273619, "msecs": 273.6189365386963, "relativeCreated": 18169.86131668091, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:57:12,273" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.2741091, "msecs": 274.1091251373291, "relativeCreated": 18170.35150527954, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:12,274" } ], "time_consumption": 0.20923519134521484 }, { "name": "__tLogger__", "msg": "Changing master device color temperature to '%d'", "args": [ 2 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "__test_color_temp_sync__", "created": 1675954632.7850933, "msecs": 785.0933074951172, "relativeCreated": 18681.33568763733, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device color temperature to '2'", "asctime": "2023-02-09 15:57:12,785", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "2" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.4839058, "msecs": 483.9057922363281, "relativeCreated": 18380.14817237854, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp and payload 2", "asctime": "2023-02-09 15:57:12,483" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "b'2'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.4850304, "msecs": 485.0304126739502, "relativeCreated": 18381.272792816162, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'2'", "asctime": "2023-02-09 15:57:12,485" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"color_temp\": 291.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.488735, "msecs": 488.7349605560303, "relativeCreated": 18384.977340698242, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 291.0}'", "asctime": "2023-02-09 15:57:12,488" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.489306, "msecs": 489.3059730529785, "relativeCreated": 18385.54835319519, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,489" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"color_temp\": 291.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.4898977, "msecs": 489.8977279663086, "relativeCreated": 18386.14010810852, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 291.0}'", "asctime": "2023-02-09 15:57:12,489" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.4903774, "msecs": 490.37742614746094, "relativeCreated": 18386.619806289673, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,490" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"color_temp\": 291.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.4910355, "msecs": 491.03546142578125, "relativeCreated": 18387.277841567993, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 291.0}'", "asctime": "2023-02-09 15:57:12,491" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.4915133, "msecs": 491.5132522583008, "relativeCreated": 18387.755632400513, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,491" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"color_temp\": 291.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.4920168, "msecs": 492.0167922973633, "relativeCreated": 18388.259172439575, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 291.0}'", "asctime": "2023-02-09 15:57:12,492" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.492494, "msecs": 492.4941062927246, "relativeCreated": 18388.736486434937, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,492" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"color_temp\": 291.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.4931695, "msecs": 493.16954612731934, "relativeCreated": 18389.41192626953, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 291.0}'", "asctime": "2023-02-09 15:57:12,493" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.4936047, "msecs": 493.6046600341797, "relativeCreated": 18389.84704017639, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,493" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"color_temp\": 291.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.494047, "msecs": 494.0469264984131, "relativeCreated": 18390.289306640625, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 291.0}'", "asctime": "2023-02-09 15:57:12,494" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.4944544, "msecs": 494.45438385009766, "relativeCreated": 18390.69676399231, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,494" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.4949808, "msecs": 494.9808120727539, "relativeCreated": 18391.223192214966, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,494" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.4954655, "msecs": 495.4655170440674, "relativeCreated": 18391.70789718628, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,495" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.4959316, "msecs": 495.93162536621094, "relativeCreated": 18392.174005508423, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,495" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.496393, "msecs": 496.39296531677246, "relativeCreated": 18392.635345458984, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,496" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.4968615, "msecs": 496.86145782470703, "relativeCreated": 18393.10383796692, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,496" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.4973643, "msecs": 497.3642826080322, "relativeCreated": 18393.606662750244, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,497" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "b'2.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.537555, "msecs": 537.5549793243408, "relativeCreated": 18433.797359466553, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'2.0'", "asctime": "2023-02-09 15:57:12,537" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.538253, "msecs": 538.2530689239502, "relativeCreated": 18434.495449066162, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:12,538" } ], "time_consumption": 0.246840238571167 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content %s and Type is %s).", "args": [ "2", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954632.7857614, "msecs": 785.7613563537598, "relativeCreated": 18682.00373649597, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content 2 and Type is ).", "asctime": "2023-02-09 15:57:12,785", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954632.7855208, "msecs": 785.5207920074463, "relativeCreated": 18681.76317214966, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): 2 ()", "asctime": "2023-02-09 15:57:12,785" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature", "=", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954632.7856553, "msecs": 785.6552600860596, "relativeCreated": 18681.89764022827, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): result = 2 ()", "asctime": "2023-02-09 15:57:12,785" } ], "time_consumption": 0.00010609626770019531 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content %s and Type is %s).", "args": [ "2", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954632.7861187, "msecs": 786.118745803833, "relativeCreated": 18682.361125946045, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content 2 and Type is ).", "asctime": "2023-02-09 15:57:12,786", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954632.7859335, "msecs": 785.9334945678711, "relativeCreated": 18682.175874710083, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): 2 ()", "asctime": "2023-02-09 15:57:12,785" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature", "=", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954632.78603, "msecs": 786.0300540924072, "relativeCreated": 18682.27243423462, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): result = 2 ()", "asctime": "2023-02-09 15:57:12,786" } ], "time_consumption": 8.869171142578125e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content %s and Type is %s).", "args": [ "2", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954632.7864416, "msecs": 786.4415645599365, "relativeCreated": 18682.68394470215, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content 2 and Type is ).", "asctime": "2023-02-09 15:57:12,786", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954632.786269, "msecs": 786.268949508667, "relativeCreated": 18682.51132965088, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): 2 ()", "asctime": "2023-02-09 15:57:12,786" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature", "=", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954632.7863586, "msecs": 786.3585948944092, "relativeCreated": 18682.60097503662, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): result = 2 ()", "asctime": "2023-02-09 15:57:12,786" } ], "time_consumption": 8.296966552734375e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content %s and Type is %s).", "args": [ "2", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954632.7868, "msecs": 786.7999076843262, "relativeCreated": 18683.042287826538, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content 2 and Type is ).", "asctime": "2023-02-09 15:57:12,786", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954632.7866137, "msecs": 786.6137027740479, "relativeCreated": 18682.85608291626, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): 2 ()", "asctime": "2023-02-09 15:57:12,786" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature", "=", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954632.7867064, "msecs": 786.7064476013184, "relativeCreated": 18682.94882774353, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): result = 2 ()", "asctime": "2023-02-09 15:57:12,786" } ], "time_consumption": 9.34600830078125e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content %s and Type is %s).", "args": [ "2", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954632.7871115, "msecs": 787.1115207672119, "relativeCreated": 18683.353900909424, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content 2 and Type is ).", "asctime": "2023-02-09 15:57:12,787", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954632.786942, "msecs": 786.9420051574707, "relativeCreated": 18683.184385299683, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): 2 ()", "asctime": "2023-02-09 15:57:12,786" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature", "=", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954632.78703, "msecs": 787.0299816131592, "relativeCreated": 18683.27236175537, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): result = 2 ()", "asctime": "2023-02-09 15:57:12,787" } ], "time_consumption": 8.153915405273438e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content %s and Type is %s).", "args": [ "2", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954632.7874317, "msecs": 787.4317169189453, "relativeCreated": 18683.674097061157, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content 2 and Type is ).", "asctime": "2023-02-09 15:57:12,787", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954632.7872515, "msecs": 787.2514724731445, "relativeCreated": 18683.493852615356, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): 2 ()", "asctime": "2023-02-09 15:57:12,787" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature", "=", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954632.787351, "msecs": 787.3508930206299, "relativeCreated": 18683.59327316284, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): result = 2 ()", "asctime": "2023-02-09 15:57:12,787" } ], "time_consumption": 8.082389831542969e-05 }, { "name": "__tLogger__", "msg": "Changing master device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "__test_color_temp_sync__", "created": 1675954633.0896525, "msecs": 89.65253829956055, "relativeCreated": 18985.894918441772, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device color temperature to '5'", "asctime": "2023-02-09 15:57:13,089", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.7877223, "msecs": 787.7223491668701, "relativeCreated": 18683.964729309082, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp and payload 5", "asctime": "2023-02-09 15:57:12,787" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.7887938, "msecs": 788.7938022613525, "relativeCreated": 18685.036182403564, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:12,788" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.7925873, "msecs": 792.5872802734375, "relativeCreated": 18688.82966041565, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:12,792" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.7931588, "msecs": 793.158769607544, "relativeCreated": 18689.401149749756, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,793" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.7937412, "msecs": 793.7412261962891, "relativeCreated": 18689.9836063385, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:12,793" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.7942343, "msecs": 794.2342758178711, "relativeCreated": 18690.476655960083, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,794" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.7948775, "msecs": 794.8775291442871, "relativeCreated": 18691.1199092865, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:12,794" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.7953444, "msecs": 795.344352722168, "relativeCreated": 18691.58673286438, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,795" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.7957873, "msecs": 795.7873344421387, "relativeCreated": 18692.02971458435, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:12,795" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.7962058, "msecs": 796.2057590484619, "relativeCreated": 18692.448139190674, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,796" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.796748, "msecs": 796.7479228973389, "relativeCreated": 18692.99030303955, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:12,796" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.7971976, "msecs": 797.1975803375244, "relativeCreated": 18693.439960479736, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,797" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.7976375, "msecs": 797.6374626159668, "relativeCreated": 18693.87984275818, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:12,797" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954632.7980402, "msecs": 798.0401515960693, "relativeCreated": 18694.28253173828, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:12,798" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.7985704, "msecs": 798.5703945159912, "relativeCreated": 18694.812774658203, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,798" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.7990594, "msecs": 799.0593910217285, "relativeCreated": 18695.30177116394, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,799" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.799538, "msecs": 799.5378971099854, "relativeCreated": 18695.780277252197, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,799" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.8000205, "msecs": 800.0204563140869, "relativeCreated": 18696.2628364563, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,800" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.800486, "msecs": 800.4860877990723, "relativeCreated": 18696.728467941284, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,800" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.8009553, "msecs": 800.9552955627441, "relativeCreated": 18697.197675704956, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:12,800" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.841539, "msecs": 841.5389060974121, "relativeCreated": 18737.781286239624, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:12,841" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954632.8422322, "msecs": 842.2322273254395, "relativeCreated": 18738.47460746765, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:12,842" } ], "time_consumption": 0.2474203109741211 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.0902483, "msecs": 90.24834632873535, "relativeCreated": 18986.490726470947, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:13,090", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.0900347, "msecs": 90.03472328186035, "relativeCreated": 18986.277103424072, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): 5 ()", "asctime": "2023-02-09 15:57:13,090" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.0901546, "msecs": 90.15464782714844, "relativeCreated": 18986.39702796936, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:13,090" } ], "time_consumption": 9.369850158691406e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.090606, "msecs": 90.6059741973877, "relativeCreated": 18986.8483543396, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:13,090", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.090402, "msecs": 90.40188789367676, "relativeCreated": 18986.64426803589, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): 5 ()", "asctime": "2023-02-09 15:57:13,090" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.0905154, "msecs": 90.5153751373291, "relativeCreated": 18986.75775527954, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:13,090" } ], "time_consumption": 9.059906005859375e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.0909097, "msecs": 90.90971946716309, "relativeCreated": 18987.152099609375, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:13,090", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.0907505, "msecs": 90.75045585632324, "relativeCreated": 18986.992835998535, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): 5 ()", "asctime": "2023-02-09 15:57:13,090" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.0908365, "msecs": 90.8365249633789, "relativeCreated": 18987.07890510559, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:13,090" } ], "time_consumption": 7.319450378417969e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.091185, "msecs": 91.18509292602539, "relativeCreated": 18987.427473068237, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:13,091", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.0910356, "msecs": 91.03560447692871, "relativeCreated": 18987.27798461914, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): 5 ()", "asctime": "2023-02-09 15:57:13,091" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.0911136, "msecs": 91.11356735229492, "relativeCreated": 18987.355947494507, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:13,091" } ], "time_consumption": 7.152557373046875e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.091453, "msecs": 91.45307540893555, "relativeCreated": 18987.695455551147, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:13,091", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.091307, "msecs": 91.30692481994629, "relativeCreated": 18987.54930496216, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): 5 ()", "asctime": "2023-02-09 15:57:13,091" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.0913827, "msecs": 91.38274192810059, "relativeCreated": 18987.625122070312, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:13,091" } ], "time_consumption": 7.033348083496094e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.091728, "msecs": 91.72797203063965, "relativeCreated": 18987.97035217285, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:13,091", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.0915737, "msecs": 91.57371520996094, "relativeCreated": 18987.816095352173, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): 5 ()", "asctime": "2023-02-09 15:57:13,091" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.0916498, "msecs": 91.64977073669434, "relativeCreated": 18987.892150878906, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:13,091" } ], "time_consumption": 7.82012939453125e-05 }, { "name": "__tLogger__", "msg": "Resetting preconditions for master device '%s' (Power off)", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 89, "funcName": "__test_color_temp_sync__", "created": 1675954633.3930805, "msecs": 393.080472946167, "relativeCreated": 19289.32285308838, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting preconditions for master device 'False' (Power off)", "asctime": "2023-02-09 15:57:13,393", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.0919335, "msecs": 91.9334888458252, "relativeCreated": 18988.175868988037, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:13,091" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.0929372, "msecs": 92.93723106384277, "relativeCreated": 18989.179611206055, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:13,092" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.0973527, "msecs": 97.35274314880371, "relativeCreated": 18993.595123291016, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:13,097" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.0978508, "msecs": 97.85079956054688, "relativeCreated": 18994.09317970276, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,097" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.09835, "msecs": 98.35004806518555, "relativeCreated": 18994.592428207397, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:13,098" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.0987856, "msecs": 98.7856388092041, "relativeCreated": 18995.028018951416, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,098" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.0993514, "msecs": 99.35140609741211, "relativeCreated": 18995.593786239624, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:13,099" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.09977, "msecs": 99.77006912231445, "relativeCreated": 18996.012449264526, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,099" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1002138, "msecs": 100.21376609802246, "relativeCreated": 18996.456146240234, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:13,100" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.1006384, "msecs": 100.63838958740234, "relativeCreated": 18996.880769729614, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,100" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.101225, "msecs": 101.22489929199219, "relativeCreated": 18997.467279434204, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:13,101" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.1016533, "msecs": 101.6533374786377, "relativeCreated": 18997.89571762085, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,101" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1020947, "msecs": 102.09465026855469, "relativeCreated": 18998.337030410767, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:13,102" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.1025178, "msecs": 102.51784324645996, "relativeCreated": 18998.760223388672, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,102" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1030562, "msecs": 103.05619239807129, "relativeCreated": 18999.298572540283, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:13,103" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1035886, "msecs": 103.58858108520508, "relativeCreated": 18999.830961227417, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:13,103" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1040747, "msecs": 104.07471656799316, "relativeCreated": 19000.317096710205, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,104" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1045384, "msecs": 104.5384407043457, "relativeCreated": 19000.780820846558, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,104" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1050155, "msecs": 105.01551628112793, "relativeCreated": 19001.25789642334, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,105" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1059117, "msecs": 105.9117317199707, "relativeCreated": 19002.154111862183, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,105" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1063864, "msecs": 106.38642311096191, "relativeCreated": 19002.628803253174, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,106" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1068442, "msecs": 106.84418678283691, "relativeCreated": 19003.08656692505, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,106" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1479964, "msecs": 147.9964256286621, "relativeCreated": 19044.238805770874, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:13,147" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.1486826, "msecs": 148.6825942993164, "relativeCreated": 19044.92497444153, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:13,148" } ], "time_consumption": 0.24439787864685059 } ], "time_consumption": 1.211500883102417, "time_start": "2023-02-09 15:57:12,181", "time_finished": "2023-02-09 15:57:13,393" }, "Power On/ Off synchronisation test: shellies/ffe/livingroom/main_light": { "name": "__tLogger__", "msg": "Power On/ Off synchronisation test: shellies/ffe/livingroom/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 24, "funcName": "test_power_on_off_sync", "created": 1675954633.3937616, "msecs": 393.76163482666016, "relativeCreated": 19290.004014968872, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off synchronisation test: shellies/ffe/livingroom/main_light", "asctime": "2023-02-09 15:57:13,393", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions for master device '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 30, "funcName": "__test_power_on_off_sync__", "created": 1675954633.6955843, "msecs": 695.5842971801758, "relativeCreated": 19591.826677322388, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions for master device 'False'", "asctime": "2023-02-09 15:57:13,695", "moduleLogger": [], "time_consumption": 0.0 }, { "name": "__tLogger__", "msg": "Changing master device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off_sync__", "created": 1675954633.9973948, "msecs": 997.3948001861572, "relativeCreated": 19893.63718032837, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device state to 'True'", "asctime": "2023-02-09 15:57:13,997", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.6960466, "msecs": 696.0465908050537, "relativeCreated": 19592.288970947266, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:13,696" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.6966763, "msecs": 696.6762542724609, "relativeCreated": 19592.918634414673, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,696" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.6976814, "msecs": 697.6814270019531, "relativeCreated": 19593.923807144165, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:13,697" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.698353, "msecs": 698.3530521392822, "relativeCreated": 19594.595432281494, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,698" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7420547, "msecs": 742.0547008514404, "relativeCreated": 19638.297080993652, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:13,742" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.7427266, "msecs": 742.7265644073486, "relativeCreated": 19638.96894454956, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,742" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7433398, "msecs": 743.3397769927979, "relativeCreated": 19639.58215713501, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:13,743" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.7438188, "msecs": 743.8187599182129, "relativeCreated": 19640.061140060425, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,743" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7444875, "msecs": 744.4875240325928, "relativeCreated": 19640.729904174805, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:13,744" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.7449667, "msecs": 744.9667453765869, "relativeCreated": 19641.2091255188, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,744" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7455122, "msecs": 745.5122470855713, "relativeCreated": 19641.754627227783, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:13,745" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.7459774, "msecs": 745.9774017333984, "relativeCreated": 19642.21978187561, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,745" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7465932, "msecs": 746.5932369232178, "relativeCreated": 19642.83561706543, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:13,746" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.7470634, "msecs": 747.063398361206, "relativeCreated": 19643.305778503418, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,747" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"on\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7475598, "msecs": 747.5597858428955, "relativeCreated": 19643.802165985107, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'", "asctime": "2023-02-09 15:57:13,747" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.748024, "msecs": 748.0239868164062, "relativeCreated": 19644.266366958618, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:13,748" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.748627, "msecs": 748.6269474029541, "relativeCreated": 19644.869327545166, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:13,748" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7492642, "msecs": 749.2642402648926, "relativeCreated": 19645.506620407104, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:13,749" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7498178, "msecs": 749.8178482055664, "relativeCreated": 19646.06022834778, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,749" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7503467, "msecs": 750.3466606140137, "relativeCreated": 19646.589040756226, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,750" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7508829, "msecs": 750.8828639984131, "relativeCreated": 19647.125244140625, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,750" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.751412, "msecs": 751.4119148254395, "relativeCreated": 19647.65429496765, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,751" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7519171, "msecs": 751.9171237945557, "relativeCreated": 19648.159503936768, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,751" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7524192, "msecs": 752.4192333221436, "relativeCreated": 19648.661613464355, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:13,752" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7898943, "msecs": 789.8943424224854, "relativeCreated": 19686.136722564697, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'", "asctime": "2023-02-09 15:57:13,789" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954633.7907257, "msecs": 790.7257080078125, "relativeCreated": 19686.968088150024, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:13,790" } ], "time_consumption": 0.20666909217834473 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.9980638, "msecs": 998.0638027191162, "relativeCreated": 19894.306182861328, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:13,998", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.99782, "msecs": 997.8199005126953, "relativeCreated": 19894.062280654907, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): True ()", "asctime": "2023-02-09 15:57:13,997" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.9979577, "msecs": 997.957706451416, "relativeCreated": 19894.200086593628, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): result = True ()", "asctime": "2023-02-09 15:57:13,997" } ], "time_consumption": 0.00010609626770019531 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.9984696, "msecs": 998.4695911407471, "relativeCreated": 19894.71197128296, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:13,998", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.9982367, "msecs": 998.2366561889648, "relativeCreated": 19894.479036331177, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): True ()", "asctime": "2023-02-09 15:57:13,998" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.9983668, "msecs": 998.3668327331543, "relativeCreated": 19894.609212875366, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): result = True ()", "asctime": "2023-02-09 15:57:13,998" } ], "time_consumption": 0.00010275840759277344 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.9988055, "msecs": 998.8055229187012, "relativeCreated": 19895.047903060913, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:13,998", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.998628, "msecs": 998.6279010772705, "relativeCreated": 19894.870281219482, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): True ()", "asctime": "2023-02-09 15:57:13,998" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.99872, "msecs": 998.7199306488037, "relativeCreated": 19894.962310791016, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): result = True ()", "asctime": "2023-02-09 15:57:13,998" } ], "time_consumption": 8.559226989746094e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.9991405, "msecs": 999.1405010223389, "relativeCreated": 19895.38288116455, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:13,999", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.9989634, "msecs": 998.9633560180664, "relativeCreated": 19895.20573616028, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): True ()", "asctime": "2023-02-09 15:57:13,998" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.9990573, "msecs": 999.0572929382324, "relativeCreated": 19895.299673080444, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): result = True ()", "asctime": "2023-02-09 15:57:13,999" } ], "time_consumption": 8.320808410644531e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.9994526, "msecs": 999.4525909423828, "relativeCreated": 19895.694971084595, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:13,999", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.9992828, "msecs": 999.2828369140625, "relativeCreated": 19895.525217056274, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): True ()", "asctime": "2023-02-09 15:57:13,999" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.9993715, "msecs": 999.3715286254883, "relativeCreated": 19895.6139087677, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): result = True ()", "asctime": "2023-02-09 15:57:13,999" } ], "time_consumption": 8.106231689453125e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954633.9997706, "msecs": 999.7706413269043, "relativeCreated": 19896.013021469116, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:13,999", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954633.9995918, "msecs": 999.5918273925781, "relativeCreated": 19895.83420753479, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): True ()", "asctime": "2023-02-09 15:57:13,999" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954633.9996793, "msecs": 999.6793270111084, "relativeCreated": 19895.92170715332, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): result = True ()", "asctime": "2023-02-09 15:57:13,999" } ], "time_consumption": 9.131431579589844e-05 }, { "name": "__tLogger__", "msg": "Changing master device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off_sync__", "created": 1675954634.3010235, "msecs": 301.0234832763672, "relativeCreated": 20197.26586341858, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device state to 'False'", "asctime": "2023-02-09 15:57:14,301", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954633.9999945, "msecs": 999.9945163726807, "relativeCreated": 19896.236896514893, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:13,999" }, { "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/livingroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.00117, "msecs": 1.1699199676513672, "relativeCreated": 19897.412300109863, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:14,001" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0058656, "msecs": 5.865573883056641, "relativeCreated": 19902.10795402527, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:14,005" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954634.0063431, "msecs": 6.34312629699707, "relativeCreated": 19902.58550643921, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:14,006" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0068576, "msecs": 6.857633590698242, "relativeCreated": 19903.10001373291, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:14,006" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954634.0073347, "msecs": 7.334709167480469, "relativeCreated": 19903.577089309692, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:14,007" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0079188, "msecs": 7.918834686279297, "relativeCreated": 19904.16121482849, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:14,007" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954634.0083418, "msecs": 8.341789245605469, "relativeCreated": 19904.584169387817, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:14,008" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0087934, "msecs": 8.793354034423828, "relativeCreated": 19905.035734176636, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:14,008" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954634.0092459, "msecs": 9.245872497558594, "relativeCreated": 19905.48825263977, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:14,009" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0098007, "msecs": 9.80067253112793, "relativeCreated": 19906.04305267334, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:14,009" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954634.0102293, "msecs": 10.229349136352539, "relativeCreated": 19906.471729278564, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:14,010" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.010667, "msecs": 10.667085647583008, "relativeCreated": 19906.909465789795, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:14,010" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954634.011071, "msecs": 11.070966720581055, "relativeCreated": 19907.313346862793, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:14,011" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0116036, "msecs": 11.603593826293945, "relativeCreated": 19907.845973968506, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:14,011" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0121288, "msecs": 12.128829956054688, "relativeCreated": 19908.371210098267, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:14,012" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_1", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0126083, "msecs": 12.60828971862793, "relativeCreated": 19908.85066986084, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:14,012" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_2", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0130959, "msecs": 13.095855712890625, "relativeCreated": 19909.338235855103, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:14,013" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_3", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0135567, "msecs": 13.556718826293945, "relativeCreated": 19909.799098968506, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:14,013" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_4", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0140195, "msecs": 14.019489288330078, "relativeCreated": 19910.261869430542, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:14,014" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_5", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0144694, "msecs": 14.469385147094727, "relativeCreated": 19910.711765289307, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:14,014" }, { "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/livingroom/floorlamp_6", "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.014913, "msecs": 14.913082122802734, "relativeCreated": 19911.155462265015, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:14,014" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.056172, "msecs": 56.17189407348633, "relativeCreated": 19952.4142742157, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'", "asctime": "2023-02-09 15:57:14,056" }, { "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/livingroom/floorlamp/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.0568771, "msecs": 56.87713623046875, "relativeCreated": 19953.11951637268, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:14,056" } ], "time_consumption": 0.24414634704589844 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954634.3016438, "msecs": 301.64384841918945, "relativeCreated": 20197.8862285614, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:14,301", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954634.3014293, "msecs": 301.42927169799805, "relativeCreated": 20197.67165184021, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): False ()", "asctime": "2023-02-09 15:57:14,301" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_1) state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954634.3015482, "msecs": 301.5482425689697, "relativeCreated": 20197.79062271118, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): result = False ()", "asctime": "2023-02-09 15:57:14,301" } ], "time_consumption": 9.560585021972656e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954634.301951, "msecs": 301.95093154907227, "relativeCreated": 20198.193311691284, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:14,301", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954634.3017905, "msecs": 301.7904758453369, "relativeCreated": 20198.03285598755, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): False ()", "asctime": "2023-02-09 15:57:14,301" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_2) state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954634.301875, "msecs": 301.87511444091797, "relativeCreated": 20198.11749458313, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): result = False ()", "asctime": "2023-02-09 15:57:14,301" } ], "time_consumption": 7.581710815429688e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954634.3022785, "msecs": 302.2785186767578, "relativeCreated": 20198.52089881897, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:14,302", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954634.3021128, "msecs": 302.1128177642822, "relativeCreated": 20198.355197906494, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): False ()", "asctime": "2023-02-09 15:57:14,302" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_3) state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954634.302193, "msecs": 302.19292640686035, "relativeCreated": 20198.435306549072, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): result = False ()", "asctime": "2023-02-09 15:57:14,302" } ], "time_consumption": 8.559226989746094e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954634.3025706, "msecs": 302.5705814361572, "relativeCreated": 20198.81296157837, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:14,302", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954634.3024125, "msecs": 302.4125099182129, "relativeCreated": 20198.654890060425, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): False ()", "asctime": "2023-02-09 15:57:14,302" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_4) state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954634.3024976, "msecs": 302.49762535095215, "relativeCreated": 20198.740005493164, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): result = False ()", "asctime": "2023-02-09 15:57:14,302" } ], "time_consumption": 7.295608520507812e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954634.3028402, "msecs": 302.8402328491211, "relativeCreated": 20199.082612991333, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:14,302", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954634.3026924, "msecs": 302.6924133300781, "relativeCreated": 20198.93479347229, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): False ()", "asctime": "2023-02-09 15:57:14,302" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_5) state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954634.3027687, "msecs": 302.7687072753906, "relativeCreated": 20199.011087417603, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): result = False ()", "asctime": "2023-02-09 15:57:14,302" } ], "time_consumption": 7.152557373046875e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954634.3031054, "msecs": 303.10535430908203, "relativeCreated": 20199.347734451294, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:14,303", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954634.3029604, "msecs": 302.9603958129883, "relativeCreated": 20199.2027759552, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): False ()", "asctime": "2023-02-09 15:57:14,302" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/ffe/livingroom/floorlamp_6) state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954634.303035, "msecs": 303.03502082824707, "relativeCreated": 20199.27740097046, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): result = False ()", "asctime": "2023-02-09 15:57:14,303" } ], "time_consumption": 7.033348083496094e-05 } ], "time_consumption": 0.9093437194824219, "time_start": "2023-02-09 15:57:13,393", "time_finished": "2023-02-09 15:57:14,303" }, "Brightness test for device and virtual device: zigbee/ffe/sleep/bed_light_di": { "name": "__tLogger__", "msg": "Brightness test for device and virtual device: zigbee/ffe/sleep/bed_light_di", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_brightness", "created": 1675954634.3035438, "msecs": 303.5438060760498, "relativeCreated": 20199.78618621826, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness test for device and virtual device: zigbee/ffe/sleep/bed_light_di", "asctime": "2023-02-09 15:57:14,303", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 57, "funcName": "__test_brightness__", "created": 1675954634.604622, "msecs": 604.6218872070312, "relativeCreated": 20500.864267349243, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:14,604", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954634.3039355, "msecs": 303.9355278015137, "relativeCreated": 20200.177907943726, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:14,303" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.3048785, "msecs": 304.87847328186035, "relativeCreated": 20201.120853424072, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:14,304" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.3090632, "msecs": 309.063196182251, "relativeCreated": 20205.305576324463, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true'", "asctime": "2023-02-09 15:57:14,309" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.309694, "msecs": 309.6940517425537, "relativeCreated": 20205.936431884766, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:14,309" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.3102233, "msecs": 310.2233409881592, "relativeCreated": 20206.46572113037, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:14,310" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.3107622, "msecs": 310.7621669769287, "relativeCreated": 20207.00454711914, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:14,310" } ], "time_consumption": 0.29385972023010254 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954634.6052938, "msecs": 605.2937507629395, "relativeCreated": 20501.53613090515, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:14,605", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954634.6050196, "msecs": 605.0195693969727, "relativeCreated": 20501.261949539185, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:14,605" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954634.6051872, "msecs": 605.187177658081, "relativeCreated": 20501.429557800293, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:14,605" } ], "time_consumption": 0.00010657310485839844 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954634.9075553, "msecs": 907.555341720581, "relativeCreated": 20803.797721862793, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:14,907", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954634.6056497, "msecs": 605.6497097015381, "relativeCreated": 20501.89208984375, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:14,605" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "b'{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.6067483, "msecs": 606.7483425140381, "relativeCreated": 20502.99072265625, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:14,606" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.6091738, "msecs": 609.1737747192383, "relativeCreated": 20505.41615486145, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:14,609" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.6098537, "msecs": 609.8537445068359, "relativeCreated": 20506.096124649048, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:14,609" } ], "time_consumption": 0.2977015972137451 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954634.908273, "msecs": 908.2729816436768, "relativeCreated": 20804.51536178589, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:14,908", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954634.9079776, "msecs": 907.9775810241699, "relativeCreated": 20804.219961166382, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:14,907" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954634.9081635, "msecs": 908.1635475158691, "relativeCreated": 20804.40592765808, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:14,908" } ], "time_consumption": 0.00010943412780761719 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954634.9086342, "msecs": 908.6341857910156, "relativeCreated": 20804.876565933228, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:14,908", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954634.9084506, "msecs": 908.4506034851074, "relativeCreated": 20804.69298362732, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:14,908" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954634.9085476, "msecs": 908.5476398468018, "relativeCreated": 20804.790019989014, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:14,908" } ], "time_consumption": 8.654594421386719e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954635.2108605, "msecs": 210.8604907989502, "relativeCreated": 21107.102870941162, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:15,210", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954634.908919, "msecs": 908.919095993042, "relativeCreated": 20805.161476135254, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/bed_light_di/brightness and payload 50", "asctime": "2023-02-09 15:57:14,908" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.9100387, "msecs": 910.0387096405029, "relativeCreated": 20806.281089782715, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50'", "asctime": "2023-02-09 15:57:14,910" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.9118552, "msecs": 911.8552207946777, "relativeCreated": 20808.09760093689, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:14,911" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954634.9123769, "msecs": 912.376880645752, "relativeCreated": 20808.619260787964, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:14,912" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.9133303, "msecs": 913.3303165435791, "relativeCreated": 20809.57269668579, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:14,913" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.9573495, "msecs": 957.3495388031006, "relativeCreated": 20853.591918945312, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:14,957" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954634.9580724, "msecs": 958.0724239349365, "relativeCreated": 20854.31480407715, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:14,958" } ], "time_consumption": 0.25278806686401367 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954635.211512, "msecs": 211.51208877563477, "relativeCreated": 21107.754468917847, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:15,211", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954635.2112696, "msecs": 211.26961708068848, "relativeCreated": 21107.5119972229, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:15,211" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954635.2114062, "msecs": 211.40623092651367, "relativeCreated": 21107.648611068726, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:15,211" } ], "time_consumption": 0.00010585784912109375 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954635.2118604, "msecs": 211.86041831970215, "relativeCreated": 21108.102798461914, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:15,211", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954635.2116792, "msecs": 211.67922019958496, "relativeCreated": 21107.921600341797, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:15,211" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954635.2117758, "msecs": 211.7757797241211, "relativeCreated": 21108.018159866333, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:15,211" } ], "time_consumption": 8.463859558105469e-05 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954635.5141387, "msecs": 514.1386985778809, "relativeCreated": 21410.381078720093, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:15,514", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954635.2122238, "msecs": 212.22376823425293, "relativeCreated": 21108.466148376465, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:15,212" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "b'{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954635.2133527, "msecs": 213.35268020629883, "relativeCreated": 21109.59506034851, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:15,213" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954635.215724, "msecs": 215.72399139404297, "relativeCreated": 21111.966371536255, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:15,215" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954635.2164147, "msecs": 216.4146900177002, "relativeCreated": 21112.657070159912, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:15,216" } ], "time_consumption": 0.29772400856018066 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954635.5147433, "msecs": 514.7433280944824, "relativeCreated": 21410.985708236694, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:15,514", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954635.5145316, "msecs": 514.5316123962402, "relativeCreated": 21410.773992538452, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:15,514" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954635.5146513, "msecs": 514.6512985229492, "relativeCreated": 21410.89367866516, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:15,514" } ], "time_consumption": 9.202957153320312e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954635.5150666, "msecs": 515.0666236877441, "relativeCreated": 21411.309003829956, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:15,515", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954635.5148923, "msecs": 514.8923397064209, "relativeCreated": 21411.134719848633, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:15,514" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954635.51499, "msecs": 514.9900913238525, "relativeCreated": 21411.232471466064, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:15,514" } ], "time_consumption": 7.653236389160156e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954635.81707, "msecs": 817.0700073242188, "relativeCreated": 21713.31238746643, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:15,817", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954635.515316, "msecs": 515.3160095214844, "relativeCreated": 21411.558389663696, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/bed_light_di/brightness and payload 50", "asctime": "2023-02-09 15:57:15,515" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954635.5162816, "msecs": 516.2816047668457, "relativeCreated": 21412.523984909058, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50'", "asctime": "2023-02-09 15:57:15,516" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954635.5177934, "msecs": 517.7934169769287, "relativeCreated": 21414.03579711914, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:15,517" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954635.518232, "msecs": 518.2321071624756, "relativeCreated": 21414.474487304688, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:15,518" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954635.5190752, "msecs": 519.0751552581787, "relativeCreated": 21415.31753540039, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:15,519" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954635.5650175, "msecs": 565.0174617767334, "relativeCreated": 21461.259841918945, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:15,565" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954635.5657089, "msecs": 565.7088756561279, "relativeCreated": 21461.95125579834, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:15,565" } ], "time_consumption": 0.2513611316680908 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954635.8176432, "msecs": 817.6431655883789, "relativeCreated": 21713.88554573059, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:15,817", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954635.8174336, "msecs": 817.4335956573486, "relativeCreated": 21713.67597579956, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:15,817" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954635.8175507, "msecs": 817.5506591796875, "relativeCreated": 21713.7930393219, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:15,817" } ], "time_consumption": 9.250640869140625e-05 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "__test_brightness__", "created": 1675954636.1198337, "msecs": 119.83370780944824, "relativeCreated": 22016.07608795166, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:16,119", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954635.8179562, "msecs": 817.9562091827393, "relativeCreated": 21714.19858932495, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:15,817" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954635.8189268, "msecs": 818.9268112182617, "relativeCreated": 21715.169191360474, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:15,818" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954635.8224404, "msecs": 822.4403858184814, "relativeCreated": 21718.682765960693, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'", "asctime": "2023-02-09 15:57:15,822" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954635.823032, "msecs": 823.0319023132324, "relativeCreated": 21719.274282455444, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:15,823" } ], "time_consumption": 0.2968018054962158 } ], "time_consumption": 1.8162899017333984, "time_start": "2023-02-09 15:57:14,303", "time_finished": "2023-02-09 15:57:16,119" }, "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_di": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_di", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954636.120506, "msecs": 120.50604820251465, "relativeCreated": 22016.748428344727, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_di", "asctime": "2023-02-09 15:57:16,120", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954636.1209712, "msecs": 120.9712028503418, "relativeCreated": 22017.213582992554, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:16,120", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954636.1207626, "msecs": 120.76258659362793, "relativeCreated": 22017.00496673584, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:16,120" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954636.1208777, "msecs": 120.87774276733398, "relativeCreated": 22017.120122909546, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:16,120" } ], "time_consumption": 9.34600830078125e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954636.4231567, "msecs": 423.15673828125, "relativeCreated": 22319.399118423462, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:16,423", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954636.121308, "msecs": 121.3080883026123, "relativeCreated": 22017.550468444824, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:16,121" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954636.1222978, "msecs": 122.29776382446289, "relativeCreated": 22018.540143966675, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:16,122" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954636.169887, "msecs": 169.88706588745117, "relativeCreated": 22066.129446029663, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true'", "asctime": "2023-02-09 15:57:16,169" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954636.1705685, "msecs": 170.56846618652344, "relativeCreated": 22066.810846328735, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:16,170" } ], "time_consumption": 0.25258827209472656 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954636.4237263, "msecs": 423.72632026672363, "relativeCreated": 22319.968700408936, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:16,423", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954636.4235194, "msecs": 423.5193729400635, "relativeCreated": 22319.761753082275, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:16,423" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954636.423635, "msecs": 423.63500595092773, "relativeCreated": 22319.87738609314, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:16,423" } ], "time_consumption": 9.131431579589844e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954636.4240663, "msecs": 424.06630516052246, "relativeCreated": 22320.308685302734, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:16,424", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954636.4238741, "msecs": 423.8741397857666, "relativeCreated": 22320.11651992798, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:16,423" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954636.423961, "msecs": 423.96092414855957, "relativeCreated": 22320.20330429077, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:16,423" } ], "time_consumption": 0.00010538101196289062 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954636.7253714, "msecs": 725.3713607788086, "relativeCreated": 22621.61374092102, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:16,725", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954636.424316, "msecs": 424.3159294128418, "relativeCreated": 22320.558309555054, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/bed_light_di/state and payload false", "asctime": "2023-02-09 15:57:16,424" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954636.425311, "msecs": 425.3110885620117, "relativeCreated": 22321.553468704224, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'", "asctime": "2023-02-09 15:57:16,425" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954636.4267752, "msecs": 426.7752170562744, "relativeCreated": 22323.017597198486, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:16,426" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954636.4276805, "msecs": 427.68049240112305, "relativeCreated": 22323.922872543335, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:16,427" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954636.428526, "msecs": 428.5259246826172, "relativeCreated": 22324.76830482483, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:16,428" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954636.5140038, "msecs": 514.0037536621094, "relativeCreated": 22410.24613380432, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'", "asctime": "2023-02-09 15:57:16,514" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954636.5147252, "msecs": 514.7252082824707, "relativeCreated": 22410.967588424683, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:16,514" } ], "time_consumption": 0.2106461524963379 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954636.7260215, "msecs": 726.0215282440186, "relativeCreated": 22622.26390838623, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:16,726", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954636.7257829, "msecs": 725.7828712463379, "relativeCreated": 22622.02525138855, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:16,725" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954636.7259161, "msecs": 725.9161472320557, "relativeCreated": 22622.158527374268, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:16,725" } ], "time_consumption": 0.00010538101196289062 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954636.7264104, "msecs": 726.4103889465332, "relativeCreated": 22622.652769088745, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:16,726", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954636.72619, "msecs": 726.1900901794434, "relativeCreated": 22622.432470321655, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:16,726" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954636.7262866, "msecs": 726.2866497039795, "relativeCreated": 22622.52902984619, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:16,726" } ], "time_consumption": 0.00012373924255371094 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954637.028664, "msecs": 28.664112091064453, "relativeCreated": 22924.906492233276, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:17,028", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954636.7267492, "msecs": 726.7491817474365, "relativeCreated": 22622.99156188965, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:16,726" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954636.727824, "msecs": 727.8239727020264, "relativeCreated": 22624.06635284424, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:16,727" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954636.774199, "msecs": 774.1990089416504, "relativeCreated": 22670.441389083862, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true'", "asctime": "2023-02-09 15:57:16,774" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954636.7749696, "msecs": 774.9695777893066, "relativeCreated": 22671.21195793152, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:16,774" } ], "time_consumption": 0.2536945343017578 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954637.029369, "msecs": 29.369115829467773, "relativeCreated": 22925.61149597168, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:17,029", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954637.0290976, "msecs": 29.097557067871094, "relativeCreated": 22925.339937210083, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:17,029" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954637.0292342, "msecs": 29.23417091369629, "relativeCreated": 22925.47655105591, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:17,029" } ], "time_consumption": 0.00013494491577148438 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954637.029816, "msecs": 29.8159122467041, "relativeCreated": 22926.058292388916, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:17,029", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954637.02964, "msecs": 29.63995933532715, "relativeCreated": 22925.88233947754, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:17,029" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954637.029735, "msecs": 29.735088348388672, "relativeCreated": 22925.9774684906, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:17,029" } ], "time_consumption": 8.082389831542969e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954637.331932, "msecs": 331.93206787109375, "relativeCreated": 23228.174448013306, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:17,331", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954637.0300746, "msecs": 30.074596405029297, "relativeCreated": 22926.31697654724, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/bed_light_di/state and payload false", "asctime": "2023-02-09 15:57:17,030" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.031045, "msecs": 31.044960021972656, "relativeCreated": 22927.287340164185, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'", "asctime": "2023-02-09 15:57:17,031" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.032493, "msecs": 32.49311447143555, "relativeCreated": 22928.735494613647, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:17,032" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954637.0329373, "msecs": 32.93728828430176, "relativeCreated": 22929.179668426514, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:17,032" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_di", "b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.0338275, "msecs": 33.82754325866699, "relativeCreated": 22930.06992340088, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:17,033" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.1217415, "msecs": 121.74153327941895, "relativeCreated": 23017.98391342163, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'", "asctime": "2023-02-09 15:57:17,121" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_di/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.122623, "msecs": 122.62296676635742, "relativeCreated": 23018.86534690857, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:17,122" } ], "time_consumption": 0.20930910110473633 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954637.3325148, "msecs": 332.51476287841797, "relativeCreated": 23228.75714302063, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:17,332", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954637.332301, "msecs": 332.30090141296387, "relativeCreated": 23228.543281555176, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:17,332" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954637.3324213, "msecs": 332.42130279541016, "relativeCreated": 23228.663682937622, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:17,332" } ], "time_consumption": 9.34600830078125e-05 } ], "time_consumption": 1.2120087146759033, "time_start": "2023-02-09 15:57:16,120", "time_finished": "2023-02-09 15:57:17,332" }, "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_ma": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_ma", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954637.3330872, "msecs": 333.0872058868408, "relativeCreated": 23229.329586029053, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_ma", "asctime": "2023-02-09 15:57:17,333", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954637.3335373, "msecs": 333.53734016418457, "relativeCreated": 23229.779720306396, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:17,333", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954637.3333461, "msecs": 333.3461284637451, "relativeCreated": 23229.588508605957, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:17,333" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954637.3334506, "msecs": 333.4505558013916, "relativeCreated": 23229.692935943604, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:17,333" } ], "time_consumption": 8.678436279296875e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954637.6356025, "msecs": 635.6024742126465, "relativeCreated": 23531.84485435486, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:17,635", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_ma/state", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954637.3337474, "msecs": 333.74738693237305, "relativeCreated": 23229.989767074585, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma/state and payload on", "asctime": "2023-02-09 15:57:17,333" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_ma/state", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.3346932, "msecs": 334.69319343566895, "relativeCreated": 23230.93557357788, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/state and payload b'on'", "asctime": "2023-02-09 15:57:17,334" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.336575, "msecs": 336.5750312805176, "relativeCreated": 23232.81741142273, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'true'", "asctime": "2023-02-09 15:57:17,336" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.337263, "msecs": 337.2631072998047, "relativeCreated": 23233.505487442017, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_ma/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:17,337" } ], "time_consumption": 0.2983393669128418 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954637.63625, "msecs": 636.2500190734863, "relativeCreated": 23532.4923992157, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:17,636", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954637.636008, "msecs": 636.0080242156982, "relativeCreated": 23532.25040435791, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:17,636" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954637.636144, "msecs": 636.1439228057861, "relativeCreated": 23532.386302947998, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:17,636" } ], "time_consumption": 0.00010609626770019531 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954637.6366487, "msecs": 636.6486549377441, "relativeCreated": 23532.891035079956, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:17,636", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954637.6364176, "msecs": 636.4176273345947, "relativeCreated": 23532.660007476807, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:17,636" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954637.6365585, "msecs": 636.5585327148438, "relativeCreated": 23532.800912857056, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:17,636" } ], "time_consumption": 9.012222290039062e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954637.9378967, "msecs": 937.896728515625, "relativeCreated": 23834.139108657837, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:17,937", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954637.6369228, "msecs": 636.9228363037109, "relativeCreated": 23533.165216445923, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/bed_light_ma/state and payload false", "asctime": "2023-02-09 15:57:17,636" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.6380477, "msecs": 638.0476951599121, "relativeCreated": 23534.290075302124, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false'", "asctime": "2023-02-09 15:57:17,638" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_ma/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.6397922, "msecs": 639.7922039031982, "relativeCreated": 23536.03458404541, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:17,639" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_ma/state", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954637.6401894, "msecs": 640.1894092559814, "relativeCreated": 23536.431789398193, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma/state and payload off", "asctime": "2023-02-09 15:57:17,640" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_ma/state", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.6411605, "msecs": 641.1604881286621, "relativeCreated": 23537.402868270874, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/state and payload b'off'", "asctime": "2023-02-09 15:57:17,641" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.6851501, "msecs": 685.150146484375, "relativeCreated": 23581.392526626587, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false'", "asctime": "2023-02-09 15:57:17,685" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.6858747, "msecs": 685.8747005462646, "relativeCreated": 23582.117080688477, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_ma/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:17,685" } ], "time_consumption": 0.25202202796936035 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954637.938582, "msecs": 938.5819435119629, "relativeCreated": 23834.824323654175, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:17,938", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954637.9383075, "msecs": 938.307523727417, "relativeCreated": 23834.54990386963, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:17,938" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954637.9384432, "msecs": 938.4431838989258, "relativeCreated": 23834.685564041138, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:17,938" } ], "time_consumption": 0.00013875961303710938 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954637.9389434, "msecs": 938.9433860778809, "relativeCreated": 23835.185766220093, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:17,938", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954637.9387555, "msecs": 938.7555122375488, "relativeCreated": 23834.99789237976, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:17,938" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954637.9388552, "msecs": 938.8551712036133, "relativeCreated": 23835.097551345825, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:17,938" } ], "time_consumption": 8.821487426757812e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954638.240072, "msecs": 240.07201194763184, "relativeCreated": 24136.314392089844, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:18,240", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_ma/state", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954637.939166, "msecs": 939.1660690307617, "relativeCreated": 23835.408449172974, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma/state and payload on", "asctime": "2023-02-09 15:57:17,939" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_ma/state", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.9402587, "msecs": 940.2587413787842, "relativeCreated": 23836.501121520996, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/state and payload b'on'", "asctime": "2023-02-09 15:57:17,940" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.942486, "msecs": 942.486047744751, "relativeCreated": 23838.728427886963, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'true'", "asctime": "2023-02-09 15:57:17,942" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954637.943155, "msecs": 943.15505027771, "relativeCreated": 23839.397430419922, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_ma/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:17,943" } ], "time_consumption": 0.2969169616699219 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954638.240694, "msecs": 240.6940460205078, "relativeCreated": 24136.93642616272, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:18,240", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954638.2404544, "msecs": 240.45443534851074, "relativeCreated": 24136.696815490723, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:18,240" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954638.2405891, "msecs": 240.58914184570312, "relativeCreated": 24136.831521987915, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:18,240" } ], "time_consumption": 0.0001049041748046875 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954638.2411332, "msecs": 241.1332130432129, "relativeCreated": 24137.375593185425, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:18,241", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954638.240905, "msecs": 240.9050464630127, "relativeCreated": 24137.147426605225, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:18,240" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954638.2410064, "msecs": 241.00637435913086, "relativeCreated": 24137.248754501343, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:18,241" } ], "time_consumption": 0.00012683868408203125 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954638.5422943, "msecs": 542.2942638397217, "relativeCreated": 24438.536643981934, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:18,542", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954638.2414129, "msecs": 241.41287803649902, "relativeCreated": 24137.65525817871, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/bed_light_ma/state and payload false", "asctime": "2023-02-09 15:57:18,241" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.2424257, "msecs": 242.42568016052246, "relativeCreated": 24138.668060302734, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false'", "asctime": "2023-02-09 15:57:18,242" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_ma/set", "b'{\"state\": \"off\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.2438886, "msecs": 243.88861656188965, "relativeCreated": 24140.1309967041, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/set and payload b'{\"state\": \"off\"}'", "asctime": "2023-02-09 15:57:18,243" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_ma/state", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954638.2442434, "msecs": 244.24338340759277, "relativeCreated": 24140.485763549805, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma/state and payload off", "asctime": "2023-02-09 15:57:18,244" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/bed_light_ma/state", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.2450893, "msecs": 245.08929252624512, "relativeCreated": 24141.331672668457, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/state and payload b'off'", "asctime": "2023-02-09 15:57:18,245" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.287914, "msecs": 287.9140377044678, "relativeCreated": 24184.15641784668, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false'", "asctime": "2023-02-09 15:57:18,287" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/bed_light_ma/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.2885756, "msecs": 288.5756492614746, "relativeCreated": 24184.818029403687, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/bed_light_ma/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:18,288" } ], "time_consumption": 0.25371861457824707 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954638.5429757, "msecs": 542.975664138794, "relativeCreated": 24439.218044281006, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:18,542", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954638.5426996, "msecs": 542.6995754241943, "relativeCreated": 24438.941955566406, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:18,542" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954638.5428677, "msecs": 542.8676605224609, "relativeCreated": 24439.110040664673, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:18,542" } ], "time_consumption": 0.00010800361633300781 } ], "time_consumption": 1.2098884582519531, "time_start": "2023-02-09 15:57:17,333", "time_finished": "2023-02-09 15:57:18,542" }, "Away mode test: zigbee/ffe/sleep/heating_valve": { "name": "__tLogger__", "msg": "Away mode test: zigbee/ffe/sleep/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 101, "funcName": "test_away_mode", "created": 1675954638.5434868, "msecs": 543.4868335723877, "relativeCreated": 24439.7292137146, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode test: zigbee/ffe/sleep/heating_valve", "asctime": "2023-02-09 15:57:18,543", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 106, "funcName": "__test_away_mode__", "created": 1675954638.8455517, "msecs": 845.5517292022705, "relativeCreated": 24741.794109344482, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:57:18,845", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954638.543824, "msecs": 543.8239574432373, "relativeCreated": 24440.06633758545, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:18,543" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.5449243, "msecs": 544.924259185791, "relativeCreated": 24441.166639328003, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:18,544" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/user_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.564056, "msecs": 564.0559196472168, "relativeCreated": 24460.29829978943, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:18,564" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.564892, "msecs": 564.892053604126, "relativeCreated": 24461.134433746338, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:18,564" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 21.5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.565582, "msecs": 565.5820369720459, "relativeCreated": 24461.824417114258, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'", "asctime": "2023-02-09 15:57:18,565" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954638.5660093, "msecs": 566.0092830657959, "relativeCreated": 24462.251663208008, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:18,566" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.5666232, "msecs": 566.6232109069824, "relativeCreated": 24462.865591049194, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:18,566" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.5675263, "msecs": 567.5263404846191, "relativeCreated": 24463.76872062683, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:18,567" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.5682309, "msecs": 568.2308673858643, "relativeCreated": 24464.473247528076, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:18,568" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.6126537, "msecs": 612.6537322998047, "relativeCreated": 24508.896112442017, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:18,612" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.654172, "msecs": 654.1719436645508, "relativeCreated": 24550.414323806763, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:18,654" } ], "time_consumption": 0.19137978553771973 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954638.846125, "msecs": 846.1248874664307, "relativeCreated": 24742.367267608643, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:18,846", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954638.8459086, "msecs": 845.9086418151855, "relativeCreated": 24742.151021957397, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): False ()", "asctime": "2023-02-09 15:57:18,845" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954638.8460314, "msecs": 846.0314273834229, "relativeCreated": 24742.273807525635, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = False ()", "asctime": "2023-02-09 15:57:18,846" } ], "time_consumption": 9.34600830078125e-05 }, { "name": "__tLogger__", "msg": "Activating away mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 113, "funcName": "__test_away_mode__", "created": 1675954639.1483274, "msecs": 148.32735061645508, "relativeCreated": 25044.569730758667, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating away mode", "asctime": "2023-02-09 15:57:19,148", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/away_mode", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954638.8464553, "msecs": 846.4553356170654, "relativeCreated": 24742.697715759277, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/away_mode and payload true", "asctime": "2023-02-09 15:57:18,846" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/away_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.8474634, "msecs": 847.4633693695068, "relativeCreated": 24743.70574951172, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'true'", "asctime": "2023-02-09 15:57:18,847" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 16.5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.8638935, "msecs": 863.8935089111328, "relativeCreated": 24760.135889053345, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'", "asctime": "2023-02-09 15:57:18,863" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954638.864381, "msecs": 864.3810749053955, "relativeCreated": 24760.623455047607, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:18,864" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'16.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.8649037, "msecs": 864.9036884307861, "relativeCreated": 24761.146068572998, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'", "asctime": "2023-02-09 15:57:18,864" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.865659, "msecs": 865.6589984893799, "relativeCreated": 24761.90137863159, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:18,865" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/away_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.866218, "msecs": 866.218090057373, "relativeCreated": 24762.460470199585, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'true'", "asctime": "2023-02-09 15:57:18,866" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.8667285, "msecs": 866.7285442352295, "relativeCreated": 24762.97092437744, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:18,866" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.8672268, "msecs": 867.2268390655518, "relativeCreated": 24763.469219207764, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:18,867" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.9135103, "msecs": 913.5103225708008, "relativeCreated": 24809.752702713013, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:18,913" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954638.9495714, "msecs": 949.5713710784912, "relativeCreated": 24845.813751220703, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:18,949" } ], "time_consumption": 0.19875597953796387 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954639.1488945, "msecs": 148.8945484161377, "relativeCreated": 25045.13692855835, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:19,148", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954639.14868, "msecs": 148.6799716949463, "relativeCreated": 25044.92235183716, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): True ()", "asctime": "2023-02-09 15:57:19,148" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954639.1487997, "msecs": 148.79965782165527, "relativeCreated": 25045.042037963867, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = True ()", "asctime": "2023-02-09 15:57:19,148" } ], "time_consumption": 9.489059448242188e-05 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "16.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954639.149276, "msecs": 149.2760181427002, "relativeCreated": 25045.518398284912, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 16.5 and Type is ).", "asctime": "2023-02-09 15:57:19,149", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "16.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954639.1490946, "msecs": 149.0945816040039, "relativeCreated": 25045.336961746216, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 16.5 ()", "asctime": "2023-02-09 15:57:19,149" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "16.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954639.1491919, "msecs": 149.19185638427734, "relativeCreated": 25045.43423652649, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 16.5 ()", "asctime": "2023-02-09 15:57:19,149" } ], "time_consumption": 8.416175842285156e-05 }, { "name": "__tLogger__", "msg": "Deactivating away mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 119, "funcName": "__test_away_mode__", "created": 1675954639.4514613, "msecs": 451.4613151550293, "relativeCreated": 25347.70369529724, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Deactivating away mode", "asctime": "2023-02-09 15:57:19,451", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/away_mode", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954639.1495771, "msecs": 149.57714080810547, "relativeCreated": 25045.819520950317, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/away_mode and payload false", "asctime": "2023-02-09 15:57:19,149" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/away_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.1505537, "msecs": 150.55370330810547, "relativeCreated": 25046.796083450317, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'false'", "asctime": "2023-02-09 15:57:19,150" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 21.5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.160737, "msecs": 160.7370376586914, "relativeCreated": 25056.979417800903, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'", "asctime": "2023-02-09 15:57:19,160" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954639.1612196, "msecs": 161.21959686279297, "relativeCreated": 25057.461977005005, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:19,161" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.1617413, "msecs": 161.7412567138672, "relativeCreated": 25057.98363685608, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:19,161" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.1624067, "msecs": 162.40668296813965, "relativeCreated": 25058.64906311035, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:19,162" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/away_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.1629455, "msecs": 162.94550895690918, "relativeCreated": 25059.18788909912, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'false'", "asctime": "2023-02-09 15:57:19,162" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.1634524, "msecs": 163.4523868560791, "relativeCreated": 25059.69476699829, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:19,163" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.1639888, "msecs": 163.98882865905762, "relativeCreated": 25060.23120880127, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:19,163" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.2093875, "msecs": 209.38754081726074, "relativeCreated": 25105.629920959473, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:19,209" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.2509584, "msecs": 250.95844268798828, "relativeCreated": 25147.2008228302, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:19,250" } ], "time_consumption": 0.20050287246704102 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954639.4521306, "msecs": 452.1305561065674, "relativeCreated": 25348.37293624878, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:19,452", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954639.4518838, "msecs": 451.88379287719727, "relativeCreated": 25348.12617301941, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): False ()", "asctime": "2023-02-09 15:57:19,451" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954639.452023, "msecs": 452.0230293273926, "relativeCreated": 25348.265409469604, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = False ()", "asctime": "2023-02-09 15:57:19,452" } ], "time_consumption": 0.00010752677917480469 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "21.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954639.452508, "msecs": 452.50797271728516, "relativeCreated": 25348.750352859497, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 21.5 and Type is ).", "asctime": "2023-02-09 15:57:19,452", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954639.4523108, "msecs": 452.31080055236816, "relativeCreated": 25348.55318069458, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 21.5 ()", "asctime": "2023-02-09 15:57:19,452" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954639.4524162, "msecs": 452.41618156433105, "relativeCreated": 25348.658561706543, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 21.5 ()", "asctime": "2023-02-09 15:57:19,452" } ], "time_consumption": 9.179115295410156e-05 } ], "time_consumption": 0.9090211391448975, "time_start": "2023-02-09 15:57:18,543", "time_finished": "2023-02-09 15:57:19,452" }, "Boost mode test: zigbee/ffe/sleep/heating_valve": { "name": "__tLogger__", "msg": "Boost mode test: zigbee/ffe/sleep/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 128, "funcName": "test_boost_mode", "created": 1675954639.45296, "msecs": 452.9600143432617, "relativeCreated": 25349.202394485474, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost mode test: zigbee/ffe/sleep/heating_valve", "asctime": "2023-02-09 15:57:19,452", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 133, "funcName": "__test_boost_mode__", "created": 1675954639.7552032, "msecs": 755.2032470703125, "relativeCreated": 25651.445627212524, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:57:19,755", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954639.4532905, "msecs": 453.2904624938965, "relativeCreated": 25349.53284263611, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:19,453" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.4543636, "msecs": 454.3635845184326, "relativeCreated": 25350.605964660645, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:19,454" } ], "time_consumption": 0.3008396625518799 }, { "name": "__tLogger__", "msg": "Boost timer is correct (Content %s and Type is %s).", "args": [ "0", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954639.7558353, "msecs": 755.8352947235107, "relativeCreated": 25652.077674865723, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is correct (Content 0 and Type is ).", "asctime": "2023-02-09 15:57:19,755", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954639.7555907, "msecs": 755.5906772613525, "relativeCreated": 25651.833057403564, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 0 ()", "asctime": "2023-02-09 15:57:19,755" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", "=", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954639.7557278, "msecs": 755.7277679443359, "relativeCreated": 25651.970148086548, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result = 0 ()", "asctime": "2023-02-09 15:57:19,755" } ], "time_consumption": 0.00010752677917480469 }, { "name": "__tLogger__", "msg": "Activating boost mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 140, "funcName": "__test_boost_mode__", "created": 1675954640.0581336, "msecs": 58.133602142333984, "relativeCreated": 25954.375982284546, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating boost mode", "asctime": "2023-02-09 15:57:20,058", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.start_boost", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/start_boost", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954639.7561743, "msecs": 756.1743259429932, "relativeCreated": 25652.416706085205, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/start_boost and payload true", "asctime": "2023-02-09 15:57:19,756" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.start_boost", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/start_boost", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.757298, "msecs": 757.2979927062988, "relativeCreated": 25653.54037284851, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/start_boost and payload b'true'", "asctime": "2023-02-09 15:57:19,757" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.boost_timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/boost_timer", "b'900'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.7709289, "msecs": 770.9288597106934, "relativeCreated": 25667.171239852905, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/boost_timer and payload b'900'", "asctime": "2023-02-09 15:57:19,770" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.7716212, "msecs": 771.6212272644043, "relativeCreated": 25667.863607406616, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:19,771" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 30}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.7722518, "msecs": 772.2518444061279, "relativeCreated": 25668.49422454834, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'", "asctime": "2023-02-09 15:57:19,772" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954639.7726822, "msecs": 772.6821899414062, "relativeCreated": 25668.924570083618, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:19,772" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'30'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.7733068, "msecs": 773.3068466186523, "relativeCreated": 25669.549226760864, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'30'", "asctime": "2023-02-09 15:57:19,773" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.774079, "msecs": 774.0790843963623, "relativeCreated": 25670.321464538574, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:19,774" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.7746816, "msecs": 774.681568145752, "relativeCreated": 25670.923948287964, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:19,774" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.817519, "msecs": 817.518949508667, "relativeCreated": 25713.76132965088, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:19,817" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954639.8590424, "msecs": 859.0424060821533, "relativeCreated": 25755.284786224365, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:19,859" } ], "time_consumption": 0.19909119606018066 }, { "name": "__tLogger__", "msg": "Boost timer is greater expectation (Content %s and Type is %s).", "args": [ "900", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 230, "funcName": "greater_chk", "created": 1675954640.0587828, "msecs": 58.78281593322754, "relativeCreated": 25955.02519607544, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is greater expectation (Content 900 and Type is ).", "asctime": "2023-02-09 15:57:20,058", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "900", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954640.0585263, "msecs": 58.52627754211426, "relativeCreated": 25954.768657684326, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 900 ()", "asctime": "2023-02-09 15:57:20,058" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", ">", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954640.0586705, "msecs": 58.6705207824707, "relativeCreated": 25954.912900924683, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result > 0 ()", "asctime": "2023-02-09 15:57:20,058" } ], "time_consumption": 0.00011229515075683594 }, { "name": "__tLogger__", "msg": "Setting postconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 145, "funcName": "__test_boost_mode__", "created": 1675954640.3600583, "msecs": 360.0583076477051, "relativeCreated": 26256.300687789917, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting postconditions (Default setpoint)", "asctime": "2023-02-09 15:57:20,360", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954640.0590653, "msecs": 59.06534194946289, "relativeCreated": 25955.307722091675, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:20,059" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.0601754, "msecs": 60.175418853759766, "relativeCreated": 25956.41779899597, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:20,060" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.boost_timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/boost_timer", "b'0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.0737321, "msecs": 73.73213768005371, "relativeCreated": 25969.974517822266, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/boost_timer and payload b'0'", "asctime": "2023-02-09 15:57:20,073" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.0744262, "msecs": 74.42617416381836, "relativeCreated": 25970.66855430603, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:20,074" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 21.5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.0749888, "msecs": 74.98884201049805, "relativeCreated": 25971.23122215271, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'", "asctime": "2023-02-09 15:57:20,074" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954640.0753818, "msecs": 75.38175582885742, "relativeCreated": 25971.62413597107, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:20,075" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.075897, "msecs": 75.8969783782959, "relativeCreated": 25972.139358520508, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:20,075" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.0765722, "msecs": 76.57217979431152, "relativeCreated": 25972.814559936523, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:20,076" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.0771317, "msecs": 77.13174819946289, "relativeCreated": 25973.374128341675, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:20,077" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.1249878, "msecs": 124.98784065246582, "relativeCreated": 26021.230220794678, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:20,124" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.1658635, "msecs": 165.8635139465332, "relativeCreated": 26062.105894088745, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:20,165" } ], "time_consumption": 0.19419479370117188 }, { "name": "__tLogger__", "msg": "Boost timer is correct (Content %s and Type is %s).", "args": [ "0", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954640.3606281, "msecs": 360.6281280517578, "relativeCreated": 26256.87050819397, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is correct (Content 0 and Type is ).", "asctime": "2023-02-09 15:57:20,360", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954640.3604121, "msecs": 360.4121208190918, "relativeCreated": 26256.654500961304, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 0 ()", "asctime": "2023-02-09 15:57:20,360" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", "=", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954640.3605325, "msecs": 360.5325222015381, "relativeCreated": 26256.77490234375, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result = 0 ()", "asctime": "2023-02-09 15:57:20,360" } ], "time_consumption": 9.560585021972656e-05 } ], "time_consumption": 0.9076681137084961, "time_start": "2023-02-09 15:57:19,452", "time_finished": "2023-02-09 15:57:20,360" }, "Default temperature test for device and virtual device: zigbee/ffe/sleep/heating_valve": { "name": "__tLogger__", "msg": "Default temperature test for device and virtual device: zigbee/ffe/sleep/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_default_temperature", "created": 1675954640.3610911, "msecs": 361.09113693237305, "relativeCreated": 26257.333517074585, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Default temperature test for device and virtual device: zigbee/ffe/sleep/heating_valve", "asctime": "2023-02-09 15:57:20,361", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Valve setpoint to %.1f)", "args": [ 16.5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 60, "funcName": "__test_default_temperature__", "created": 1675954640.663343, "msecs": 663.3429527282715, "relativeCreated": 26559.585332870483, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Valve setpoint to 16.5)", "asctime": "2023-02-09 15:57:20,663", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954640.361464, "msecs": 361.4640235900879, "relativeCreated": 26257.7064037323, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:20,361" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.362438, "msecs": 362.4379634857178, "relativeCreated": 26258.68034362793, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:20,362" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 16.5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.3806758, "msecs": 380.6757926940918, "relativeCreated": 26276.918172836304, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'", "asctime": "2023-02-09 15:57:20,380" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'16.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.3813791, "msecs": 381.3791275024414, "relativeCreated": 26277.621507644653, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'", "asctime": "2023-02-09 15:57:20,381" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.3825123, "msecs": 382.51233100891113, "relativeCreated": 26278.754711151123, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:20,382" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/user_temperature_setpoint", "b'16.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.3830853, "msecs": 383.0852508544922, "relativeCreated": 26279.327630996704, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5'", "asctime": "2023-02-09 15:57:20,383" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.383671, "msecs": 383.6710453033447, "relativeCreated": 26279.913425445557, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:20,383" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.3841884, "msecs": 384.1884136199951, "relativeCreated": 26280.430793762207, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:20,384" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.384767, "msecs": 384.7670555114746, "relativeCreated": 26281.009435653687, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:20,384" } ], "time_consumption": 0.2785758972167969 }, { "name": "__tLogger__", "msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954640.6640723, "msecs": 664.0722751617432, "relativeCreated": 26560.314655303955, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:20,664", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve temperature setpoint (is not default temperature)", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954640.6638212, "msecs": 663.8212203979492, "relativeCreated": 26560.06360054016, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve temperature setpoint (is not default temperature)): True ()", "asctime": "2023-02-09 15:57:20,663" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve temperature setpoint (is not default temperature)", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954640.663961, "msecs": 663.9609336853027, "relativeCreated": 26560.203313827515, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True ()", "asctime": "2023-02-09 15:57:20,663" } ], "time_consumption": 0.00011134147644042969 }, { "name": "__tLogger__", "msg": "Triggering set to default temperature (%.1f)", "args": [ 21.5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 66, "funcName": "__test_default_temperature__", "created": 1675954640.9663053, "msecs": 966.3052558898926, "relativeCreated": 26862.547636032104, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Triggering set to default temperature (21.5)", "asctime": "2023-02-09 15:57:20,966", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954640.6643538, "msecs": 664.3538475036621, "relativeCreated": 26560.596227645874, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:20,664" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.665504, "msecs": 665.503978729248, "relativeCreated": 26561.74635887146, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:20,665" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/user_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.6854615, "msecs": 685.4615211486816, "relativeCreated": 26581.703901290894, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:20,685" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.6862326, "msecs": 686.2325668334961, "relativeCreated": 26582.474946975708, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:20,686" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 21.5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.68687, "msecs": 686.8700981140137, "relativeCreated": 26583.112478256226, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'", "asctime": "2023-02-09 15:57:20,686" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954640.68732, "msecs": 687.3199939727783, "relativeCreated": 26583.56237411499, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:20,687" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.687917, "msecs": 687.9169940948486, "relativeCreated": 26584.15937423706, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:20,687" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.6886723, "msecs": 688.6723041534424, "relativeCreated": 26584.914684295654, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:20,688" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.6892943, "msecs": 689.2943382263184, "relativeCreated": 26585.53671836853, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:20,689" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.7376733, "msecs": 737.673282623291, "relativeCreated": 26633.915662765503, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:20,737" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.7830434, "msecs": 783.043384552002, "relativeCreated": 26679.285764694214, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:20,783" } ], "time_consumption": 0.18326187133789062 }, { "name": "__tLogger__", "msg": "Valve temperature setpoint is correct (Content %s and Type is %s).", "args": [ "21.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954640.9669888, "msecs": 966.9888019561768, "relativeCreated": 26863.23118209839, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve temperature setpoint is correct (Content 21.5 and Type is ).", "asctime": "2023-02-09 15:57:20,966", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve temperature setpoint", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954640.966733, "msecs": 966.7329788208008, "relativeCreated": 26862.975358963013, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve temperature setpoint): 21.5 ()", "asctime": "2023-02-09 15:57:20,966" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve temperature setpoint", "=", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954640.9668765, "msecs": 966.8765068054199, "relativeCreated": 26863.118886947632, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve temperature setpoint): result = 21.5 ()", "asctime": "2023-02-09 15:57:20,966" } ], "time_consumption": 0.00011229515075683594 } ], "time_consumption": 0.6058976650238037, "time_start": "2023-02-09 15:57:20,361", "time_finished": "2023-02-09 15:57:20,966" }, "Summer mode test: zigbee/ffe/sleep/heating_valve": { "name": "__tLogger__", "msg": "Summer mode test: zigbee/ffe/sleep/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "test_summer_mode", "created": 1675954640.967436, "msecs": 967.4360752105713, "relativeCreated": 26863.678455352783, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode test: zigbee/ffe/sleep/heating_valve", "asctime": "2023-02-09 15:57:20,967", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 79, "funcName": "__test_summer_mode__", "created": 1675954641.2696855, "msecs": 269.6855068206787, "relativeCreated": 27165.92788696289, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:57:21,269", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954640.967744, "msecs": 967.7441120147705, "relativeCreated": 26863.986492156982, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:20,967" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954640.968846, "msecs": 968.8460826873779, "relativeCreated": 26865.08846282959, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:20,968" } ], "time_consumption": 0.3008394241333008 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954641.2703452, "msecs": 270.34521102905273, "relativeCreated": 27166.587591171265, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:21,270", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954641.2700655, "msecs": 270.0655460357666, "relativeCreated": 27166.30792617798, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): False ()", "asctime": "2023-02-09 15:57:21,270" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954641.2702036, "msecs": 270.2035903930664, "relativeCreated": 27166.44597053528, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = False ()", "asctime": "2023-02-09 15:57:21,270" } ], "time_consumption": 0.00014162063598632812 }, { "name": "__tLogger__", "msg": "Activating summer mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 86, "funcName": "__test_summer_mode__", "created": 1675954641.572622, "msecs": 572.6220607757568, "relativeCreated": 27468.86444091797, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating summer mode", "asctime": "2023-02-09 15:57:21,572", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/summer_mode", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954641.270683, "msecs": 270.68305015563965, "relativeCreated": 27166.92543029785, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/summer_mode and payload true", "asctime": "2023-02-09 15:57:21,270" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/summer_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.2717662, "msecs": 271.76618576049805, "relativeCreated": 27168.00856590271, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'true'", "asctime": "2023-02-09 15:57:21,271" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.2896128, "msecs": 289.6127700805664, "relativeCreated": 27185.85515022278, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'", "asctime": "2023-02-09 15:57:21,289" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954641.2901647, "msecs": 290.1647090911865, "relativeCreated": 27186.4070892334, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:21,290" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.2907774, "msecs": 290.77744483947754, "relativeCreated": 27187.01982498169, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'5'", "asctime": "2023-02-09 15:57:21,290" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.2915921, "msecs": 291.5921211242676, "relativeCreated": 27187.83450126648, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:21,291" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/summer_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.2922056, "msecs": 292.2055721282959, "relativeCreated": 27188.447952270508, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'true'", "asctime": "2023-02-09 15:57:21,292" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.2927866, "msecs": 292.7865982055664, "relativeCreated": 27189.02897834778, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:21,292" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.2933943, "msecs": 293.3943271636963, "relativeCreated": 27189.63670730591, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:21,293" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.3376458, "msecs": 337.6457691192627, "relativeCreated": 27233.888149261475, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:21,337" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.3790567, "msecs": 379.0566921234131, "relativeCreated": 27275.299072265625, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:21,379" } ], "time_consumption": 0.19356536865234375 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954641.5732968, "msecs": 573.2967853546143, "relativeCreated": 27469.539165496826, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:21,573", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954641.5730162, "msecs": 573.0161666870117, "relativeCreated": 27469.258546829224, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): True ()", "asctime": "2023-02-09 15:57:21,573" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954641.5731862, "msecs": 573.1861591339111, "relativeCreated": 27469.428539276123, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = True ()", "asctime": "2023-02-09 15:57:21,573" } ], "time_consumption": 0.000110626220703125 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954641.5736573, "msecs": 573.6572742462158, "relativeCreated": 27469.899654388428, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:21,573", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954641.5734673, "msecs": 573.4672546386719, "relativeCreated": 27469.709634780884, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 5 ()", "asctime": "2023-02-09 15:57:21,573" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954641.573567, "msecs": 573.5669136047363, "relativeCreated": 27469.80929374695, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 5 ()", "asctime": "2023-02-09 15:57:21,573" } ], "time_consumption": 9.036064147949219e-05 }, { "name": "__tLogger__", "msg": "Deactivating summer mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 92, "funcName": "__test_summer_mode__", "created": 1675954641.8757608, "msecs": 875.7607936859131, "relativeCreated": 27772.003173828125, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Deactivating summer mode", "asctime": "2023-02-09 15:57:21,875", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/summer_mode", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954641.5739436, "msecs": 573.9436149597168, "relativeCreated": 27470.18599510193, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/summer_mode and payload false", "asctime": "2023-02-09 15:57:21,573" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/summer_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.575062, "msecs": 575.0620365142822, "relativeCreated": 27471.304416656494, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'false'", "asctime": "2023-02-09 15:57:21,575" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 21.5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.5870988, "msecs": 587.0988368988037, "relativeCreated": 27483.341217041016, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'", "asctime": "2023-02-09 15:57:21,587" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954641.587674, "msecs": 587.6739025115967, "relativeCreated": 27483.91628265381, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:21,587" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.5882604, "msecs": 588.2604122161865, "relativeCreated": 27484.5027923584, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:21,588" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.5890737, "msecs": 589.073657989502, "relativeCreated": 27485.316038131714, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:21,589" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/summer_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.5897028, "msecs": 589.702844619751, "relativeCreated": 27485.945224761963, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'false'", "asctime": "2023-02-09 15:57:21,589" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.590282, "msecs": 590.2819633483887, "relativeCreated": 27486.5243434906, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:21,590" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.590854, "msecs": 590.8539295196533, "relativeCreated": 27487.096309661865, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:21,590" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.638489, "msecs": 638.4890079498291, "relativeCreated": 27534.73138809204, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:21,638" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.6820307, "msecs": 682.0306777954102, "relativeCreated": 27578.273057937622, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:21,682" } ], "time_consumption": 0.19373011589050293 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954641.87643, "msecs": 876.4300346374512, "relativeCreated": 27772.672414779663, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:21,876", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954641.876147, "msecs": 876.1470317840576, "relativeCreated": 27772.38941192627, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): False ()", "asctime": "2023-02-09 15:57:21,876" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954641.8762846, "msecs": 876.2845993041992, "relativeCreated": 27772.52697944641, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = False ()", "asctime": "2023-02-09 15:57:21,876" } ], "time_consumption": 0.00014543533325195312 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "21.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954641.8768394, "msecs": 876.8393993377686, "relativeCreated": 27773.08177947998, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 21.5 and Type is ).", "asctime": "2023-02-09 15:57:21,876", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954641.8766148, "msecs": 876.6148090362549, "relativeCreated": 27772.857189178467, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 21.5 ()", "asctime": "2023-02-09 15:57:21,876" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954641.876734, "msecs": 876.7340183258057, "relativeCreated": 27772.976398468018, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 21.5 ()", "asctime": "2023-02-09 15:57:21,876" } ], "time_consumption": 0.00010538101196289062 } ], "time_consumption": 0.9094033241271973, "time_start": "2023-02-09 15:57:20,967", "time_finished": "2023-02-09 15:57:21,876" }, "User temperature setpoint test for device and virtual device: zigbee/ffe/sleep/heating_valve": { "name": "__tLogger__", "msg": "User temperature setpoint test for device and virtual device: zigbee/ffe/sleep/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "test_user_temperature_setpoint", "created": 1675954641.877316, "msecs": 877.3159980773926, "relativeCreated": 27773.558378219604, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "User temperature setpoint test for device and virtual device: zigbee/ffe/sleep/heating_valve", "asctime": "2023-02-09 15:57:21,877", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Changing valve temperature setpoint to '%.1f'", "args": [ 16.5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 33, "funcName": "__test_user_temperature_setpoint__", "created": 1675954642.179636, "msecs": 179.63600158691406, "relativeCreated": 28075.878381729126, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing valve temperature setpoint to '16.5'", "asctime": "2023-02-09 15:57:22,179", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954641.8776917, "msecs": 877.6917457580566, "relativeCreated": 27773.93412590027, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:21,877" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.8788078, "msecs": 878.807783126831, "relativeCreated": 27775.050163269043, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:21,878" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 16.5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.9015398, "msecs": 901.5398025512695, "relativeCreated": 27797.78218269348, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'", "asctime": "2023-02-09 15:57:21,901" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'16.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.9022973, "msecs": 902.2972583770752, "relativeCreated": 27798.539638519287, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'", "asctime": "2023-02-09 15:57:21,902" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.9030275, "msecs": 903.0275344848633, "relativeCreated": 27799.269914627075, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:21,903" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/user_temperature_setpoint", "b'16.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.9036381, "msecs": 903.6381244659424, "relativeCreated": 27799.880504608154, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5'", "asctime": "2023-02-09 15:57:21,903" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.9042525, "msecs": 904.2525291442871, "relativeCreated": 27800.4949092865, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:21,904" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.9048266, "msecs": 904.8266410827637, "relativeCreated": 27801.069021224976, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:21,904" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954641.905498, "msecs": 905.4980278015137, "relativeCreated": 27801.740407943726, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:21,905" } ], "time_consumption": 0.2741379737854004 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "16.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954642.1803436, "msecs": 180.3436279296875, "relativeCreated": 28076.5860080719, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 16.5 and Type is ).", "asctime": "2023-02-09 15:57:22,180", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "16.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954642.180056, "msecs": 180.05609512329102, "relativeCreated": 28076.298475265503, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 16.5 ()", "asctime": "2023-02-09 15:57:22,180" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "16.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954642.180228, "msecs": 180.22799491882324, "relativeCreated": 28076.470375061035, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 16.5 ()", "asctime": "2023-02-09 15:57:22,180" } ], "time_consumption": 0.00011563301086425781 }, { "name": "__tLogger__", "msg": "Virtual device user temperature is correct (Content %s and Type is %s).", "args": [ "16.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954642.1807125, "msecs": 180.71246147155762, "relativeCreated": 28076.95484161377, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device user temperature is correct (Content 16.5 and Type is ).", "asctime": "2023-02-09 15:57:22,180", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device user temperature", "16.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954642.1805208, "msecs": 180.52077293395996, "relativeCreated": 28076.763153076172, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device user temperature): 16.5 ()", "asctime": "2023-02-09 15:57:22,180" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device user temperature", "=", "16.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954642.1806216, "msecs": 180.62162399291992, "relativeCreated": 28076.864004135132, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device user temperature): result = 16.5 ()", "asctime": "2023-02-09 15:57:22,180" } ], "time_consumption": 9.083747863769531e-05 }, { "name": "__tLogger__", "msg": "Changing videv user temperature setpoint to '%.1f'", "args": [ 21.5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 41, "funcName": "__test_user_temperature_setpoint__", "created": 1675954642.4819274, "msecs": 481.92739486694336, "relativeCreated": 28378.169775009155, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing videv user temperature setpoint to '21.5'", "asctime": "2023-02-09 15:57:22,481", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/user_temperature_setpoint", "21.5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954642.1810315, "msecs": 181.0314655303955, "relativeCreated": 28077.273845672607, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload 21.5", "asctime": "2023-02-09 15:57:22,181" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/user_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.182189, "msecs": 182.1889877319336, "relativeCreated": 28078.431367874146, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:22,182" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 21.5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.2017944, "msecs": 201.79438591003418, "relativeCreated": 28098.036766052246, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'", "asctime": "2023-02-09 15:57:22,201" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954642.2023385, "msecs": 202.33845710754395, "relativeCreated": 28098.580837249756, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:22,202" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.202971, "msecs": 202.9709815979004, "relativeCreated": 28099.213361740112, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:22,202" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.2037337, "msecs": 203.7336826324463, "relativeCreated": 28099.97606277466, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:22,203" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/user_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.20434, "msecs": 204.33998107910156, "relativeCreated": 28100.582361221313, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:22,204" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.20492, "msecs": 204.92005348205566, "relativeCreated": 28101.162433624268, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:22,204" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.2055416, "msecs": 205.54161071777344, "relativeCreated": 28101.783990859985, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:22,205" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.2538788, "msecs": 253.87883186340332, "relativeCreated": 28150.121212005615, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:22,253" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.2980204, "msecs": 298.0203628540039, "relativeCreated": 28194.262742996216, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:22,298" } ], "time_consumption": 0.18390703201293945 }, { "name": "__tLogger__", "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).", "args": [ "21.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954642.482613, "msecs": 482.61308670043945, "relativeCreated": 28378.85546684265, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve device temperature setpoint is correct (Content 21.5 and Type is ).", "asctime": "2023-02-09 15:57:22,482", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve device temperature setpoint", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954642.4823334, "msecs": 482.3334217071533, "relativeCreated": 28378.575801849365, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve device temperature setpoint): 21.5 ()", "asctime": "2023-02-09 15:57:22,482" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve device temperature setpoint", "=", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954642.4824705, "msecs": 482.4705123901367, "relativeCreated": 28378.71289253235, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve device temperature setpoint): result = 21.5 ()", "asctime": "2023-02-09 15:57:22,482" } ], "time_consumption": 0.00014257431030273438 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "21.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954642.4829803, "msecs": 482.98025131225586, "relativeCreated": 28379.222631454468, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 21.5 and Type is ).", "asctime": "2023-02-09 15:57:22,482", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954642.482788, "msecs": 482.7880859375, "relativeCreated": 28379.030466079712, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 21.5 ()", "asctime": "2023-02-09 15:57:22,482" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954642.4828906, "msecs": 482.8906059265137, "relativeCreated": 28379.132986068726, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 21.5 ()", "asctime": "2023-02-09 15:57:22,482" } ], "time_consumption": 8.96453857421875e-05 }, { "name": "__tLogger__", "msg": "Changing valve temperature setpoint to '%.1f'", "args": [ 16.5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 33, "funcName": "__test_user_temperature_setpoint__", "created": 1675954642.7844112, "msecs": 784.4111919403076, "relativeCreated": 28680.65357208252, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing valve temperature setpoint to '16.5'", "asctime": "2023-02-09 15:57:22,784", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954642.4832866, "msecs": 483.28661918640137, "relativeCreated": 28379.528999328613, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:22,483" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.4843807, "msecs": 484.38072204589844, "relativeCreated": 28380.62310218811, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:22,484" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 16.5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.5041254, "msecs": 504.12535667419434, "relativeCreated": 28400.367736816406, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'", "asctime": "2023-02-09 15:57:22,504" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'16.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.5048413, "msecs": 504.8413276672363, "relativeCreated": 28401.08370780945, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'", "asctime": "2023-02-09 15:57:22,504" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.505512, "msecs": 505.511999130249, "relativeCreated": 28401.75437927246, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:22,505" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/user_temperature_setpoint", "b'16.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.5060935, "msecs": 506.09350204467773, "relativeCreated": 28402.33588218689, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5'", "asctime": "2023-02-09 15:57:22,506" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.5067198, "msecs": 506.71982765197754, "relativeCreated": 28402.96220779419, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:22,506" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.5072892, "msecs": 507.28917121887207, "relativeCreated": 28403.531551361084, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:22,507" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.5079234, "msecs": 507.9233646392822, "relativeCreated": 28404.165744781494, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:22,507" } ], "time_consumption": 0.2764878273010254 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "16.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954642.7851176, "msecs": 785.1176261901855, "relativeCreated": 28681.360006332397, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 16.5 and Type is ).", "asctime": "2023-02-09 15:57:22,785", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "16.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954642.7848313, "msecs": 784.8312854766846, "relativeCreated": 28681.073665618896, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 16.5 ()", "asctime": "2023-02-09 15:57:22,784" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "16.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954642.7849712, "msecs": 784.9712371826172, "relativeCreated": 28681.21361732483, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 16.5 ()", "asctime": "2023-02-09 15:57:22,784" } ], "time_consumption": 0.00014638900756835938 }, { "name": "__tLogger__", "msg": "Virtual device user temperature is correct (Content %s and Type is %s).", "args": [ "16.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954642.785497, "msecs": 785.4969501495361, "relativeCreated": 28681.739330291748, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device user temperature is correct (Content 16.5 and Type is ).", "asctime": "2023-02-09 15:57:22,785", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device user temperature", "16.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954642.7853026, "msecs": 785.3026390075684, "relativeCreated": 28681.54501914978, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device user temperature): 16.5 ()", "asctime": "2023-02-09 15:57:22,785" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device user temperature", "=", "16.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954642.7854056, "msecs": 785.4056358337402, "relativeCreated": 28681.648015975952, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device user temperature): result = 16.5 ()", "asctime": "2023-02-09 15:57:22,785" } ], "time_consumption": 9.131431579589844e-05 }, { "name": "__tLogger__", "msg": "Changing videv user temperature setpoint to '%.1f'", "args": [ 21.5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 41, "funcName": "__test_user_temperature_setpoint__", "created": 1675954643.086796, "msecs": 86.79604530334473, "relativeCreated": 28983.038425445557, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing videv user temperature setpoint to '21.5'", "asctime": "2023-02-09 15:57:23,086", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/user_temperature_setpoint", "21.5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954642.785801, "msecs": 785.8009338378906, "relativeCreated": 28682.043313980103, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload 21.5", "asctime": "2023-02-09 15:57:22,785" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/user_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.7869332, "msecs": 786.933183670044, "relativeCreated": 28683.175563812256, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:22,786" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve/set", "b'{\"current_heating_setpoint\": 21.5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.8065603, "msecs": 806.5602779388428, "relativeCreated": 28702.802658081055, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'", "asctime": "2023-02-09 15:57:22,806" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954642.8071048, "msecs": 807.1048259735107, "relativeCreated": 28703.347206115723, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:22,807" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/valve_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.8077335, "msecs": 807.7335357666016, "relativeCreated": 28703.975915908813, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:22,807" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.808495, "msecs": 808.495044708252, "relativeCreated": 28704.737424850464, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:22,808" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/user_temperature_setpoint", "b'21.5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.8091257, "msecs": 809.1256618499756, "relativeCreated": 28705.368041992188, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'", "asctime": "2023-02-09 15:57:22,809" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.8097467, "msecs": 809.7467422485352, "relativeCreated": 28705.989122390747, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:22,809" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/heating_valve", "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.8103392, "msecs": 810.3392124176025, "relativeCreated": 28706.581592559814, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:22,810" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.8578227, "msecs": 857.8226566314697, "relativeCreated": 28754.06503677368, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:22,857" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954642.9019, "msecs": 901.900053024292, "relativeCreated": 28798.142433166504, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:22,901" } ], "time_consumption": 0.18489599227905273 }, { "name": "__tLogger__", "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).", "args": [ "21.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954643.0874717, "msecs": 87.47172355651855, "relativeCreated": 28983.71410369873, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve device temperature setpoint is correct (Content 21.5 and Type is ).", "asctime": "2023-02-09 15:57:23,087", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve device temperature setpoint", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954643.0872185, "msecs": 87.2185230255127, "relativeCreated": 28983.460903167725, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve device temperature setpoint): 21.5 ()", "asctime": "2023-02-09 15:57:23,087" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve device temperature setpoint", "=", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954643.0873597, "msecs": 87.35966682434082, "relativeCreated": 28983.602046966553, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve device temperature setpoint): result = 21.5 ()", "asctime": "2023-02-09 15:57:23,087" } ], "time_consumption": 0.00011205673217773438 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "21.5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954643.0879169, "msecs": 87.91685104370117, "relativeCreated": 28984.159231185913, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 21.5 and Type is ).", "asctime": "2023-02-09 15:57:23,087", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954643.087647, "msecs": 87.6469612121582, "relativeCreated": 28983.88934135437, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 21.5 ()", "asctime": "2023-02-09 15:57:23,087" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "21.5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954643.0878074, "msecs": 87.80741691589355, "relativeCreated": 28984.049797058105, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 21.5 ()", "asctime": "2023-02-09 15:57:23,087" } ], "time_consumption": 0.00010943412780761719 } ], "time_consumption": 1.2106008529663086, "time_start": "2023-02-09 15:57:21,877", "time_finished": "2023-02-09 15:57:23,087" }, "Brightness test for device and virtual device: zigbee/ffe/sleep/main_light": { "name": "__tLogger__", "msg": "Brightness test for device and virtual device: zigbee/ffe/sleep/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_brightness", "created": 1675954643.088407, "msecs": 88.40703964233398, "relativeCreated": 28984.649419784546, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness test for device and virtual device: zigbee/ffe/sleep/main_light", "asctime": "2023-02-09 15:57:23,088", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 57, "funcName": "__test_brightness__", "created": 1675954643.3912075, "msecs": 391.2074565887451, "relativeCreated": 29287.449836730957, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:23,391", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954643.0887024, "msecs": 88.70244026184082, "relativeCreated": 28984.944820404053, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:23,088" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954643.0893428, "msecs": 89.34283256530762, "relativeCreated": 28985.58521270752, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:23,089" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.090346, "msecs": 90.34609794616699, "relativeCreated": 28986.58847808838, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:23,090" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.0910218, "msecs": 91.02177619934082, "relativeCreated": 28987.264156341553, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:23,091" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.1417694, "msecs": 141.7694091796875, "relativeCreated": 29038.0117893219, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:23,141" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.1424642, "msecs": 142.46416091918945, "relativeCreated": 29038.7065410614, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:23,142" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.1430194, "msecs": 143.019437789917, "relativeCreated": 29039.26181793213, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:23,143" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.1437879, "msecs": 143.78786087036133, "relativeCreated": 29040.030241012573, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:23,143" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.1443968, "msecs": 144.39678192138672, "relativeCreated": 29040.6391620636, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:23,144" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.1449904, "msecs": 144.9904441833496, "relativeCreated": 29041.23282432556, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:23,144" } ], "time_consumption": 0.2462170124053955 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954643.39185, "msecs": 391.8499946594238, "relativeCreated": 29288.092374801636, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:23,391", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954643.3916066, "msecs": 391.60656929016113, "relativeCreated": 29287.848949432373, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:23,391" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954643.391743, "msecs": 391.7429447174072, "relativeCreated": 29287.98532485962, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:23,391" } ], "time_consumption": 0.00010704994201660156 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954643.694754, "msecs": 694.753885269165, "relativeCreated": 29590.996265411377, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:23,694", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954643.3922431, "msecs": 392.2431468963623, "relativeCreated": 29288.485527038574, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:23,392" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.3938694, "msecs": 393.86940002441406, "relativeCreated": 29290.111780166626, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:23,393" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.396356, "msecs": 396.35610580444336, "relativeCreated": 29292.598485946655, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:23,396" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.3970351, "msecs": 397.0351219177246, "relativeCreated": 29293.277502059937, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:23,397" } ], "time_consumption": 0.29771876335144043 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954643.695426, "msecs": 695.4259872436523, "relativeCreated": 29591.668367385864, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:23,695", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954643.6951575, "msecs": 695.157527923584, "relativeCreated": 29591.399908065796, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:23,695" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954643.6952906, "msecs": 695.2905654907227, "relativeCreated": 29591.532945632935, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:23,695" } ], "time_consumption": 0.0001354217529296875 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954643.6957917, "msecs": 695.7917213439941, "relativeCreated": 29592.034101486206, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:23,695", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954643.6956024, "msecs": 695.6024169921875, "relativeCreated": 29591.8447971344, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:23,695" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954643.695701, "msecs": 695.7008838653564, "relativeCreated": 29591.94326400757, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:23,695" } ], "time_consumption": 9.083747863769531e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954643.9980147, "msecs": 998.0146884918213, "relativeCreated": 29894.257068634033, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:23,998", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954643.69608, "msecs": 696.0799694061279, "relativeCreated": 29592.32234954834, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:23,696" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.697213, "msecs": 697.2129344940186, "relativeCreated": 29593.45531463623, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:23,697" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.69897, "msecs": 698.9700794219971, "relativeCreated": 29595.21245956421, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:23,698" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954643.6994684, "msecs": 699.4683742523193, "relativeCreated": 29595.71075439453, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:23,699" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.7004666, "msecs": 700.4666328430176, "relativeCreated": 29596.70901298523, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:23,700" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.745447, "msecs": 745.4469203948975, "relativeCreated": 29641.68930053711, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:23,745" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954643.746175, "msecs": 746.1750507354736, "relativeCreated": 29642.417430877686, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:23,746" } ], "time_consumption": 0.25183963775634766 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954643.9986663, "msecs": 998.6662864685059, "relativeCreated": 29894.908666610718, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:23,998", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954643.9984224, "msecs": 998.422384262085, "relativeCreated": 29894.664764404297, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:23,998" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954643.9985578, "msecs": 998.5578060150146, "relativeCreated": 29894.800186157227, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:23,998" } ], "time_consumption": 0.00010848045349121094 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954643.9990242, "msecs": 999.0241527557373, "relativeCreated": 29895.26653289795, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:23,999", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954643.9988391, "msecs": 998.8391399383545, "relativeCreated": 29895.081520080566, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:23,998" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954643.998937, "msecs": 998.9368915557861, "relativeCreated": 29895.179271697998, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:23,998" } ], "time_consumption": 8.726119995117188e-05 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954644.3013406, "msecs": 301.34057998657227, "relativeCreated": 30197.582960128784, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:24,301", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954643.9993582, "msecs": 999.3581771850586, "relativeCreated": 29895.60055732727, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:23,999" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.000472, "msecs": 0.47206878662109375, "relativeCreated": 29896.714448928833, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:24,000" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.0030072, "msecs": 3.007173538208008, "relativeCreated": 29899.24955368042, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:24,003" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.0036829, "msecs": 3.682851791381836, "relativeCreated": 29899.925231933594, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:24,003" } ], "time_consumption": 0.29765772819519043 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954644.3020282, "msecs": 302.0281791687012, "relativeCreated": 30198.270559310913, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:24,302", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954644.3017445, "msecs": 301.7444610595703, "relativeCreated": 30197.986841201782, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:24,301" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954644.301915, "msecs": 301.91493034362793, "relativeCreated": 30198.15731048584, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:24,301" } ], "time_consumption": 0.00011324882507324219 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954644.3023975, "msecs": 302.3974895477295, "relativeCreated": 30198.63986968994, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:24,302", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954644.3022048, "msecs": 302.20484733581543, "relativeCreated": 30198.447227478027, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:24,302" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954644.302305, "msecs": 302.3049831390381, "relativeCreated": 30198.54736328125, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:24,302" } ], "time_consumption": 9.250640869140625e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954644.6037107, "msecs": 603.7106513977051, "relativeCreated": 30499.953031539917, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:24,603", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954644.3026876, "msecs": 302.6876449584961, "relativeCreated": 30198.930025100708, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:24,302" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.3038113, "msecs": 303.81131172180176, "relativeCreated": 30200.053691864014, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:24,303" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.3055112, "msecs": 305.5112361907959, "relativeCreated": 30201.753616333008, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:24,305" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954644.306015, "msecs": 306.0150146484375, "relativeCreated": 30202.25739479065, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:24,306" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.3069782, "msecs": 306.9782257080078, "relativeCreated": 30203.22060585022, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:24,306" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.3521504, "msecs": 352.15044021606445, "relativeCreated": 30248.392820358276, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:24,352" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.3531284, "msecs": 353.12843322753906, "relativeCreated": 30249.37081336975, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:24,353" } ], "time_consumption": 0.250582218170166 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954644.6043158, "msecs": 604.3157577514648, "relativeCreated": 30500.558137893677, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:24,604", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954644.6040962, "msecs": 604.0961742401123, "relativeCreated": 30500.338554382324, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:24,604" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954644.6042185, "msecs": 604.2184829711914, "relativeCreated": 30500.460863113403, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:24,604" } ], "time_consumption": 9.72747802734375e-05 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "__test_brightness__", "created": 1675954644.9061313, "msecs": 906.1312675476074, "relativeCreated": 30802.37364768982, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:24,906", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954644.6045375, "msecs": 604.5374870300293, "relativeCreated": 30500.77986717224, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:24,604" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.6056042, "msecs": 605.6041717529297, "relativeCreated": 30501.84655189514, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:24,605" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.6088378, "msecs": 608.8378429412842, "relativeCreated": 30505.080223083496, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:24,608" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.6094825, "msecs": 609.4825267791748, "relativeCreated": 30505.724906921387, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:24,609" } ], "time_consumption": 0.2966487407684326 } ], "time_consumption": 1.8177242279052734, "time_start": "2023-02-09 15:57:23,088", "time_finished": "2023-02-09 15:57:24,906" }, "Color temperature test for device and virtual device: zigbee/ffe/sleep/main_light": { "name": "__tLogger__", "msg": "Color temperature test for device and virtual device: zigbee/ffe/sleep/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "test_color_temp", "created": 1675954644.9068637, "msecs": 906.8636894226074, "relativeCreated": 30803.10606956482, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Color temperature test for device and virtual device: zigbee/ffe/sleep/main_light", "asctime": "2023-02-09 15:57:24,906", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 88, "funcName": "__test_color_temp__", "created": 1675954645.208915, "msecs": 208.91499519348145, "relativeCreated": 31105.157375335693, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:25,208", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954644.9071975, "msecs": 907.1974754333496, "relativeCreated": 30803.43985557556, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:24,907" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954644.9077904, "msecs": 907.7904224395752, "relativeCreated": 30804.032802581787, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:24,907" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.9088392, "msecs": 908.839225769043, "relativeCreated": 30805.081605911255, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:24,908" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.9096448, "msecs": 909.6448421478271, "relativeCreated": 30805.88722229004, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:24,909" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.9578037, "msecs": 957.8037261962891, "relativeCreated": 30854.0461063385, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:24,957" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954644.9585385, "msecs": 958.5385322570801, "relativeCreated": 30854.780912399292, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:24,958" } ], "time_consumption": 0.25037646293640137 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954645.2095876, "msecs": 209.58757400512695, "relativeCreated": 31105.82995414734, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:25,209", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954645.209343, "msecs": 209.34295654296875, "relativeCreated": 31105.58533668518, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:25,209" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954645.2094796, "msecs": 209.47957038879395, "relativeCreated": 31105.721950531006, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:25,209" } ], "time_consumption": 0.00010800361633300781 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954645.5109456, "msecs": 510.94555854797363, "relativeCreated": 31407.187938690186, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:25,510", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954645.2099476, "msecs": 209.9475860595703, "relativeCreated": 31106.189966201782, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:25,209" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954645.211018, "msecs": 211.01808547973633, "relativeCreated": 31107.26046562195, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:25,211" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954645.2135472, "msecs": 213.5472297668457, "relativeCreated": 31109.789609909058, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:25,213" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954645.2142274, "msecs": 214.22743797302246, "relativeCreated": 31110.469818115234, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:25,214" } ], "time_consumption": 0.29671812057495117 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954645.5115914, "msecs": 511.59143447875977, "relativeCreated": 31407.83381462097, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:25,511", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954645.511349, "msecs": 511.3489627838135, "relativeCreated": 31407.591342926025, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:25,511" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954645.5114806, "msecs": 511.48056983947754, "relativeCreated": 31407.72294998169, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:25,511" } ], "time_consumption": 0.00011086463928222656 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954645.5119948, "msecs": 511.9948387145996, "relativeCreated": 31408.23721885681, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:25,511", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954645.5118046, "msecs": 511.80458068847656, "relativeCreated": 31408.04696083069, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:25,511" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954645.5119042, "msecs": 511.904239654541, "relativeCreated": 31408.146619796753, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:25,511" } ], "time_consumption": 9.059906005859375e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954645.8142292, "msecs": 814.2292499542236, "relativeCreated": 31710.471630096436, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:25,814", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954645.512283, "msecs": 512.2830867767334, "relativeCreated": 31408.525466918945, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:57:25,512" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954645.5133705, "msecs": 513.3705139160156, "relativeCreated": 31409.612894058228, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:25,513" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954645.5151036, "msecs": 515.1035785675049, "relativeCreated": 31411.345958709717, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:25,515" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954645.5156436, "msecs": 515.6435966491699, "relativeCreated": 31411.885976791382, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:25,515" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954645.516592, "msecs": 516.5920257568359, "relativeCreated": 31412.834405899048, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:25,516" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954645.5614796, "msecs": 561.4795684814453, "relativeCreated": 31457.721948623657, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:25,561" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954645.5622358, "msecs": 562.2358322143555, "relativeCreated": 31458.478212356567, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:25,562" } ], "time_consumption": 0.25199341773986816 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954645.8149095, "msecs": 814.9094581604004, "relativeCreated": 31711.151838302612, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:25,814", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954645.814664, "msecs": 814.6638870239258, "relativeCreated": 31710.906267166138, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:25,814" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954645.8148015, "msecs": 814.8014545440674, "relativeCreated": 31711.04383468628, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:25,814" } ], "time_consumption": 0.00010800361633300781 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954645.8152704, "msecs": 815.2704238891602, "relativeCreated": 31711.512804031372, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:25,815", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954645.8150814, "msecs": 815.0813579559326, "relativeCreated": 31711.323738098145, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:25,815" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954645.8151824, "msecs": 815.1824474334717, "relativeCreated": 31711.424827575684, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:25,815" } ], "time_consumption": 8.797645568847656e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954646.1166024, "msecs": 116.60242080688477, "relativeCreated": 32012.844800949097, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:26,116", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954645.8156366, "msecs": 815.6366348266602, "relativeCreated": 31711.879014968872, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:25,815" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954645.8167238, "msecs": 816.7238235473633, "relativeCreated": 31712.966203689575, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:25,816" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954645.8193116, "msecs": 819.3116188049316, "relativeCreated": 31715.553998947144, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:25,819" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954645.8199925, "msecs": 819.9925422668457, "relativeCreated": 31716.234922409058, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:25,819" } ], "time_consumption": 0.29660987854003906 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954646.1169121, "msecs": 116.9121265411377, "relativeCreated": 32013.15450668335, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:26,116", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954646.1168158, "msecs": 116.81580543518066, "relativeCreated": 32013.058185577393, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:26,116" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954646.1168709, "msecs": 116.87088012695312, "relativeCreated": 32013.113260269165, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:26,116" } ], "time_consumption": 4.124641418457031e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954646.1170669, "msecs": 117.06686019897461, "relativeCreated": 32013.309240341187, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:26,117", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954646.1169794, "msecs": 116.97936058044434, "relativeCreated": 32013.221740722656, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:26,116" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954646.1170166, "msecs": 117.01655387878418, "relativeCreated": 32013.258934020996, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:26,117" } ], "time_consumption": 5.030632019042969e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954646.4189281, "msecs": 418.9281463623047, "relativeCreated": 32315.170526504517, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:26,418", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954646.117199, "msecs": 117.19894409179688, "relativeCreated": 32013.44132423401, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:57:26,117" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.1177537, "msecs": 117.75374412536621, "relativeCreated": 32013.996124267578, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:26,117" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.118494, "msecs": 118.49403381347656, "relativeCreated": 32014.73641395569, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:26,118" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954646.1187031, "msecs": 118.70312690734863, "relativeCreated": 32014.94550704956, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:26,118" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.119097, "msecs": 119.09699440002441, "relativeCreated": 32015.339374542236, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:26,119" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.1631057, "msecs": 163.10572624206543, "relativeCreated": 32059.348106384277, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:26,163" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.1634955, "msecs": 163.49554061889648, "relativeCreated": 32059.73792076111, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:26,163" } ], "time_consumption": 0.2554326057434082 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954646.4195085, "msecs": 419.5084571838379, "relativeCreated": 32315.75083732605, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:26,419", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954646.4192944, "msecs": 419.2943572998047, "relativeCreated": 32315.536737442017, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:26,419" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954646.419413, "msecs": 419.41308975219727, "relativeCreated": 32315.65546989441, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:26,419" } ], "time_consumption": 9.5367431640625e-05 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 105, "funcName": "__test_color_temp__", "created": 1675954646.7216809, "msecs": 721.6808795928955, "relativeCreated": 32617.923259735107, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:26,721", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954646.41976, "msecs": 419.75998878479004, "relativeCreated": 32316.002368927002, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:26,419" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.4207852, "msecs": 420.78518867492676, "relativeCreated": 32317.02756881714, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:26,420" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.424025, "msecs": 424.0250587463379, "relativeCreated": 32320.26743888855, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:26,424" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.4246123, "msecs": 424.61228370666504, "relativeCreated": 32320.854663848877, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:26,424" } ], "time_consumption": 0.29706859588623047 } ], "time_consumption": 1.814817190170288, "time_start": "2023-02-09 15:57:24,906", "time_finished": "2023-02-09 15:57:26,721" }, "Power On/ Off test for device and virtual device: shellies/ffe/sleep/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/ffe/sleep/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954646.7223394, "msecs": 722.339391708374, "relativeCreated": 32618.581771850586, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/ffe/sleep/main_light", "asctime": "2023-02-09 15:57:26,722", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954646.7227738, "msecs": 722.7737903594971, "relativeCreated": 32619.01617050171, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:26,722", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954646.7225652, "msecs": 722.5651741027832, "relativeCreated": 32618.807554244995, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:26,722" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954646.7226796, "msecs": 722.679615020752, "relativeCreated": 32618.921995162964, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:26,722" } ], "time_consumption": 9.417533874511719e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954647.0253177, "msecs": 25.317668914794922, "relativeCreated": 32921.56004905701, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:27,025", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954646.7229834, "msecs": 722.9833602905273, "relativeCreated": 32619.22574043274, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:26,722" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954646.723503, "msecs": 723.5031127929688, "relativeCreated": 32619.74549293518, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:26,723" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.7243721, "msecs": 724.372148513794, "relativeCreated": 32620.614528656006, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:26,724" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.7249806, "msecs": 724.9805927276611, "relativeCreated": 32621.222972869873, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:26,724" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.7697663, "msecs": 769.7663307189941, "relativeCreated": 32666.008710861206, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:26,769" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954646.7704403, "msecs": 770.4403400421143, "relativeCreated": 32666.682720184326, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:26,770" } ], "time_consumption": 0.25487732887268066 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954647.0258963, "msecs": 25.896310806274414, "relativeCreated": 32922.138690948486, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:27,025", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954647.025683, "msecs": 25.682926177978516, "relativeCreated": 32921.92530632019, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:27,025" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954647.0258007, "msecs": 25.800704956054688, "relativeCreated": 32922.04308509827, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:27,025" } ], "time_consumption": 9.560585021972656e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954647.0262525, "msecs": 26.25250816345215, "relativeCreated": 32922.494888305664, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:27,026", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954647.0260499, "msecs": 26.04985237121582, "relativeCreated": 32922.29223251343, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:27,026" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954647.0261369, "msecs": 26.13687515258789, "relativeCreated": 32922.3792552948, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:27,026" } ], "time_consumption": 0.00011563301086425781 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954647.3283932, "msecs": 328.39322090148926, "relativeCreated": 33224.6356010437, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:27,328", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954647.026503, "msecs": 26.50308609008789, "relativeCreated": 32922.7454662323, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/main_light/state and payload false", "asctime": "2023-02-09 15:57:27,026" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.027484, "msecs": 27.48394012451172, "relativeCreated": 32923.72632026672, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:27,027" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.0289629, "msecs": 28.96285057067871, "relativeCreated": 32925.20523071289, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:27,028" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954647.0294044, "msecs": 29.404401779174805, "relativeCreated": 32925.64678192139, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:27,029" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.0303116, "msecs": 30.31158447265625, "relativeCreated": 32926.55396461487, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:27,030" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.1139574, "msecs": 113.95740509033203, "relativeCreated": 33010.199785232544, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:27,113" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.114606, "msecs": 114.60590362548828, "relativeCreated": 33010.8482837677, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:27,114" } ], "time_consumption": 0.21378731727600098 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954647.3289728, "msecs": 328.97281646728516, "relativeCreated": 33225.2151966095, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:27,328", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954647.3287575, "msecs": 328.75752449035645, "relativeCreated": 33224.99990463257, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:27,328" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954647.3288782, "msecs": 328.87816429138184, "relativeCreated": 33225.120544433594, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:27,328" } ], "time_consumption": 9.465217590332031e-05 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954647.3293383, "msecs": 329.33831214904785, "relativeCreated": 33225.58069229126, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:27,329", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954647.3291664, "msecs": 329.1664123535156, "relativeCreated": 33225.40879249573, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:27,329" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954647.3292582, "msecs": 329.2582035064697, "relativeCreated": 33225.50058364868, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:27,329" } ], "time_consumption": 8.0108642578125e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954647.6319342, "msecs": 631.9341659545898, "relativeCreated": 33528.1765460968, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:27,631", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954647.3295472, "msecs": 329.5471668243408, "relativeCreated": 33225.78954696655, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:27,329" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954647.3300807, "msecs": 330.0807476043701, "relativeCreated": 33226.32312774658, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:27,330" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.3309064, "msecs": 330.9063911437988, "relativeCreated": 33227.14877128601, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:27,330" }, { "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffe/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.3314943, "msecs": 331.4943313598633, "relativeCreated": 33227.736711502075, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:27,331" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.3789184, "msecs": 378.9184093475342, "relativeCreated": 33275.160789489746, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:27,378" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.3796496, "msecs": 379.6496391296387, "relativeCreated": 33275.89201927185, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:27,379" } ], "time_consumption": 0.25228452682495117 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954647.6325836, "msecs": 632.5836181640625, "relativeCreated": 33528.825998306274, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:27,632", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954647.632339, "msecs": 632.3390007019043, "relativeCreated": 33528.581380844116, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:27,632" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954647.6324756, "msecs": 632.4756145477295, "relativeCreated": 33528.71799468994, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:27,632" } ], "time_consumption": 0.00010800361633300781 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954647.6329749, "msecs": 632.9748630523682, "relativeCreated": 33529.21724319458, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:27,632", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954647.6327553, "msecs": 632.7552795410156, "relativeCreated": 33528.99765968323, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:27,632" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954647.6328573, "msecs": 632.8573226928711, "relativeCreated": 33529.09970283508, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:27,632" } ], "time_consumption": 0.00011754035949707031 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954647.934178, "msecs": 934.1781139373779, "relativeCreated": 33830.42049407959, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:27,934", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954647.6333082, "msecs": 633.3081722259521, "relativeCreated": 33529.550552368164, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffe/sleep/main_light/state and payload false", "asctime": "2023-02-09 15:57:27,633" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.6343858, "msecs": 634.3858242034912, "relativeCreated": 33530.6282043457, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:27,634" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.635985, "msecs": 635.9848976135254, "relativeCreated": 33532.22727775574, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:27,635" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954647.6364462, "msecs": 636.4462375640869, "relativeCreated": 33532.6886177063, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:27,636" }, { "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffe/sleep/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.6374688, "msecs": 637.4688148498535, "relativeCreated": 33533.711194992065, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:27,637" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.7257798, "msecs": 725.7797718048096, "relativeCreated": 33622.02215194702, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:27,725" }, { "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffe/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.726474, "msecs": 726.4740467071533, "relativeCreated": 33622.716426849365, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:27,726" } ], "time_consumption": 0.2077040672302246 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954647.9348342, "msecs": 934.8342418670654, "relativeCreated": 33831.07662200928, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:27,934", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954647.9345877, "msecs": 934.5877170562744, "relativeCreated": 33830.830097198486, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:27,934" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954647.9347255, "msecs": 934.7255229949951, "relativeCreated": 33830.96790313721, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:27,934" } ], "time_consumption": 0.0001087188720703125 } ], "time_consumption": 1.2124948501586914, "time_start": "2023-02-09 15:57:26,722", "time_finished": "2023-02-09 15:57:27,934" }, "Away mode test: zigbee/ffw/bath/heating_valve": { "name": "__tLogger__", "msg": "Away mode test: zigbee/ffw/bath/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 101, "funcName": "test_away_mode", "created": 1675954647.9353635, "msecs": 935.3635311126709, "relativeCreated": 33831.60591125488, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode test: zigbee/ffw/bath/heating_valve", "asctime": "2023-02-09 15:57:27,935", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 106, "funcName": "__test_away_mode__", "created": 1675954648.2376442, "msecs": 237.64419555664062, "relativeCreated": 34133.88657569885, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:57:28,237", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954647.9357123, "msecs": 935.7123374938965, "relativeCreated": 33831.95471763611, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:27,935" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.9368057, "msecs": 936.8057250976562, "relativeCreated": 33833.04810523987, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:27,936" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.9538946, "msecs": 953.8946151733398, "relativeCreated": 33850.13699531555, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:27,953" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.9542446, "msecs": 954.2446136474609, "relativeCreated": 33850.48699378967, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:27,954" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.9545193, "msecs": 954.5192718505859, "relativeCreated": 33850.7616519928, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:57:27,954" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954647.9546993, "msecs": 954.6992778778076, "relativeCreated": 33850.94165802002, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:27,954" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.9552467, "msecs": 955.2466869354248, "relativeCreated": 33851.48906707764, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:27,955" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.9555569, "msecs": 955.5568695068359, "relativeCreated": 33851.79924964905, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:27,955" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954647.9557903, "msecs": 955.7902812957764, "relativeCreated": 33852.03266143799, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:27,955" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.0045984, "msecs": 4.598379135131836, "relativeCreated": 33900.840759277344, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:28,004" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.0461576, "msecs": 46.1575984954834, "relativeCreated": 33942.399978637695, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:28,046" } ], "time_consumption": 0.19148659706115723 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954648.2383237, "msecs": 238.32368850708008, "relativeCreated": 34134.56606864929, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:28,238", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954648.2380395, "msecs": 238.03949356079102, "relativeCreated": 34134.281873703, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): False ()", "asctime": "2023-02-09 15:57:28,238" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954648.2381752, "msecs": 238.1751537322998, "relativeCreated": 34134.41753387451, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = False ()", "asctime": "2023-02-09 15:57:28,238" } ], "time_consumption": 0.00014853477478027344 }, { "name": "__tLogger__", "msg": "Activating away mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 113, "funcName": "__test_away_mode__", "created": 1675954648.5405786, "msecs": 540.5786037445068, "relativeCreated": 34436.82098388672, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating away mode", "asctime": "2023-02-09 15:57:28,540", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/away_mode", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954648.238664, "msecs": 238.663911819458, "relativeCreated": 34134.90629196167, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/away_mode and payload true", "asctime": "2023-02-09 15:57:28,238" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/away_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.239775, "msecs": 239.7749423980713, "relativeCreated": 34136.01732254028, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'true'", "asctime": "2023-02-09 15:57:28,239" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 18}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.2557106, "msecs": 255.71060180664062, "relativeCreated": 34151.95298194885, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'", "asctime": "2023-02-09 15:57:28,255" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954648.2561686, "msecs": 256.1686038970947, "relativeCreated": 34152.41098403931, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:28,256" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.2567182, "msecs": 256.7181587219238, "relativeCreated": 34152.960538864136, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:57:28,256" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.2574325, "msecs": 257.4324607849121, "relativeCreated": 34153.674840927124, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:28,257" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/away_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.2579536, "msecs": 257.9536437988281, "relativeCreated": 34154.19602394104, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'true'", "asctime": "2023-02-09 15:57:28,257" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.2584615, "msecs": 258.46147537231445, "relativeCreated": 34154.70385551453, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:28,258" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.2589648, "msecs": 258.96477699279785, "relativeCreated": 34155.20715713501, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:28,258" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.3020513, "msecs": 302.051305770874, "relativeCreated": 34198.293685913086, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:28,302" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.3459764, "msecs": 345.9763526916504, "relativeCreated": 34242.21873283386, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:28,345" } ], "time_consumption": 0.19460225105285645 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954648.5411928, "msecs": 541.1927700042725, "relativeCreated": 34437.435150146484, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:28,541", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954648.5409288, "msecs": 540.928840637207, "relativeCreated": 34437.17122077942, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): True ()", "asctime": "2023-02-09 15:57:28,540" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954648.541089, "msecs": 541.0890579223633, "relativeCreated": 34437.331438064575, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = True ()", "asctime": "2023-02-09 15:57:28,541" } ], "time_consumption": 0.00010371208190917969 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "18", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954648.5415215, "msecs": 541.5215492248535, "relativeCreated": 34437.763929367065, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 18 and Type is ).", "asctime": "2023-02-09 15:57:28,541", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954648.5413496, "msecs": 541.3496494293213, "relativeCreated": 34437.59202957153, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 18 ()", "asctime": "2023-02-09 15:57:28,541" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954648.54144, "msecs": 541.4400100708008, "relativeCreated": 34437.68239021301, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 18 ()", "asctime": "2023-02-09 15:57:28,541" } ], "time_consumption": 8.153915405273438e-05 }, { "name": "__tLogger__", "msg": "Deactivating away mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 119, "funcName": "__test_away_mode__", "created": 1675954648.8436937, "msecs": 843.693733215332, "relativeCreated": 34739.936113357544, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Deactivating away mode", "asctime": "2023-02-09 15:57:28,843", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/away_mode", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954648.54181, "msecs": 541.8100357055664, "relativeCreated": 34438.05241584778, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/away_mode and payload false", "asctime": "2023-02-09 15:57:28,541" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/away_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.542807, "msecs": 542.8071022033691, "relativeCreated": 34439.04948234558, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'false'", "asctime": "2023-02-09 15:57:28,542" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.5538158, "msecs": 553.8158416748047, "relativeCreated": 34450.05822181702, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:57:28,553" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954648.5542014, "msecs": 554.2013645172119, "relativeCreated": 34450.443744659424, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:28,554" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.5547323, "msecs": 554.7323226928711, "relativeCreated": 34450.97470283508, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:28,554" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.5554142, "msecs": 555.4141998291016, "relativeCreated": 34451.65657997131, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:28,555" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/away_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.5559297, "msecs": 555.9296607971191, "relativeCreated": 34452.17204093933, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'false'", "asctime": "2023-02-09 15:57:28,555" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.5564291, "msecs": 556.4291477203369, "relativeCreated": 34452.67152786255, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:28,556" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.5569353, "msecs": 556.9353103637695, "relativeCreated": 34453.17769050598, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:28,556" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.6053102, "msecs": 605.3102016448975, "relativeCreated": 34501.55258178711, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:28,605" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.6469622, "msecs": 646.9621658325195, "relativeCreated": 34543.20454597473, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:28,646" } ], "time_consumption": 0.1967315673828125 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954648.8442595, "msecs": 844.25950050354, "relativeCreated": 34740.50188064575, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:28,844", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954648.8440433, "msecs": 844.0432548522949, "relativeCreated": 34740.28563499451, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): False ()", "asctime": "2023-02-09 15:57:28,844" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954648.8441634, "msecs": 844.1634178161621, "relativeCreated": 34740.405797958374, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = False ()", "asctime": "2023-02-09 15:57:28,844" } ], "time_consumption": 9.608268737792969e-05 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954648.8446114, "msecs": 844.611406326294, "relativeCreated": 34740.853786468506, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:57:28,844", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954648.8444102, "msecs": 844.4101810455322, "relativeCreated": 34740.652561187744, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 23 ()", "asctime": "2023-02-09 15:57:28,844" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954648.844498, "msecs": 844.4979190826416, "relativeCreated": 34740.74029922485, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 23 ()", "asctime": "2023-02-09 15:57:28,844" } ], "time_consumption": 0.00011348724365234375 } ], "time_consumption": 0.909247875213623, "time_start": "2023-02-09 15:57:27,935", "time_finished": "2023-02-09 15:57:28,844" }, "Boost mode test: zigbee/ffw/bath/heating_valve": { "name": "__tLogger__", "msg": "Boost mode test: zigbee/ffw/bath/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 128, "funcName": "test_boost_mode", "created": 1675954648.845038, "msecs": 845.0379371643066, "relativeCreated": 34741.28031730652, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost mode test: zigbee/ffw/bath/heating_valve", "asctime": "2023-02-09 15:57:28,845", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 133, "funcName": "__test_boost_mode__", "created": 1675954649.1471891, "msecs": 147.18914031982422, "relativeCreated": 35043.431520462036, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:57:29,147", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954648.8453233, "msecs": 845.3233242034912, "relativeCreated": 34741.5657043457, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:28,845" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954648.8462958, "msecs": 846.2958335876465, "relativeCreated": 34742.53821372986, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:28,846" } ], "time_consumption": 0.30089330673217773 }, { "name": "__tLogger__", "msg": "Boost timer is correct (Content %s and Type is %s).", "args": [ "0", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954649.1477528, "msecs": 147.7527618408203, "relativeCreated": 35043.99514198303, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is correct (Content 0 and Type is ).", "asctime": "2023-02-09 15:57:29,147", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954649.147536, "msecs": 147.536039352417, "relativeCreated": 35043.77841949463, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 0 ()", "asctime": "2023-02-09 15:57:29,147" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", "=", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954649.1476583, "msecs": 147.6583480834961, "relativeCreated": 35043.90072822571, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result = 0 ()", "asctime": "2023-02-09 15:57:29,147" } ], "time_consumption": 9.441375732421875e-05 }, { "name": "__tLogger__", "msg": "Activating boost mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 140, "funcName": "__test_boost_mode__", "created": 1675954649.449186, "msecs": 449.1860866546631, "relativeCreated": 35345.428466796875, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating boost mode", "asctime": "2023-02-09 15:57:29,449", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.start_boost", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/start_boost", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954649.1480267, "msecs": 148.026704788208, "relativeCreated": 35044.26908493042, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/start_boost and payload true", "asctime": "2023-02-09 15:57:29,148" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.start_boost", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/start_boost", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.1490011, "msecs": 149.0011215209961, "relativeCreated": 35045.24350166321, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/start_boost and payload b'true'", "asctime": "2023-02-09 15:57:29,149" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.boost_timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/boost_timer", "b'900'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.1605988, "msecs": 160.5987548828125, "relativeCreated": 35056.841135025024, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/boost_timer and payload b'900'", "asctime": "2023-02-09 15:57:29,160" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.1612349, "msecs": 161.23485565185547, "relativeCreated": 35057.47723579407, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:29,161" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 30}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.161791, "msecs": 161.7910861968994, "relativeCreated": 35058.03346633911, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'", "asctime": "2023-02-09 15:57:29,161" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954649.1621306, "msecs": 162.13059425354004, "relativeCreated": 35058.37297439575, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:29,162" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'30'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.1626747, "msecs": 162.6746654510498, "relativeCreated": 35058.91704559326, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'30'", "asctime": "2023-02-09 15:57:29,162" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.163327, "msecs": 163.32697868347168, "relativeCreated": 35059.56935882568, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:29,163" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.1638439, "msecs": 163.84387016296387, "relativeCreated": 35060.086250305176, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:29,163" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.2055914, "msecs": 205.59144020080566, "relativeCreated": 35101.83382034302, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:29,205" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.2470448, "msecs": 247.04480171203613, "relativeCreated": 35143.28718185425, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:29,247" } ], "time_consumption": 0.20214128494262695 }, { "name": "__tLogger__", "msg": "Boost timer is greater expectation (Content %s and Type is %s).", "args": [ "900", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 230, "funcName": "greater_chk", "created": 1675954649.4498596, "msecs": 449.859619140625, "relativeCreated": 35346.10199928284, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is greater expectation (Content 900 and Type is ).", "asctime": "2023-02-09 15:57:29,449", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "900", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954649.4496126, "msecs": 449.6126174926758, "relativeCreated": 35345.85499763489, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 900 ()", "asctime": "2023-02-09 15:57:29,449" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", ">", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954649.4497526, "msecs": 449.7525691986084, "relativeCreated": 35345.99494934082, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result > 0 ()", "asctime": "2023-02-09 15:57:29,449" } ], "time_consumption": 0.00010704994201660156 }, { "name": "__tLogger__", "msg": "Setting postconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 145, "funcName": "__test_boost_mode__", "created": 1675954649.7520902, "msecs": 752.0902156829834, "relativeCreated": 35648.332595825195, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting postconditions (Default setpoint)", "asctime": "2023-02-09 15:57:29,752", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954649.4501505, "msecs": 450.1504898071289, "relativeCreated": 35346.39286994934, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:29,450" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.451272, "msecs": 451.27201080322266, "relativeCreated": 35347.514390945435, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:29,451" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.boost_timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/boost_timer", "b'0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.4666438, "msecs": 466.6438102722168, "relativeCreated": 35362.88619041443, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/boost_timer and payload b'0'", "asctime": "2023-02-09 15:57:29,466" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.4675233, "msecs": 467.52333641052246, "relativeCreated": 35363.765716552734, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:29,467" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.4683151, "msecs": 468.31512451171875, "relativeCreated": 35364.55750465393, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:57:29,468" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954649.468728, "msecs": 468.72806549072266, "relativeCreated": 35364.970445632935, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:29,468" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.4693704, "msecs": 469.37036514282227, "relativeCreated": 35365.612745285034, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:29,469" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.4701216, "msecs": 470.1216220855713, "relativeCreated": 35366.36400222778, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:29,470" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.4707088, "msecs": 470.70884704589844, "relativeCreated": 35366.95122718811, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:29,470" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.520823, "msecs": 520.8230018615723, "relativeCreated": 35417.065382003784, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:29,520" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.5621154, "msecs": 562.1154308319092, "relativeCreated": 35458.35781097412, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:29,562" } ], "time_consumption": 0.18997478485107422 }, { "name": "__tLogger__", "msg": "Boost timer is correct (Content %s and Type is %s).", "args": [ "0", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954649.7527258, "msecs": 752.7258396148682, "relativeCreated": 35648.96821975708, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is correct (Content 0 and Type is ).", "asctime": "2023-02-09 15:57:29,752", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954649.752484, "msecs": 752.4840831756592, "relativeCreated": 35648.72646331787, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 0 ()", "asctime": "2023-02-09 15:57:29,752" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", "=", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954649.7526174, "msecs": 752.617359161377, "relativeCreated": 35648.85973930359, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result = 0 ()", "asctime": "2023-02-09 15:57:29,752" } ], "time_consumption": 0.00010848045349121094 } ], "time_consumption": 0.9076879024505615, "time_start": "2023-02-09 15:57:28,845", "time_finished": "2023-02-09 15:57:29,752" }, "Default temperature test for device and virtual device: zigbee/ffw/bath/heating_valve": { "name": "__tLogger__", "msg": "Default temperature test for device and virtual device: zigbee/ffw/bath/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_default_temperature", "created": 1675954649.7532492, "msecs": 753.2491683959961, "relativeCreated": 35649.49154853821, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Default temperature test for device and virtual device: zigbee/ffw/bath/heating_valve", "asctime": "2023-02-09 15:57:29,753", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Valve setpoint to %.1f)", "args": [ 18 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 60, "funcName": "__test_default_temperature__", "created": 1675954650.0555944, "msecs": 55.594444274902344, "relativeCreated": 35951.836824417114, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Valve setpoint to 18.0)", "asctime": "2023-02-09 15:57:30,055", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954649.7536404, "msecs": 753.6404132843018, "relativeCreated": 35649.882793426514, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:29,753" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.754745, "msecs": 754.7450065612793, "relativeCreated": 35650.98738670349, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:29,754" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 18}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.7761285, "msecs": 776.1285305023193, "relativeCreated": 35672.37091064453, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'", "asctime": "2023-02-09 15:57:29,776" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.77688, "msecs": 776.8800258636475, "relativeCreated": 35673.12240600586, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:57:29,776" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.777605, "msecs": 777.6050567626953, "relativeCreated": 35673.84743690491, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:29,777" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/user_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.7781832, "msecs": 778.1832218170166, "relativeCreated": 35674.42560195923, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:57:29,778" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.7787976, "msecs": 778.7976264953613, "relativeCreated": 35675.04000663757, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:29,778" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.7794383, "msecs": 779.4382572174072, "relativeCreated": 35675.68063735962, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:29,779" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954649.780294, "msecs": 780.2939414978027, "relativeCreated": 35676.536321640015, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:29,780" } ], "time_consumption": 0.2753005027770996 }, { "name": "__tLogger__", "msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954650.0562866, "msecs": 56.28657341003418, "relativeCreated": 35952.528953552246, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:30,056", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve temperature setpoint (is not default temperature)", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954650.05601, "msecs": 56.01000785827637, "relativeCreated": 35952.25238800049, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve temperature setpoint (is not default temperature)): True ()", "asctime": "2023-02-09 15:57:30,056" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve temperature setpoint (is not default temperature)", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954650.0561783, "msecs": 56.17833137512207, "relativeCreated": 35952.420711517334, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True ()", "asctime": "2023-02-09 15:57:30,056" } ], "time_consumption": 0.00010824203491210938 }, { "name": "__tLogger__", "msg": "Triggering set to default temperature (%.1f)", "args": [ 23 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 66, "funcName": "__test_default_temperature__", "created": 1675954650.3585308, "msecs": 358.53075981140137, "relativeCreated": 36254.77313995361, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Triggering set to default temperature (23.0)", "asctime": "2023-02-09 15:57:30,358", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954650.0565686, "msecs": 56.56862258911133, "relativeCreated": 35952.81100273132, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:30,056" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.0576875, "msecs": 57.68752098083496, "relativeCreated": 35953.92990112305, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:30,057" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.0768318, "msecs": 76.83181762695312, "relativeCreated": 35973.074197769165, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:30,076" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.0776722, "msecs": 77.67224311828613, "relativeCreated": 35973.9146232605, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:30,077" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.078275, "msecs": 78.27496528625488, "relativeCreated": 35974.51734542847, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:57:30,078" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954650.0786653, "msecs": 78.66525650024414, "relativeCreated": 35974.907636642456, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:30,078" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.0792823, "msecs": 79.28228378295898, "relativeCreated": 35975.52466392517, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:30,079" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.080023, "msecs": 80.02305030822754, "relativeCreated": 35976.26543045044, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:30,080" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.0806124, "msecs": 80.6124210357666, "relativeCreated": 35976.85480117798, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:30,080" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.1251729, "msecs": 125.17285346984863, "relativeCreated": 36021.41523361206, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:30,125" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.1661017, "msecs": 166.10169410705566, "relativeCreated": 36062.34407424927, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:30,166" } ], "time_consumption": 0.1924290657043457 }, { "name": "__tLogger__", "msg": "Valve temperature setpoint is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954650.3591988, "msecs": 359.19880867004395, "relativeCreated": 36255.441188812256, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve temperature setpoint is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:57:30,359", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve temperature setpoint", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954650.3589516, "msecs": 358.9515686035156, "relativeCreated": 36255.19394874573, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve temperature setpoint): 23 ()", "asctime": "2023-02-09 15:57:30,358" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve temperature setpoint", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954650.3590932, "msecs": 359.09318923950195, "relativeCreated": 36255.335569381714, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve temperature setpoint): result = 23 ()", "asctime": "2023-02-09 15:57:30,359" } ], "time_consumption": 0.00010561943054199219 } ], "time_consumption": 0.6059496402740479, "time_start": "2023-02-09 15:57:29,753", "time_finished": "2023-02-09 15:57:30,359" }, "Summer mode test: zigbee/ffw/bath/heating_valve": { "name": "__tLogger__", "msg": "Summer mode test: zigbee/ffw/bath/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "test_summer_mode", "created": 1675954650.3596315, "msecs": 359.6315383911133, "relativeCreated": 36255.873918533325, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode test: zigbee/ffw/bath/heating_valve", "asctime": "2023-02-09 15:57:30,359", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 79, "funcName": "__test_summer_mode__", "created": 1675954650.660931, "msecs": 660.9311103820801, "relativeCreated": 36557.17349052429, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:57:30,660", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954650.3599353, "msecs": 359.9352836608887, "relativeCreated": 36256.1776638031, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:30,359" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.3610394, "msecs": 361.039400100708, "relativeCreated": 36257.28178024292, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:30,361" } ], "time_consumption": 0.29989171028137207 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954650.6616273, "msecs": 661.6272926330566, "relativeCreated": 36557.86967277527, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:30,661", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954650.6613727, "msecs": 661.3726615905762, "relativeCreated": 36557.61504173279, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): False ()", "asctime": "2023-02-09 15:57:30,661" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954650.6615145, "msecs": 661.5145206451416, "relativeCreated": 36557.75690078735, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = False ()", "asctime": "2023-02-09 15:57:30,661" } ], "time_consumption": 0.00011277198791503906 }, { "name": "__tLogger__", "msg": "Activating summer mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 86, "funcName": "__test_summer_mode__", "created": 1675954650.9634075, "msecs": 963.4075164794922, "relativeCreated": 36859.649896621704, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating summer mode", "asctime": "2023-02-09 15:57:30,963", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/summer_mode", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954650.6619883, "msecs": 661.9882583618164, "relativeCreated": 36558.23063850403, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/summer_mode and payload true", "asctime": "2023-02-09 15:57:30,661" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/summer_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.6630726, "msecs": 663.0725860595703, "relativeCreated": 36559.31496620178, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'true'", "asctime": "2023-02-09 15:57:30,663" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.6811917, "msecs": 681.1916828155518, "relativeCreated": 36577.434062957764, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'", "asctime": "2023-02-09 15:57:30,681" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954650.6817234, "msecs": 681.7233562469482, "relativeCreated": 36577.96573638916, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:30,681" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.6823862, "msecs": 682.3861598968506, "relativeCreated": 36578.62854003906, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'5'", "asctime": "2023-02-09 15:57:30,682" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.6831667, "msecs": 683.1667423248291, "relativeCreated": 36579.40912246704, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:30,683" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/summer_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.6837637, "msecs": 683.7637424468994, "relativeCreated": 36580.00612258911, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'true'", "asctime": "2023-02-09 15:57:30,683" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.6843383, "msecs": 684.3383312225342, "relativeCreated": 36580.580711364746, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:30,684" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.6849067, "msecs": 684.9067211151123, "relativeCreated": 36581.149101257324, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:30,684" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.7255998, "msecs": 725.5997657775879, "relativeCreated": 36621.8421459198, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:30,725" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.765972, "msecs": 765.9718990325928, "relativeCreated": 36662.214279174805, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:30,765" } ], "time_consumption": 0.19743561744689941 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954650.9640443, "msecs": 964.0443325042725, "relativeCreated": 36860.286712646484, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:30,964", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954650.963798, "msecs": 963.7980461120605, "relativeCreated": 36860.04042625427, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): True ()", "asctime": "2023-02-09 15:57:30,963" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954650.9639351, "msecs": 963.935136795044, "relativeCreated": 36860.177516937256, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = True ()", "asctime": "2023-02-09 15:57:30,963" } ], "time_consumption": 0.00010919570922851562 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954650.964445, "msecs": 964.4451141357422, "relativeCreated": 36860.687494277954, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:30,964", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954650.964216, "msecs": 964.2159938812256, "relativeCreated": 36860.45837402344, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 5 ()", "asctime": "2023-02-09 15:57:30,964" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954650.9643543, "msecs": 964.3542766571045, "relativeCreated": 36860.59665679932, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 5 ()", "asctime": "2023-02-09 15:57:30,964" } ], "time_consumption": 9.083747863769531e-05 }, { "name": "__tLogger__", "msg": "Deactivating summer mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 92, "funcName": "__test_summer_mode__", "created": 1675954651.2667806, "msecs": 266.7806148529053, "relativeCreated": 37163.02299499512, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Deactivating summer mode", "asctime": "2023-02-09 15:57:31,266", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/summer_mode", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954650.964743, "msecs": 964.74289894104, "relativeCreated": 36860.98527908325, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/summer_mode and payload false", "asctime": "2023-02-09 15:57:30,964" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/summer_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.9658325, "msecs": 965.8324718475342, "relativeCreated": 36862.074851989746, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'false'", "asctime": "2023-02-09 15:57:30,965" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.976963, "msecs": 976.9630432128906, "relativeCreated": 36873.2054233551, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:57:30,976" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954650.977543, "msecs": 977.5431156158447, "relativeCreated": 36873.78549575806, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:30,977" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.9781742, "msecs": 978.1742095947266, "relativeCreated": 36874.41658973694, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:30,978" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.9789395, "msecs": 978.9395332336426, "relativeCreated": 36875.181913375854, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:30,978" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/summer_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.9795296, "msecs": 979.529619216919, "relativeCreated": 36875.77199935913, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'false'", "asctime": "2023-02-09 15:57:30,979" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.980101, "msecs": 980.1011085510254, "relativeCreated": 36876.34348869324, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:30,980" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954650.9807014, "msecs": 980.7014465332031, "relativeCreated": 36876.943826675415, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:30,980" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.0219607, "msecs": 21.960735321044922, "relativeCreated": 36918.20311546326, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:31,021" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.0665574, "msecs": 66.55740737915039, "relativeCreated": 36962.79978752136, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:31,066" } ], "time_consumption": 0.20022320747375488 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954651.2674549, "msecs": 267.4548625946045, "relativeCreated": 37163.69724273682, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:31,267", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954651.2672055, "msecs": 267.20547676086426, "relativeCreated": 37163.447856903076, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): False ()", "asctime": "2023-02-09 15:57:31,267" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954651.2673461, "msecs": 267.3461437225342, "relativeCreated": 37163.588523864746, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = False ()", "asctime": "2023-02-09 15:57:31,267" } ], "time_consumption": 0.0001087188720703125 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954651.267814, "msecs": 267.81392097473145, "relativeCreated": 37164.05630111694, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:57:31,267", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954651.2676263, "msecs": 267.6262855529785, "relativeCreated": 37163.86866569519, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 23 ()", "asctime": "2023-02-09 15:57:31,267" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954651.2677255, "msecs": 267.72546768188477, "relativeCreated": 37163.9678478241, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 23 ()", "asctime": "2023-02-09 15:57:31,267" } ], "time_consumption": 8.845329284667969e-05 } ], "time_consumption": 0.9081823825836182, "time_start": "2023-02-09 15:57:30,359", "time_finished": "2023-02-09 15:57:31,267" }, "User temperature setpoint test for device and virtual device: zigbee/ffw/bath/heating_valve": { "name": "__tLogger__", "msg": "User temperature setpoint test for device and virtual device: zigbee/ffw/bath/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "test_user_temperature_setpoint", "created": 1675954651.2682328, "msecs": 268.2328224182129, "relativeCreated": 37164.475202560425, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "User temperature setpoint test for device and virtual device: zigbee/ffw/bath/heating_valve", "asctime": "2023-02-09 15:57:31,268", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Changing valve temperature setpoint to '%.1f'", "args": [ 18 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 33, "funcName": "__test_user_temperature_setpoint__", "created": 1675954651.5708034, "msecs": 570.8034038543701, "relativeCreated": 37467.04578399658, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing valve temperature setpoint to '18.0'", "asctime": "2023-02-09 15:57:31,570", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954651.268616, "msecs": 268.6159610748291, "relativeCreated": 37164.85834121704, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:31,268" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.2702723, "msecs": 270.27225494384766, "relativeCreated": 37166.51463508606, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:31,270" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 18}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.2914987, "msecs": 291.49866104125977, "relativeCreated": 37187.74104118347, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'", "asctime": "2023-02-09 15:57:31,291" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.2922127, "msecs": 292.21272468566895, "relativeCreated": 37188.45510482788, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:57:31,292" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.2928555, "msecs": 292.85550117492676, "relativeCreated": 37189.09788131714, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:31,292" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/user_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.2934575, "msecs": 293.4575080871582, "relativeCreated": 37189.69988822937, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:57:31,293" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.2940469, "msecs": 294.04687881469727, "relativeCreated": 37190.28925895691, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:31,294" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.2946248, "msecs": 294.62480545043945, "relativeCreated": 37190.86718559265, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:31,294" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.2952383, "msecs": 295.2382564544678, "relativeCreated": 37191.48063659668, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:31,295" } ], "time_consumption": 0.27556514739990234 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "18", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954651.5715027, "msecs": 571.502685546875, "relativeCreated": 37467.74506568909, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 18 and Type is ).", "asctime": "2023-02-09 15:57:31,571", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954651.5712235, "msecs": 571.2234973907471, "relativeCreated": 37467.46587753296, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 18 ()", "asctime": "2023-02-09 15:57:31,571" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954651.571397, "msecs": 571.397066116333, "relativeCreated": 37467.639446258545, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 18 ()", "asctime": "2023-02-09 15:57:31,571" } ], "time_consumption": 0.00010561943054199219 }, { "name": "__tLogger__", "msg": "Virtual device user temperature is correct (Content %s and Type is %s).", "args": [ "18", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954651.5718544, "msecs": 571.8543529510498, "relativeCreated": 37468.09673309326, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device user temperature is correct (Content 18 and Type is ).", "asctime": "2023-02-09 15:57:31,571", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device user temperature", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954651.5716703, "msecs": 571.6702938079834, "relativeCreated": 37467.912673950195, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device user temperature): 18 ()", "asctime": "2023-02-09 15:57:31,571" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device user temperature", "=", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954651.5717673, "msecs": 571.7673301696777, "relativeCreated": 37468.00971031189, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device user temperature): result = 18 ()", "asctime": "2023-02-09 15:57:31,571" } ], "time_consumption": 8.702278137207031e-05 }, { "name": "__tLogger__", "msg": "Changing videv user temperature setpoint to '%.1f'", "args": [ 23 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 41, "funcName": "__test_user_temperature_setpoint__", "created": 1675954651.874071, "msecs": 874.0708827972412, "relativeCreated": 37770.31326293945, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing videv user temperature setpoint to '23.0'", "asctime": "2023-02-09 15:57:31,874", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/user_temperature_setpoint", "23" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954651.572149, "msecs": 572.1490383148193, "relativeCreated": 37468.39141845703, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload 23", "asctime": "2023-02-09 15:57:31,572" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.5732791, "msecs": 573.2791423797607, "relativeCreated": 37469.52152252197, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:31,573" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.5909166, "msecs": 590.916633605957, "relativeCreated": 37487.15901374817, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:57:31,590" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954651.5914252, "msecs": 591.4251804351807, "relativeCreated": 37487.66756057739, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:31,591" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.5920656, "msecs": 592.0655727386475, "relativeCreated": 37488.30795288086, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:31,592" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.5928237, "msecs": 592.8237438201904, "relativeCreated": 37489.0661239624, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:31,592" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.5934558, "msecs": 593.4557914733887, "relativeCreated": 37489.6981716156, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:31,593" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.5940914, "msecs": 594.0914154052734, "relativeCreated": 37490.333795547485, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:31,594" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.594695, "msecs": 594.6950912475586, "relativeCreated": 37490.93747138977, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:31,594" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.641747, "msecs": 641.746997833252, "relativeCreated": 37537.989377975464, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:31,641" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.687028, "msecs": 687.0279312133789, "relativeCreated": 37583.27031135559, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:31,687" } ], "time_consumption": 0.1870429515838623 }, { "name": "__tLogger__", "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954651.874736, "msecs": 874.7360706329346, "relativeCreated": 37770.97845077515, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve device temperature setpoint is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:57:31,874", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve device temperature setpoint", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954651.874492, "msecs": 874.4919300079346, "relativeCreated": 37770.73431015015, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve device temperature setpoint): 23 ()", "asctime": "2023-02-09 15:57:31,874" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve device temperature setpoint", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954651.8746297, "msecs": 874.6297359466553, "relativeCreated": 37770.87211608887, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve device temperature setpoint): result = 23 ()", "asctime": "2023-02-09 15:57:31,874" } ], "time_consumption": 0.00010633468627929688 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954651.8751552, "msecs": 875.1552104949951, "relativeCreated": 37771.39759063721, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:57:31,875", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954651.8749492, "msecs": 874.9492168426514, "relativeCreated": 37771.19159698486, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 23 ()", "asctime": "2023-02-09 15:57:31,874" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954651.87505, "msecs": 875.0500679016113, "relativeCreated": 37771.29244804382, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 23 ()", "asctime": "2023-02-09 15:57:31,875" } ], "time_consumption": 0.00010514259338378906 }, { "name": "__tLogger__", "msg": "Changing valve temperature setpoint to '%.1f'", "args": [ 18 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 33, "funcName": "__test_user_temperature_setpoint__", "created": 1675954652.1773944, "msecs": 177.39439010620117, "relativeCreated": 38073.63677024841, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing valve temperature setpoint to '18.0'", "asctime": "2023-02-09 15:57:32,177", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954651.875463, "msecs": 875.4630088806152, "relativeCreated": 37771.70538902283, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:31,875" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.8765883, "msecs": 876.5883445739746, "relativeCreated": 37772.83072471619, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:31,876" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 18}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.8955426, "msecs": 895.5426216125488, "relativeCreated": 37791.78500175476, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'", "asctime": "2023-02-09 15:57:31,895" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.8962796, "msecs": 896.2795734405518, "relativeCreated": 37792.521953582764, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:57:31,896" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.8969252, "msecs": 896.9252109527588, "relativeCreated": 37793.16759109497, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:31,896" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/user_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.8975601, "msecs": 897.5601196289062, "relativeCreated": 37793.80249977112, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:57:31,897" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.8981764, "msecs": 898.1764316558838, "relativeCreated": 37794.418811798096, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:31,898" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.898749, "msecs": 898.7491130828857, "relativeCreated": 37794.9914932251, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:31,898" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954651.8993642, "msecs": 899.3642330169678, "relativeCreated": 37795.60661315918, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:31,899" } ], "time_consumption": 0.2780301570892334 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "18", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954652.1780894, "msecs": 178.08938026428223, "relativeCreated": 38074.331760406494, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 18 and Type is ).", "asctime": "2023-02-09 15:57:32,178", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954652.177846, "msecs": 177.84595489501953, "relativeCreated": 38074.08833503723, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 18 ()", "asctime": "2023-02-09 15:57:32,177" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954652.177984, "msecs": 177.98399925231934, "relativeCreated": 38074.22637939453, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 18 ()", "asctime": "2023-02-09 15:57:32,177" } ], "time_consumption": 0.00010538101196289062 }, { "name": "__tLogger__", "msg": "Virtual device user temperature is correct (Content %s and Type is %s).", "args": [ "18", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954652.1784594, "msecs": 178.45940589904785, "relativeCreated": 38074.70178604126, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device user temperature is correct (Content 18 and Type is ).", "asctime": "2023-02-09 15:57:32,178", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device user temperature", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954652.1782691, "msecs": 178.2691478729248, "relativeCreated": 38074.51152801514, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device user temperature): 18 ()", "asctime": "2023-02-09 15:57:32,178" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device user temperature", "=", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954652.1783717, "msecs": 178.37166786193848, "relativeCreated": 38074.61404800415, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device user temperature): result = 18 ()", "asctime": "2023-02-09 15:57:32,178" } ], "time_consumption": 8.7738037109375e-05 }, { "name": "__tLogger__", "msg": "Changing videv user temperature setpoint to '%.1f'", "args": [ 23 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 41, "funcName": "__test_user_temperature_setpoint__", "created": 1675954652.479733, "msecs": 479.7329902648926, "relativeCreated": 38375.975370407104, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing videv user temperature setpoint to '23.0'", "asctime": "2023-02-09 15:57:32,479", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/user_temperature_setpoint", "23" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954652.1787586, "msecs": 178.7586212158203, "relativeCreated": 38075.00100135803, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload 23", "asctime": "2023-02-09 15:57:32,178" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.179859, "msecs": 179.85892295837402, "relativeCreated": 38076.101303100586, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:32,179" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.1981337, "msecs": 198.1337070465088, "relativeCreated": 38094.37608718872, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:57:32,198" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954652.198669, "msecs": 198.6689567565918, "relativeCreated": 38094.911336898804, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:32,198" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.1993146, "msecs": 199.31459426879883, "relativeCreated": 38095.55697441101, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:32,199" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.2000844, "msecs": 200.08444786071777, "relativeCreated": 38096.32682800293, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:32,200" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.2006717, "msecs": 200.67167282104492, "relativeCreated": 38096.91405296326, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:57:32,200" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.2013223, "msecs": 201.3223171234131, "relativeCreated": 38097.564697265625, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:32,201" }, { "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/bath/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.201901, "msecs": 201.90095901489258, "relativeCreated": 38098.143339157104, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:32,201" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.2497182, "msecs": 249.71818923950195, "relativeCreated": 38145.960569381714, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:32,249" }, { "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/bath/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.295039, "msecs": 295.03893852233887, "relativeCreated": 38191.28131866455, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:32,295" } ], "time_consumption": 0.1846940517425537 }, { "name": "__tLogger__", "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954652.4803185, "msecs": 480.318546295166, "relativeCreated": 38376.56092643738, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve device temperature setpoint is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:57:32,480", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve device temperature setpoint", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954652.4801066, "msecs": 480.1065921783447, "relativeCreated": 38376.34897232056, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve device temperature setpoint): 23 ()", "asctime": "2023-02-09 15:57:32,480" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve device temperature setpoint", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954652.4802258, "msecs": 480.2258014678955, "relativeCreated": 38376.46818161011, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve device temperature setpoint): result = 23 ()", "asctime": "2023-02-09 15:57:32,480" } ], "time_consumption": 9.274482727050781e-05 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954652.4806206, "msecs": 480.6206226348877, "relativeCreated": 38376.8630027771, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:57:32,480", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954652.4804647, "msecs": 480.4646968841553, "relativeCreated": 38376.70707702637, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 23 ()", "asctime": "2023-02-09 15:57:32,480" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954652.4805467, "msecs": 480.5467128753662, "relativeCreated": 38376.78909301758, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 23 ()", "asctime": "2023-02-09 15:57:32,480" } ], "time_consumption": 7.390975952148438e-05 } ], "time_consumption": 1.2123878002166748, "time_start": "2023-02-09 15:57:31,268", "time_finished": "2023-02-09 15:57:32,480" }, "Brightness test for device and virtual device: zigbee/ffw/julian/main_light": { "name": "__tLogger__", "msg": "Brightness test for device and virtual device: zigbee/ffw/julian/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_brightness", "created": 1675954652.4810905, "msecs": 481.0905456542969, "relativeCreated": 38377.33292579651, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness test for device and virtual device: zigbee/ffw/julian/main_light", "asctime": "2023-02-09 15:57:32,481", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 57, "funcName": "__test_brightness__", "created": 1675954652.7827115, "msecs": 782.7115058898926, "relativeCreated": 38678.953886032104, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:32,782", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954652.4813445, "msecs": 481.34446144104004, "relativeCreated": 38377.58684158325, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:32,481" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954652.4818687, "msecs": 481.8687438964844, "relativeCreated": 38378.111124038696, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:32,481" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.4827013, "msecs": 482.70130157470703, "relativeCreated": 38378.94368171692, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:32,482" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.4833016, "msecs": 483.30163955688477, "relativeCreated": 38379.5440196991, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:32,483" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.5256674, "msecs": 525.6674289703369, "relativeCreated": 38421.90980911255, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:32,525" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.5263767, "msecs": 526.3767242431641, "relativeCreated": 38422.619104385376, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:32,526" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.526918, "msecs": 526.9179344177246, "relativeCreated": 38423.16031455994, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:32,526" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.527473, "msecs": 527.472972869873, "relativeCreated": 38423.715353012085, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:32,527" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.5297961, "msecs": 529.7961235046387, "relativeCreated": 38426.03850364685, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:32,529" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.530447, "msecs": 530.4470062255859, "relativeCreated": 38426.6893863678, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:32,530" } ], "time_consumption": 0.25226449966430664 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954652.783395, "msecs": 783.3950519561768, "relativeCreated": 38679.63743209839, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:32,783", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954652.7831488, "msecs": 783.1487655639648, "relativeCreated": 38679.39114570618, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:32,783" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954652.7832882, "msecs": 783.2882404327393, "relativeCreated": 38679.53062057495, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:32,783" } ], "time_consumption": 0.0001068115234375 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954653.0856943, "msecs": 85.6943130493164, "relativeCreated": 38981.93669319153, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:33,085", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954652.7837508, "msecs": 783.7507724761963, "relativeCreated": 38679.99315261841, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:32,783" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.7848635, "msecs": 784.8634719848633, "relativeCreated": 38681.105852127075, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:32,784" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.7874553, "msecs": 787.4553203582764, "relativeCreated": 38683.69770050049, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:32,787" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954652.7881267, "msecs": 788.1267070770264, "relativeCreated": 38684.36908721924, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:32,788" } ], "time_consumption": 0.29756760597229004 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954653.086338, "msecs": 86.33804321289062, "relativeCreated": 38982.5804233551, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:33,086", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954653.086101, "msecs": 86.10105514526367, "relativeCreated": 38982.343435287476, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:33,086" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954653.086234, "msecs": 86.23409271240234, "relativeCreated": 38982.476472854614, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:33,086" } ], "time_consumption": 0.00010395050048828125 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954653.086736, "msecs": 86.73596382141113, "relativeCreated": 38982.97834396362, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:33,086", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954653.0865505, "msecs": 86.55047416687012, "relativeCreated": 38982.79285430908, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:33,086" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954653.0866482, "msecs": 86.64822578430176, "relativeCreated": 38982.890605926514, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:33,086" } ], "time_consumption": 8.7738037109375e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954653.388924, "msecs": 388.92388343811035, "relativeCreated": 39285.16626358032, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:33,388", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954653.0870214, "msecs": 87.0213508605957, "relativeCreated": 38983.26373100281, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/julian/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:33,087" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.0880852, "msecs": 88.08517456054688, "relativeCreated": 38984.32755470276, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:33,088" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.089875, "msecs": 89.8749828338623, "relativeCreated": 38986.117362976074, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:33,089" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954653.0903485, "msecs": 90.34848213195801, "relativeCreated": 38986.59086227417, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:33,090" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.0913472, "msecs": 91.34721755981445, "relativeCreated": 38987.58959770203, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:33,091" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.1363544, "msecs": 136.3544464111328, "relativeCreated": 39032.596826553345, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:33,136" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.1370947, "msecs": 137.09473609924316, "relativeCreated": 39033.337116241455, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:33,137" } ], "time_consumption": 0.2518291473388672 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954653.3896477, "msecs": 389.6477222442627, "relativeCreated": 39285.890102386475, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:33,389", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954653.3893926, "msecs": 389.392614364624, "relativeCreated": 39285.634994506836, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:33,389" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954653.3895268, "msecs": 389.5268440246582, "relativeCreated": 39285.76922416687, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:33,389" } ], "time_consumption": 0.00012087821960449219 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954653.390004, "msecs": 390.00391960144043, "relativeCreated": 39286.24629974365, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:33,390", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954653.389818, "msecs": 389.8179531097412, "relativeCreated": 39286.06033325195, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:33,389" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954653.3899152, "msecs": 389.91522789001465, "relativeCreated": 39286.15760803223, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:33,389" } ], "time_consumption": 8.869171142578125e-05 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954653.6913967, "msecs": 691.3967132568359, "relativeCreated": 39587.63909339905, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:33,691", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954653.390348, "msecs": 390.347957611084, "relativeCreated": 39286.590337753296, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:33,390" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.3914418, "msecs": 391.44182205200195, "relativeCreated": 39287.684202194214, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:33,391" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.393936, "msecs": 393.9359188079834, "relativeCreated": 39290.178298950195, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:33,393" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.3946078, "msecs": 394.6077823638916, "relativeCreated": 39290.8501625061, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:33,394" } ], "time_consumption": 0.29678893089294434 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954653.6920688, "msecs": 692.0688152313232, "relativeCreated": 39588.311195373535, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:33,692", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954653.6918323, "msecs": 691.8323040008545, "relativeCreated": 39588.07468414307, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:33,691" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954653.6919649, "msecs": 691.964864730835, "relativeCreated": 39588.20724487305, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:33,691" } ], "time_consumption": 0.00010395050048828125 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954653.6924512, "msecs": 692.4512386322021, "relativeCreated": 39588.693618774414, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:33,692", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954653.692238, "msecs": 692.2380924224854, "relativeCreated": 39588.4804725647, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:33,692" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954653.692355, "msecs": 692.3549175262451, "relativeCreated": 39588.59729766846, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:33,692" } ], "time_consumption": 9.632110595703125e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954653.9947226, "msecs": 994.7226047515869, "relativeCreated": 39890.9649848938, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:33,994", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954653.6927354, "msecs": 692.7354335784912, "relativeCreated": 39588.9778137207, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/julian/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:33,692" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.693818, "msecs": 693.8180923461914, "relativeCreated": 39590.0604724884, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:33,693" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.6955602, "msecs": 695.5602169036865, "relativeCreated": 39591.8025970459, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:33,695" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954653.6960094, "msecs": 696.0093975067139, "relativeCreated": 39592.251777648926, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:33,696" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.6970077, "msecs": 697.0076560974121, "relativeCreated": 39593.250036239624, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:33,697" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.740215, "msecs": 740.2150630950928, "relativeCreated": 39636.457443237305, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:33,740" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.7409718, "msecs": 740.9718036651611, "relativeCreated": 39637.21418380737, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:33,740" } ], "time_consumption": 0.2537508010864258 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954653.9954069, "msecs": 995.4068660736084, "relativeCreated": 39891.64924621582, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:33,995", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954653.9951296, "msecs": 995.1295852661133, "relativeCreated": 39891.371965408325, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:33,995" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954653.9952638, "msecs": 995.2638149261475, "relativeCreated": 39891.50619506836, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:33,995" } ], "time_consumption": 0.0001430511474609375 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "__test_brightness__", "created": 1675954654.297626, "msecs": 297.6260185241699, "relativeCreated": 40193.86839866638, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:34,297", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954653.9956596, "msecs": 995.659589767456, "relativeCreated": 39891.90196990967, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:33,995" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.996779, "msecs": 996.7789649963379, "relativeCreated": 39893.02134513855, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:33,996" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.9989552, "msecs": 998.955249786377, "relativeCreated": 39895.19762992859, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:33,998" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954653.999632, "msecs": 999.6318817138672, "relativeCreated": 39895.87426185608, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:33,999" } ], "time_consumption": 0.29799413681030273 } ], "time_consumption": 1.816535472869873, "time_start": "2023-02-09 15:57:32,481", "time_finished": "2023-02-09 15:57:34,297" }, "Color temperature test for device and virtual device: zigbee/ffw/julian/main_light": { "name": "__tLogger__", "msg": "Color temperature test for device and virtual device: zigbee/ffw/julian/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "test_color_temp", "created": 1675954654.2983677, "msecs": 298.3677387237549, "relativeCreated": 40194.61011886597, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Color temperature test for device and virtual device: zigbee/ffw/julian/main_light", "asctime": "2023-02-09 15:57:34,298", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 88, "funcName": "__test_color_temp__", "created": 1675954654.601112, "msecs": 601.111888885498, "relativeCreated": 40497.35426902771, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:34,601", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954654.298687, "msecs": 298.6869812011719, "relativeCreated": 40194.929361343384, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:34,298" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954654.2992597, "msecs": 299.2596626281738, "relativeCreated": 40195.502042770386, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:34,299" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.3002572, "msecs": 300.25720596313477, "relativeCreated": 40196.49958610535, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:34,300" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.3009248, "msecs": 300.92477798461914, "relativeCreated": 40197.16715812683, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:34,300" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.3416517, "msecs": 341.65167808532715, "relativeCreated": 40237.89405822754, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:34,341" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.3423607, "msecs": 342.3607349395752, "relativeCreated": 40238.60311508179, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:34,342" } ], "time_consumption": 0.25875115394592285 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954654.6016798, "msecs": 601.679801940918, "relativeCreated": 40497.92218208313, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:34,601", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954654.601467, "msecs": 601.4668941497803, "relativeCreated": 40497.70927429199, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:34,601" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954654.6015866, "msecs": 601.5865802764893, "relativeCreated": 40497.8289604187, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:34,601" } ], "time_consumption": 9.322166442871094e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954654.903883, "msecs": 903.8829803466797, "relativeCreated": 40800.12536048889, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:34,903", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954654.6020005, "msecs": 602.0004749298096, "relativeCreated": 40498.24285507202, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:34,602" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.6029603, "msecs": 602.9603481292725, "relativeCreated": 40499.202728271484, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:34,602" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.6052377, "msecs": 605.2377223968506, "relativeCreated": 40501.48010253906, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:34,605" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.605849, "msecs": 605.849027633667, "relativeCreated": 40502.09140777588, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:34,605" } ], "time_consumption": 0.2980339527130127 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954654.9045208, "msecs": 904.5207500457764, "relativeCreated": 40800.76313018799, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:34,904", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954654.9042847, "msecs": 904.2847156524658, "relativeCreated": 40800.52709579468, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:34,904" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954654.9044173, "msecs": 904.4172763824463, "relativeCreated": 40800.65965652466, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:34,904" } ], "time_consumption": 0.00010347366333007812 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954654.904873, "msecs": 904.8728942871094, "relativeCreated": 40801.11527442932, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:34,904", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954654.9046896, "msecs": 904.6895503997803, "relativeCreated": 40800.93193054199, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:34,904" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954654.9047859, "msecs": 904.7858715057373, "relativeCreated": 40801.02825164795, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:34,904" } ], "time_consumption": 8.702278137207031e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954655.2071211, "msecs": 207.1211338043213, "relativeCreated": 41103.36351394653, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:35,207", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954654.905195, "msecs": 905.1949977874756, "relativeCreated": 40801.43737792969, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/julian/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:57:34,905" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.9062855, "msecs": 906.2855243682861, "relativeCreated": 40802.5279045105, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:34,906" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.907964, "msecs": 907.9639911651611, "relativeCreated": 40804.20637130737, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:34,907" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954654.908434, "msecs": 908.4339141845703, "relativeCreated": 40804.67629432678, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:34,908" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.9094582, "msecs": 909.4581604003906, "relativeCreated": 40805.7005405426, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:34,909" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.9535675, "msecs": 953.5675048828125, "relativeCreated": 40849.809885025024, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:34,953" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954654.9542112, "msecs": 954.2112350463867, "relativeCreated": 40850.4536151886, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:34,954" } ], "time_consumption": 0.25290989875793457 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954655.2076976, "msecs": 207.69762992858887, "relativeCreated": 41103.9400100708, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:35,207", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954655.2074883, "msecs": 207.4882984161377, "relativeCreated": 41103.73067855835, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:35,207" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954655.2076054, "msecs": 207.60536193847656, "relativeCreated": 41103.84774208069, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:35,207" } ], "time_consumption": 9.226799011230469e-05 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954655.2080593, "msecs": 208.05931091308594, "relativeCreated": 41104.3016910553, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:35,208", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954655.2078779, "msecs": 207.87787437438965, "relativeCreated": 41104.1202545166, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:35,207" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954655.2079744, "msecs": 207.97443389892578, "relativeCreated": 41104.21681404114, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:35,207" } ], "time_consumption": 8.487701416015625e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954655.5097334, "msecs": 509.7334384918213, "relativeCreated": 41405.97581863403, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:35,509", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954655.2088177, "msecs": 208.817720413208, "relativeCreated": 41105.06010055542, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:35,208" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954655.2098067, "msecs": 209.8066806793213, "relativeCreated": 41106.04906082153, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:35,209" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954655.2120283, "msecs": 212.02826499938965, "relativeCreated": 41108.2706451416, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:35,212" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954655.2126195, "msecs": 212.61954307556152, "relativeCreated": 41108.86192321777, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:35,212" } ], "time_consumption": 0.29711389541625977 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954655.5103092, "msecs": 510.30921936035156, "relativeCreated": 41406.55159950256, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:35,510", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954655.5101013, "msecs": 510.101318359375, "relativeCreated": 41406.34369850159, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:35,510" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954655.5102177, "msecs": 510.21766662597656, "relativeCreated": 41406.46004676819, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:35,510" } ], "time_consumption": 9.1552734375e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954655.5106542, "msecs": 510.6542110443115, "relativeCreated": 41406.89659118652, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:35,510", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954655.5104558, "msecs": 510.455846786499, "relativeCreated": 41406.69822692871, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:35,510" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954655.5105426, "msecs": 510.542631149292, "relativeCreated": 41406.785011291504, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:35,510" } ], "time_consumption": 0.00011157989501953125 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954655.812786, "msecs": 812.7861022949219, "relativeCreated": 41709.028482437134, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:35,812", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954655.510908, "msecs": 510.9078884124756, "relativeCreated": 41407.15026855469, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/julian/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:57:35,510" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954655.5118806, "msecs": 511.88063621520996, "relativeCreated": 41408.12301635742, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:35,511" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954655.5134518, "msecs": 513.4518146514893, "relativeCreated": 41409.6941947937, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:35,513" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954655.5138466, "msecs": 513.8466358184814, "relativeCreated": 41410.08901596069, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:35,513" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954655.514752, "msecs": 514.7519111633301, "relativeCreated": 41410.99429130554, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:35,514" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954655.5576766, "msecs": 557.6765537261963, "relativeCreated": 41453.91893386841, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:35,557" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954655.5583644, "msecs": 558.3643913269043, "relativeCreated": 41454.606771469116, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:35,558" } ], "time_consumption": 0.2544217109680176 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954655.8134644, "msecs": 813.4644031524658, "relativeCreated": 41709.70678329468, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:35,813", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954655.8132162, "msecs": 813.2162094116211, "relativeCreated": 41709.45858955383, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:35,813" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954655.813339, "msecs": 813.3389949798584, "relativeCreated": 41709.58137512207, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:35,813" } ], "time_consumption": 0.00012540817260742188 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 105, "funcName": "__test_color_temp__", "created": 1675954656.1155834, "msecs": 115.58341979980469, "relativeCreated": 42011.82579994202, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:36,115", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954655.8136852, "msecs": 813.6851787567139, "relativeCreated": 41709.927558898926, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:35,813" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954655.814682, "msecs": 814.6820068359375, "relativeCreated": 41710.92438697815, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:35,814" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954655.816591, "msecs": 816.5910243988037, "relativeCreated": 41712.833404541016, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:35,816" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954655.817197, "msecs": 817.1970844268799, "relativeCreated": 41713.43946456909, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:35,817" } ], "time_consumption": 0.2983863353729248 } ], "time_consumption": 1.8172156810760498, "time_start": "2023-02-09 15:57:34,298", "time_finished": "2023-02-09 15:57:36,115" }, "Power On/ Off test for device and virtual device: shellies/ffw/julian/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/ffw/julian/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954656.116253, "msecs": 116.25289916992188, "relativeCreated": 42012.495279312134, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/ffw/julian/main_light", "asctime": "2023-02-09 15:57:36,116", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954656.1167045, "msecs": 116.70446395874023, "relativeCreated": 42012.94684410095, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:36,116", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954656.116495, "msecs": 116.49489402770996, "relativeCreated": 42012.73727416992, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:36,116" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954656.1166103, "msecs": 116.61028861999512, "relativeCreated": 42012.85266876221, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:36,116" } ], "time_consumption": 9.417533874511719e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954656.4181414, "msecs": 418.14136505126953, "relativeCreated": 42314.38374519348, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:36,418", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954656.1169088, "msecs": 116.90878868103027, "relativeCreated": 42013.15116882324, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:36,116" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954656.1174264, "msecs": 117.42639541625977, "relativeCreated": 42013.66877555847, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:36,117" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.1182766, "msecs": 118.27659606933594, "relativeCreated": 42014.51897621155, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:36,118" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.1188688, "msecs": 118.86882781982422, "relativeCreated": 42015.111207962036, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:36,118" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.161559, "msecs": 161.5591049194336, "relativeCreated": 42057.801485061646, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:36,161" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.1622417, "msecs": 162.24169731140137, "relativeCreated": 42058.48407745361, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:36,162" } ], "time_consumption": 0.25589966773986816 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954656.4187179, "msecs": 418.7178611755371, "relativeCreated": 42314.96024131775, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:36,418", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954656.4185076, "msecs": 418.50757598876953, "relativeCreated": 42314.74995613098, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:36,418" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954656.4186242, "msecs": 418.6241626739502, "relativeCreated": 42314.86654281616, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:36,418" } ], "time_consumption": 9.369850158691406e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954656.4190242, "msecs": 419.0242290496826, "relativeCreated": 42315.266609191895, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:36,419", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954656.418865, "msecs": 418.8649654388428, "relativeCreated": 42315.107345581055, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:36,418" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954656.418949, "msecs": 418.9488887786865, "relativeCreated": 42315.1912689209, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:36,418" } ], "time_consumption": 7.534027099609375e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954656.7202194, "msecs": 720.2193737030029, "relativeCreated": 42616.461753845215, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:36,720", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954656.419266, "msecs": 419.2659854888916, "relativeCreated": 42315.5083656311, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/julian/main_light/state and payload false", "asctime": "2023-02-09 15:57:36,419" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.4202561, "msecs": 420.2561378479004, "relativeCreated": 42316.49851799011, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:36,420" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.421805, "msecs": 421.80490493774414, "relativeCreated": 42318.047285079956, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/julian/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:36,421" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954656.4221458, "msecs": 422.1458435058594, "relativeCreated": 42318.38822364807, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:36,422" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.4230797, "msecs": 423.0797290802002, "relativeCreated": 42319.32210922241, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:36,423" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.4673653, "msecs": 467.3652648925781, "relativeCreated": 42363.60764503479, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:36,467" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.4682314, "msecs": 468.2314395904541, "relativeCreated": 42364.473819732666, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:36,468" } ], "time_consumption": 0.25198793411254883 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954656.7208252, "msecs": 720.8251953125, "relativeCreated": 42617.06757545471, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:36,720", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954656.7205865, "msecs": 720.5865383148193, "relativeCreated": 42616.82891845703, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:36,720" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954656.7207062, "msecs": 720.7062244415283, "relativeCreated": 42616.94860458374, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:36,720" } ], "time_consumption": 0.00011897087097167969 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954656.7212002, "msecs": 721.2002277374268, "relativeCreated": 42617.44260787964, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:36,721", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954656.7209773, "msecs": 720.9773063659668, "relativeCreated": 42617.21968650818, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:36,720" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954656.7211158, "msecs": 721.1158275604248, "relativeCreated": 42617.35820770264, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:36,721" } ], "time_consumption": 8.440017700195312e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954657.0236878, "msecs": 23.68783950805664, "relativeCreated": 42919.93021965027, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:37,023", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954656.72141, "msecs": 721.4100360870361, "relativeCreated": 42617.65241622925, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:36,721" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954656.7219055, "msecs": 721.9054698944092, "relativeCreated": 42618.14785003662, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:36,721" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.7227697, "msecs": 722.7697372436523, "relativeCreated": 42619.012117385864, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:36,722" }, { "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/julian/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.7239015, "msecs": 723.9015102386475, "relativeCreated": 42620.14389038086, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:36,723" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.765668, "msecs": 765.6679153442383, "relativeCreated": 42661.91029548645, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:36,765" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954656.7663367, "msecs": 766.3366794586182, "relativeCreated": 42662.57905960083, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:36,766" } ], "time_consumption": 0.2573511600494385 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954657.0243, "msecs": 24.300098419189453, "relativeCreated": 42920.5424785614, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:37,024", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954657.0240564, "msecs": 24.056434631347656, "relativeCreated": 42920.29881477356, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:37,024" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954657.0241756, "msecs": 24.175643920898438, "relativeCreated": 42920.41802406311, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:37,024" } ], "time_consumption": 0.00012445449829101562 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954657.0246174, "msecs": 24.617433547973633, "relativeCreated": 42920.859813690186, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:37,024", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954657.0244558, "msecs": 24.455785751342773, "relativeCreated": 42920.698165893555, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:37,024" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954657.0245419, "msecs": 24.541854858398438, "relativeCreated": 42920.78423500061, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:37,024" } ], "time_consumption": 7.557868957519531e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954657.32568, "msecs": 325.6800174713135, "relativeCreated": 43221.922397613525, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:37,325", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954657.024875, "msecs": 24.87492561340332, "relativeCreated": 42921.117305755615, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/julian/main_light/state and payload false", "asctime": "2023-02-09 15:57:37,024" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.0258079, "msecs": 25.807857513427734, "relativeCreated": 42922.05023765564, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:37,025" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.0272288, "msecs": 27.228832244873047, "relativeCreated": 42923.471212387085, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/julian/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:37,027" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954657.0275686, "msecs": 27.568578720092773, "relativeCreated": 42923.810958862305, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:37,027" }, { "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/julian/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.0285223, "msecs": 28.522253036499023, "relativeCreated": 42924.76463317871, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:37,028" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.0718534, "msecs": 71.8533992767334, "relativeCreated": 42968.095779418945, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:37,071" }, { "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/julian/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.0724936, "msecs": 72.4935531616211, "relativeCreated": 42968.73593330383, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:37,072" } ], "time_consumption": 0.2531864643096924 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954657.3262603, "msecs": 326.2603282928467, "relativeCreated": 43222.50270843506, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:37,326", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954657.3260477, "msecs": 326.0476589202881, "relativeCreated": 43222.2900390625, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:37,326" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954657.3261647, "msecs": 326.16472244262695, "relativeCreated": 43222.40710258484, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:37,326" } ], "time_consumption": 9.560585021972656e-05 } ], "time_consumption": 1.2100074291229248, "time_start": "2023-02-09 15:57:36,116", "time_finished": "2023-02-09 15:57:37,326" }, "Brightness test for device and virtual device: zigbee/ffw/livingroom/main_light": { "name": "__tLogger__", "msg": "Brightness test for device and virtual device: zigbee/ffw/livingroom/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_brightness", "created": 1675954657.3269413, "msecs": 326.94125175476074, "relativeCreated": 43223.18363189697, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness test for device and virtual device: zigbee/ffw/livingroom/main_light", "asctime": "2023-02-09 15:57:37,326", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 57, "funcName": "__test_brightness__", "created": 1675954657.629661, "msecs": 629.6610832214355, "relativeCreated": 43525.90346336365, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:37,629", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954657.3272767, "msecs": 327.27670669555664, "relativeCreated": 43223.51908683777, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:37,327" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954657.3278747, "msecs": 327.87466049194336, "relativeCreated": 43224.117040634155, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:37,327" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.3287373, "msecs": 328.7372589111328, "relativeCreated": 43224.979639053345, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:37,328" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.3293607, "msecs": 329.3607234954834, "relativeCreated": 43225.603103637695, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:37,329" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.3695412, "msecs": 369.5411682128906, "relativeCreated": 43265.7835483551, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:37,369" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.3701627, "msecs": 370.1627254486084, "relativeCreated": 43266.40510559082, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:37,370" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.3707075, "msecs": 370.70751190185547, "relativeCreated": 43266.94989204407, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:37,370" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.371171, "msecs": 371.1709976196289, "relativeCreated": 43267.41337776184, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:37,371" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.3716297, "msecs": 371.6297149658203, "relativeCreated": 43267.87209510803, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:37,371" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.372121, "msecs": 372.12109565734863, "relativeCreated": 43268.36347579956, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:37,372" } ], "time_consumption": 0.2575399875640869 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954657.6302376, "msecs": 630.2375793457031, "relativeCreated": 43526.479959487915, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:37,630", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954657.630023, "msecs": 630.0230026245117, "relativeCreated": 43526.26538276672, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:37,630" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954657.6301422, "msecs": 630.1422119140625, "relativeCreated": 43526.384592056274, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:37,630" } ], "time_consumption": 9.5367431640625e-05 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954657.9314673, "msecs": 931.4672946929932, "relativeCreated": 43827.709674835205, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:37,931", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954657.6305735, "msecs": 630.5735111236572, "relativeCreated": 43526.81589126587, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:37,630" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.631592, "msecs": 631.5920352935791, "relativeCreated": 43527.83441543579, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:37,631" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.633881, "msecs": 633.8810920715332, "relativeCreated": 43530.123472213745, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:37,633" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.6344767, "msecs": 634.4766616821289, "relativeCreated": 43530.71904182434, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:37,634" } ], "time_consumption": 0.29699063301086426 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954657.9321084, "msecs": 932.1084022521973, "relativeCreated": 43828.35078239441, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:37,932", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954657.9318666, "msecs": 931.8666458129883, "relativeCreated": 43828.1090259552, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:37,931" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954657.9319997, "msecs": 931.999683380127, "relativeCreated": 43828.24206352234, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:37,931" } ], "time_consumption": 0.0001087188720703125 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954657.932466, "msecs": 932.4660301208496, "relativeCreated": 43828.70841026306, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:37,932", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954657.932279, "msecs": 932.279109954834, "relativeCreated": 43828.521490097046, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:37,932" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954657.9323785, "msecs": 932.3785305023193, "relativeCreated": 43828.62091064453, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:37,932" } ], "time_consumption": 8.749961853027344e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954658.2339947, "msecs": 233.994722366333, "relativeCreated": 44130.237102508545, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:38,233", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954657.9327807, "msecs": 932.7807426452637, "relativeCreated": 43829.023122787476, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/livingroom/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:37,932" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.9339035, "msecs": 933.9034557342529, "relativeCreated": 43830.145835876465, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:37,933" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.9357293, "msecs": 935.7292652130127, "relativeCreated": 43831.971645355225, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:37,935" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954657.9361854, "msecs": 936.185359954834, "relativeCreated": 43832.427740097046, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:37,936" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.937219, "msecs": 937.2189044952393, "relativeCreated": 43833.46128463745, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:37,937" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.9801517, "msecs": 980.1516532897949, "relativeCreated": 43876.39403343201, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:37,980" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954657.9807987, "msecs": 980.7987213134766, "relativeCreated": 43877.04110145569, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:37,980" } ], "time_consumption": 0.25319600105285645 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954658.2345746, "msecs": 234.574556350708, "relativeCreated": 44130.81693649292, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:38,234", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954658.23436, "msecs": 234.3599796295166, "relativeCreated": 44130.60235977173, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:38,234" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954658.2344794, "msecs": 234.47942733764648, "relativeCreated": 44130.72180747986, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:38,234" } ], "time_consumption": 9.512901306152344e-05 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954658.234913, "msecs": 234.91311073303223, "relativeCreated": 44131.155490875244, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:38,234", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954658.2347236, "msecs": 234.72356796264648, "relativeCreated": 44130.96594810486, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:38,234" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954658.234809, "msecs": 234.80892181396484, "relativeCreated": 44131.05130195618, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:38,234" } ], "time_consumption": 0.00010418891906738281 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954658.5360186, "msecs": 536.0186100006104, "relativeCreated": 44432.26099014282, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:38,536", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954658.2352183, "msecs": 235.21828651428223, "relativeCreated": 44131.460666656494, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:38,235" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954658.2362087, "msecs": 236.20867729187012, "relativeCreated": 44132.45105743408, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:38,236" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954658.2385008, "msecs": 238.50083351135254, "relativeCreated": 44134.743213653564, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:38,238" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954658.239118, "msecs": 239.11809921264648, "relativeCreated": 44135.36047935486, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:38,239" } ], "time_consumption": 0.29690051078796387 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954658.5367303, "msecs": 536.7302894592285, "relativeCreated": 44432.97266960144, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:38,536", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954658.536499, "msecs": 536.4990234375, "relativeCreated": 44432.74140357971, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:38,536" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954658.5366323, "msecs": 536.6322994232178, "relativeCreated": 44432.87467956543, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:38,536" } ], "time_consumption": 9.799003601074219e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954658.537103, "msecs": 537.1029376983643, "relativeCreated": 44433.345317840576, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:38,537", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954658.5368876, "msecs": 536.8876457214355, "relativeCreated": 44433.13002586365, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:38,536" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954658.536976, "msecs": 536.9760990142822, "relativeCreated": 44433.218479156494, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:38,536" } ], "time_consumption": 0.00012683868408203125 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954658.838181, "msecs": 838.1810188293457, "relativeCreated": 44734.42339897156, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:38,838", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954658.5373645, "msecs": 537.3644828796387, "relativeCreated": 44433.60686302185, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/livingroom/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:38,537" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954658.5383599, "msecs": 538.3598804473877, "relativeCreated": 44434.6022605896, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:38,538" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954658.5400057, "msecs": 540.0056838989258, "relativeCreated": 44436.24806404114, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:38,540" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954658.5404186, "msecs": 540.4186248779297, "relativeCreated": 44436.66100502014, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:38,540" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954658.541326, "msecs": 541.3260459899902, "relativeCreated": 44437.5684261322, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:38,541" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954658.5840871, "msecs": 584.0871334075928, "relativeCreated": 44480.329513549805, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:38,584" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954658.5847366, "msecs": 584.7365856170654, "relativeCreated": 44480.97896575928, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:38,584" } ], "time_consumption": 0.2534444332122803 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954658.8387892, "msecs": 838.7892246246338, "relativeCreated": 44735.031604766846, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:38,838", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954658.8385468, "msecs": 838.5467529296875, "relativeCreated": 44734.7891330719, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:38,838" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954658.838666, "msecs": 838.6659622192383, "relativeCreated": 44734.90834236145, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:38,838" } ], "time_consumption": 0.0001232624053955078 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "__test_brightness__", "created": 1675954659.1398425, "msecs": 139.84251022338867, "relativeCreated": 45036.0848903656, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:39,139", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954658.8390126, "msecs": 839.012622833252, "relativeCreated": 44735.255002975464, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:38,839" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954658.840032, "msecs": 840.0321006774902, "relativeCreated": 44736.2744808197, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:38,840" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954658.8419948, "msecs": 841.9947624206543, "relativeCreated": 44738.237142562866, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:38,841" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954658.8425846, "msecs": 842.5846099853516, "relativeCreated": 44738.82699012756, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:38,842" } ], "time_consumption": 0.2972579002380371 } ], "time_consumption": 1.812901258468628, "time_start": "2023-02-09 15:57:37,326", "time_finished": "2023-02-09 15:57:39,139" }, "Color temperature test for device and virtual device: zigbee/ffw/livingroom/main_light": { "name": "__tLogger__", "msg": "Color temperature test for device and virtual device: zigbee/ffw/livingroom/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "test_color_temp", "created": 1675954659.1404605, "msecs": 140.46049118041992, "relativeCreated": 45036.70287132263, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Color temperature test for device and virtual device: zigbee/ffw/livingroom/main_light", "asctime": "2023-02-09 15:57:39,140", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 88, "funcName": "__test_color_temp__", "created": 1675954659.44356, "msecs": 443.5598850250244, "relativeCreated": 45339.802265167236, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:39,443", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954659.1407804, "msecs": 140.78044891357422, "relativeCreated": 45037.022829055786, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:39,140" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954659.141657, "msecs": 141.65711402893066, "relativeCreated": 45037.89949417114, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:39,141" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.1421933, "msecs": 142.19331741333008, "relativeCreated": 45038.43569755554, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:39,142" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.143154, "msecs": 143.15390586853027, "relativeCreated": 45039.39628601074, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:39,143" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.185573, "msecs": 185.57310104370117, "relativeCreated": 45081.81548118591, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:39,185" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.1862419, "msecs": 186.24186515808105, "relativeCreated": 45082.48424530029, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:39,186" } ], "time_consumption": 0.25731801986694336 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954659.4441295, "msecs": 444.12946701049805, "relativeCreated": 45340.37184715271, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:39,444", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954659.4439113, "msecs": 443.9113140106201, "relativeCreated": 45340.15369415283, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:39,443" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954659.444034, "msecs": 444.0340995788574, "relativeCreated": 45340.27647972107, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:39,444" } ], "time_consumption": 9.5367431640625e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954659.7452383, "msecs": 745.2383041381836, "relativeCreated": 45641.480684280396, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:39,745", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954659.4444718, "msecs": 444.4718360900879, "relativeCreated": 45340.7142162323, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:39,444" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.4454632, "msecs": 445.4631805419922, "relativeCreated": 45341.705560684204, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:39,445" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.4477086, "msecs": 447.7086067199707, "relativeCreated": 45343.95098686218, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:39,447" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.4483006, "msecs": 448.3006000518799, "relativeCreated": 45344.54298019409, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:39,448" } ], "time_consumption": 0.2969377040863037 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954659.7459142, "msecs": 745.9142208099365, "relativeCreated": 45642.15660095215, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:39,745", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954659.7456594, "msecs": 745.659351348877, "relativeCreated": 45641.90173149109, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:39,745" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954659.7458177, "msecs": 745.8176612854004, "relativeCreated": 45642.06004142761, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:39,745" } ], "time_consumption": 9.655952453613281e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954659.7462525, "msecs": 746.2525367736816, "relativeCreated": 45642.49491691589, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:39,746", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954659.7460685, "msecs": 746.0684776306152, "relativeCreated": 45642.31085777283, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:39,746" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954659.7461712, "msecs": 746.171236038208, "relativeCreated": 45642.41361618042, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:39,746" } ], "time_consumption": 8.130073547363281e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954660.0484042, "msecs": 48.40421676635742, "relativeCreated": 45944.64659690857, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:40,048", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954659.7465208, "msecs": 746.5207576751709, "relativeCreated": 45642.76313781738, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/livingroom/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:57:39,746" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.7474682, "msecs": 747.4682331085205, "relativeCreated": 45643.71061325073, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:39,747" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.7491274, "msecs": 749.1273880004883, "relativeCreated": 45645.3697681427, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:39,749" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954659.749571, "msecs": 749.5710849761963, "relativeCreated": 45645.81346511841, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:39,749" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.7511103, "msecs": 751.110315322876, "relativeCreated": 45647.35269546509, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:39,751" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.7937121, "msecs": 793.7121391296387, "relativeCreated": 45689.95451927185, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:39,793" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954659.7943952, "msecs": 794.3952083587646, "relativeCreated": 45690.63758850098, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:39,794" } ], "time_consumption": 0.2540090084075928 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954660.0490801, "msecs": 49.08013343811035, "relativeCreated": 45945.32251358032, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:40,049", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954660.0488105, "msecs": 48.810482025146484, "relativeCreated": 45945.05286216736, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:40,048" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954660.048947, "msecs": 48.94709587097168, "relativeCreated": 45945.18947601318, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:40,048" } ], "time_consumption": 0.00013303756713867188 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954660.049445, "msecs": 49.44491386413574, "relativeCreated": 45945.68729400635, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:40,049", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954660.0492582, "msecs": 49.25823211669922, "relativeCreated": 45945.50061225891, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:40,049" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954660.0493562, "msecs": 49.35622215270996, "relativeCreated": 45945.59860229492, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:40,049" } ], "time_consumption": 8.869171142578125e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954660.350735, "msecs": 350.7349491119385, "relativeCreated": 46246.97732925415, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:40,350", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954660.0497906, "msecs": 49.79062080383301, "relativeCreated": 45946.033000946045, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:40,049" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.0508792, "msecs": 50.87924003601074, "relativeCreated": 45947.12162017822, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:40,050" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.0534532, "msecs": 53.45320701599121, "relativeCreated": 45949.6955871582, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:40,053" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.0540786, "msecs": 54.07857894897461, "relativeCreated": 45950.32095909119, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:40,054" } ], "time_consumption": 0.29665637016296387 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954660.3512957, "msecs": 351.29570960998535, "relativeCreated": 46247.5380897522, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:40,351", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954660.351086, "msecs": 351.085901260376, "relativeCreated": 46247.32828140259, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:40,351" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954660.3512022, "msecs": 351.20224952697754, "relativeCreated": 46247.44462966919, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:40,351" } ], "time_consumption": 9.34600830078125e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954660.351632, "msecs": 351.63211822509766, "relativeCreated": 46247.87449836731, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:40,351", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954660.3514678, "msecs": 351.4678478240967, "relativeCreated": 46247.71022796631, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:40,351" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954660.3515558, "msecs": 351.55582427978516, "relativeCreated": 46247.798204422, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:40,351" } ], "time_consumption": 7.62939453125e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954660.6528194, "msecs": 652.8193950653076, "relativeCreated": 46549.06177520752, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:40,652", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954660.3518832, "msecs": 351.8831729888916, "relativeCreated": 46248.1255531311, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/livingroom/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:57:40,351" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.3528116, "msecs": 352.8115749359131, "relativeCreated": 46249.053955078125, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:40,352" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.354333, "msecs": 354.33292388916016, "relativeCreated": 46250.57530403137, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:40,354" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954660.3547368, "msecs": 354.7368049621582, "relativeCreated": 46250.97918510437, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:40,354" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.3556066, "msecs": 355.6065559387207, "relativeCreated": 46251.84893608093, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:40,355" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.4003549, "msecs": 400.35486221313477, "relativeCreated": 46296.59724235535, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:40,400" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.4010189, "msecs": 401.0188579559326, "relativeCreated": 46297.261238098145, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:40,401" } ], "time_consumption": 0.251800537109375 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954660.653452, "msecs": 653.4519195556641, "relativeCreated": 46549.694299697876, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:40,653", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954660.6532238, "msecs": 653.2237529754639, "relativeCreated": 46549.466133117676, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:40,653" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954660.6533518, "msecs": 653.3517837524414, "relativeCreated": 46549.59416389465, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:40,653" } ], "time_consumption": 0.00010013580322265625 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 105, "funcName": "__test_color_temp__", "created": 1675954660.9546642, "msecs": 954.6642303466797, "relativeCreated": 46850.90661048889, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:40,954", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954660.653677, "msecs": 653.6769866943359, "relativeCreated": 46549.91936683655, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:40,653" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.6546857, "msecs": 654.6857357025146, "relativeCreated": 46550.92811584473, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:40,654" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.6566057, "msecs": 656.6057205200195, "relativeCreated": 46552.84810066223, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:40,656" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.6572106, "msecs": 657.2105884552002, "relativeCreated": 46553.45296859741, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:40,657" } ], "time_consumption": 0.2974536418914795 } ], "time_consumption": 1.8142037391662598, "time_start": "2023-02-09 15:57:39,140", "time_finished": "2023-02-09 15:57:40,954" }, "Power On/ Off test for device and virtual device: shellies/ffw/livingroom/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/ffw/livingroom/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954660.9553144, "msecs": 955.3143978118896, "relativeCreated": 46851.5567779541, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/ffw/livingroom/main_light", "asctime": "2023-02-09 15:57:40,955", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954660.9557614, "msecs": 955.7614326477051, "relativeCreated": 46852.00381278992, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:40,955", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954660.955541, "msecs": 955.5408954620361, "relativeCreated": 46851.78327560425, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:40,955" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954660.9556568, "msecs": 955.6567668914795, "relativeCreated": 46851.89914703369, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:40,955" } ], "time_consumption": 0.00010466575622558594 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954661.2582905, "msecs": 258.29052925109863, "relativeCreated": 47154.53290939331, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:41,258", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954660.955972, "msecs": 955.9719562530518, "relativeCreated": 46852.214336395264, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:40,955" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954660.956478, "msecs": 956.4781188964844, "relativeCreated": 46852.720499038696, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:40,956" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.9573689, "msecs": 957.3688507080078, "relativeCreated": 46853.61123085022, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:40,957" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954660.9579425, "msecs": 957.9424858093262, "relativeCreated": 46854.18486595154, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:40,957" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.0015364, "msecs": 1.5363693237304688, "relativeCreated": 46897.77874946594, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:41,001" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.0021844, "msecs": 2.1843910217285156, "relativeCreated": 46898.42677116394, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:41,002" } ], "time_consumption": 0.2561061382293701 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954661.2588701, "msecs": 258.87012481689453, "relativeCreated": 47155.11250495911, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:41,258", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954661.2586532, "msecs": 258.6531639099121, "relativeCreated": 47154.895544052124, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:41,258" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954661.2587745, "msecs": 258.7745189666748, "relativeCreated": 47155.01689910889, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:41,258" } ], "time_consumption": 9.560585021972656e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954661.2591848, "msecs": 259.1848373413086, "relativeCreated": 47155.42721748352, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:41,259", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954661.259019, "msecs": 259.0188980102539, "relativeCreated": 47155.261278152466, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:41,259" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954661.2591069, "msecs": 259.1068744659424, "relativeCreated": 47155.349254608154, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:41,259" } ], "time_consumption": 7.796287536621094e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954661.5602477, "msecs": 560.2476596832275, "relativeCreated": 47456.49003982544, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:41,560", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954661.2594285, "msecs": 259.4285011291504, "relativeCreated": 47155.67088127136, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/livingroom/main_light/state and payload false", "asctime": "2023-02-09 15:57:41,259" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.2604213, "msecs": 260.4212760925293, "relativeCreated": 47156.66365623474, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:41,260" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.2619655, "msecs": 261.9655132293701, "relativeCreated": 47158.20789337158, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:41,261" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954661.262305, "msecs": 262.30502128601074, "relativeCreated": 47158.54740142822, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:41,262" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.26321, "msecs": 263.2100582122803, "relativeCreated": 47159.45243835449, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:41,263" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.3079102, "msecs": 307.9102039337158, "relativeCreated": 47204.15258407593, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:41,307" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.3085823, "msecs": 308.5823059082031, "relativeCreated": 47204.824686050415, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:41,308" } ], "time_consumption": 0.2516653537750244 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954661.5608587, "msecs": 560.8587265014648, "relativeCreated": 47457.10110664368, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:41,560", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954661.5606272, "msecs": 560.6272220611572, "relativeCreated": 47456.86960220337, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:41,560" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954661.5607617, "msecs": 560.7616901397705, "relativeCreated": 47457.00407028198, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:41,560" } ], "time_consumption": 9.703636169433594e-05 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954661.5612738, "msecs": 561.2738132476807, "relativeCreated": 47457.51619338989, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:41,561", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954661.5610754, "msecs": 561.0754489898682, "relativeCreated": 47457.31782913208, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:41,561" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954661.5611944, "msecs": 561.1944198608398, "relativeCreated": 47457.43680000305, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:41,561" } ], "time_consumption": 7.939338684082031e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954661.8626397, "msecs": 862.6396656036377, "relativeCreated": 47758.88204574585, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:41,862", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954661.5614767, "msecs": 561.4767074584961, "relativeCreated": 47457.71908760071, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:41,561" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954661.561933, "msecs": 561.9330406188965, "relativeCreated": 47458.17542076111, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:41,561" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.5627785, "msecs": 562.7784729003906, "relativeCreated": 47459.0208530426, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:41,562" }, { "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/livingroom/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.5633726, "msecs": 563.3726119995117, "relativeCreated": 47459.61499214172, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:41,563" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.6057525, "msecs": 605.7524681091309, "relativeCreated": 47501.99484825134, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:41,605" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.6064708, "msecs": 606.4708232879639, "relativeCreated": 47502.713203430176, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:41,606" } ], "time_consumption": 0.25616884231567383 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954661.8632216, "msecs": 863.2216453552246, "relativeCreated": 47759.46402549744, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:41,863", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954661.8630037, "msecs": 863.0037307739258, "relativeCreated": 47759.24611091614, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:41,863" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954661.8631256, "msecs": 863.1255626678467, "relativeCreated": 47759.36794281006, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:41,863" } ], "time_consumption": 9.608268737792969e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954661.8635418, "msecs": 863.541841506958, "relativeCreated": 47759.78422164917, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:41,863", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954661.8633778, "msecs": 863.3778095245361, "relativeCreated": 47759.62018966675, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:41,863" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954661.8634636, "msecs": 863.4636402130127, "relativeCreated": 47759.706020355225, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:41,863" } ], "time_consumption": 7.82012939453125e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954662.1646035, "msecs": 164.60347175598145, "relativeCreated": 48060.84585189819, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:42,164", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954661.863786, "msecs": 863.785982131958, "relativeCreated": 47760.02836227417, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/livingroom/main_light/state and payload false", "asctime": "2023-02-09 15:57:41,863" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.8647823, "msecs": 864.7823333740234, "relativeCreated": 47761.024713516235, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:41,864" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.866289, "msecs": 866.2889003753662, "relativeCreated": 47762.53128051758, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:41,866" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954661.8667896, "msecs": 866.7895793914795, "relativeCreated": 47763.03195953369, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:41,866" }, { "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/livingroom/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.8679047, "msecs": 867.9046630859375, "relativeCreated": 47764.14704322815, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:41,867" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.9118357, "msecs": 911.8356704711914, "relativeCreated": 47808.0780506134, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:41,911" }, { "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/livingroom/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954661.912488, "msecs": 912.4879837036133, "relativeCreated": 47808.730363845825, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:41,912" } ], "time_consumption": 0.25211548805236816 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954662.1652281, "msecs": 165.22812843322754, "relativeCreated": 48061.47050857544, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:42,165", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954662.1649475, "msecs": 164.947509765625, "relativeCreated": 48061.18988990784, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:42,164" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954662.1651218, "msecs": 165.12179374694824, "relativeCreated": 48061.36417388916, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:42,165" } ], "time_consumption": 0.00010633468627929688 } ], "time_consumption": 1.209913730621338, "time_start": "2023-02-09 15:57:40,955", "time_finished": "2023-02-09 15:57:42,165" }, "Brightness test for device and virtual device: zigbee/ffw/sleep/main_light": { "name": "__tLogger__", "msg": "Brightness test for device and virtual device: zigbee/ffw/sleep/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_brightness", "created": 1675954662.1657596, "msecs": 165.75956344604492, "relativeCreated": 48062.00194358826, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness test for device and virtual device: zigbee/ffw/sleep/main_light", "asctime": "2023-02-09 15:57:42,165", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 57, "funcName": "__test_brightness__", "created": 1675954662.4674263, "msecs": 467.4263000488281, "relativeCreated": 48363.66868019104, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:42,467", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954662.1660259, "msecs": 166.02587699890137, "relativeCreated": 48062.26825714111, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:42,166" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954662.166552, "msecs": 166.55206680297852, "relativeCreated": 48062.79444694519, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:42,166" }, { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.1673853, "msecs": 167.38533973693848, "relativeCreated": 48063.62771987915, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:42,167" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.1679628, "msecs": 167.96278953552246, "relativeCreated": 48064.205169677734, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:42,167" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.2095842, "msecs": 209.58423614501953, "relativeCreated": 48105.82661628723, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:42,209" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.2102697, "msecs": 210.26968955993652, "relativeCreated": 48106.51206970215, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:42,210" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.210803, "msecs": 210.80303192138672, "relativeCreated": 48107.0454120636, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:42,210" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.21131, "msecs": 211.30990982055664, "relativeCreated": 48107.55228996277, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:42,211" } ], "time_consumption": 0.2561163902282715 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954662.4680698, "msecs": 468.06979179382324, "relativeCreated": 48364.312171936035, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:42,468", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954662.4678223, "msecs": 467.8223133087158, "relativeCreated": 48364.06469345093, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:42,467" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954662.4679585, "msecs": 467.9584503173828, "relativeCreated": 48364.200830459595, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:42,467" } ], "time_consumption": 0.00011134147644042969 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954662.7692418, "msecs": 769.2418098449707, "relativeCreated": 48665.48418998718, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:42,769", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954662.4684715, "msecs": 468.4715270996094, "relativeCreated": 48364.71390724182, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:42,468" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.469569, "msecs": 469.56896781921387, "relativeCreated": 48365.811347961426, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:42,469" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.4721022, "msecs": 472.10216522216797, "relativeCreated": 48368.34454536438, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:42,472" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.4727578, "msecs": 472.75781631469727, "relativeCreated": 48369.00019645691, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:42,472" } ], "time_consumption": 0.29648399353027344 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954662.7698169, "msecs": 769.8168754577637, "relativeCreated": 48666.059255599976, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:42,769", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954662.7695758, "msecs": 769.575834274292, "relativeCreated": 48665.818214416504, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:42,769" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954662.7696903, "msecs": 769.6902751922607, "relativeCreated": 48665.93265533447, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:42,769" } ], "time_consumption": 0.0001266002655029297 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954662.7701342, "msecs": 770.1342105865479, "relativeCreated": 48666.37659072876, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:42,770", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954662.7699687, "msecs": 769.9687480926514, "relativeCreated": 48666.21112823486, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:42,769" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954662.7700555, "msecs": 770.0555324554443, "relativeCreated": 48666.297912597656, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:42,770" } ], "time_consumption": 7.867813110351562e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954663.072267, "msecs": 72.26705551147461, "relativeCreated": 48968.50943565369, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:43,072", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954662.7703803, "msecs": 770.3802585601807, "relativeCreated": 48666.62263870239, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/sleep/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:42,770" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.7713373, "msecs": 771.3372707366943, "relativeCreated": 48667.579650878906, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:42,771" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.7728953, "msecs": 772.895336151123, "relativeCreated": 48669.137716293335, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/sleep/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:42,772" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954662.773345, "msecs": 773.3449935913086, "relativeCreated": 48669.58737373352, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:42,773" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.7742448, "msecs": 774.2447853088379, "relativeCreated": 48670.48716545105, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:42,774" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.8175902, "msecs": 817.5902366638184, "relativeCreated": 48713.83261680603, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:42,817" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954662.8182333, "msecs": 818.2332515716553, "relativeCreated": 48714.47563171387, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:42,818" } ], "time_consumption": 0.25403380393981934 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954663.0729182, "msecs": 72.91817665100098, "relativeCreated": 48969.16055679321, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:43,072", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954663.0726752, "msecs": 72.67522811889648, "relativeCreated": 48968.91760826111, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:43,072" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954663.0728095, "msecs": 72.80945777893066, "relativeCreated": 48969.05183792114, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:43,072" } ], "time_consumption": 0.0001087188720703125 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954663.0733585, "msecs": 73.35853576660156, "relativeCreated": 48969.60091590881, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:43,073", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954663.0731313, "msecs": 73.13132286071777, "relativeCreated": 48969.37370300293, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:43,073" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954663.0732348, "msecs": 73.23479652404785, "relativeCreated": 48969.47717666626, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:43,073" } ], "time_consumption": 0.00012373924255371094 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954663.374604, "msecs": 374.6039867401123, "relativeCreated": 49270.846366882324, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:43,374", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954663.0737076, "msecs": 73.70758056640625, "relativeCreated": 48969.94996070862, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:43,073" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.0747826, "msecs": 74.7826099395752, "relativeCreated": 48971.02499008179, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:43,074" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.0773191, "msecs": 77.31914520263672, "relativeCreated": 48973.56152534485, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:43,077" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.0779865, "msecs": 77.98647880554199, "relativeCreated": 48974.228858947754, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:43,077" } ], "time_consumption": 0.2966175079345703 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954663.3751895, "msecs": 375.18954277038574, "relativeCreated": 49271.4319229126, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:43,375", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954663.3749518, "msecs": 374.9518394470215, "relativeCreated": 49271.19421958923, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:43,374" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954663.3750932, "msecs": 375.0932216644287, "relativeCreated": 49271.33560180664, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:43,375" } ], "time_consumption": 9.632110595703125e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954663.3755188, "msecs": 375.518798828125, "relativeCreated": 49271.76117897034, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:43,375", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954663.3753417, "msecs": 375.34165382385254, "relativeCreated": 49271.584033966064, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:43,375" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954663.3754394, "msecs": 375.4394054412842, "relativeCreated": 49271.681785583496, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:43,375" } ], "time_consumption": 7.939338684082031e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954663.677619, "msecs": 677.6189804077148, "relativeCreated": 49573.86136054993, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:43,677", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954663.375777, "msecs": 375.777006149292, "relativeCreated": 49272.019386291504, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/sleep/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:43,375" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.3767295, "msecs": 376.72948837280273, "relativeCreated": 49272.971868515015, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:43,376" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.378258, "msecs": 378.25798988342285, "relativeCreated": 49274.500370025635, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/sleep/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:43,378" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954663.3786764, "msecs": 378.6764144897461, "relativeCreated": 49274.91879463196, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:43,378" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.379529, "msecs": 379.5289993286133, "relativeCreated": 49275.771379470825, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:43,379" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.424203, "msecs": 424.20291900634766, "relativeCreated": 49320.44529914856, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:43,424" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.4248881, "msecs": 424.88813400268555, "relativeCreated": 49321.1305141449, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:43,424" } ], "time_consumption": 0.2527308464050293 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954663.6781957, "msecs": 678.1957149505615, "relativeCreated": 49574.43809509277, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:43,678", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954663.677983, "msecs": 677.9830455780029, "relativeCreated": 49574.225425720215, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:43,677" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954663.6781015, "msecs": 678.1015396118164, "relativeCreated": 49574.34391975403, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:43,678" } ], "time_consumption": 9.417533874511719e-05 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "__test_brightness__", "created": 1675954663.979424, "msecs": 979.423999786377, "relativeCreated": 49875.66637992859, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:43,979", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954663.6784158, "msecs": 678.4157752990723, "relativeCreated": 49574.658155441284, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:43,678" }, { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.6794422, "msecs": 679.4421672821045, "relativeCreated": 49575.68454742432, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:43,679" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.6814613, "msecs": 681.4613342285156, "relativeCreated": 49577.70371437073, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:43,681" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.6820414, "msecs": 682.0414066314697, "relativeCreated": 49578.28378677368, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:43,682" } ], "time_consumption": 0.2973825931549072 } ], "time_consumption": 1.813664436340332, "time_start": "2023-02-09 15:57:42,165", "time_finished": "2023-02-09 15:57:43,979" }, "Power On/ Off test for device and virtual device: shellies/ffw/sleep/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/ffw/sleep/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954663.9800875, "msecs": 980.0875186920166, "relativeCreated": 49876.32989883423, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/ffw/sleep/main_light", "asctime": "2023-02-09 15:57:43,980", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954663.980549, "msecs": 980.5490970611572, "relativeCreated": 49876.79147720337, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:43,980", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954663.9803307, "msecs": 980.3307056427002, "relativeCreated": 49876.57308578491, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:43,980" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954663.9804525, "msecs": 980.4525375366211, "relativeCreated": 49876.69491767883, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:43,980" } ], "time_consumption": 9.655952453613281e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954664.2819183, "msecs": 281.9182872772217, "relativeCreated": 50178.16066741943, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:44,281", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954663.9807584, "msecs": 980.7584285736084, "relativeCreated": 49877.00080871582, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:43,980" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954663.9812775, "msecs": 981.2774658203125, "relativeCreated": 49877.519845962524, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:43,981" }, { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.9821286, "msecs": 982.1286201477051, "relativeCreated": 49878.37100028992, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:43,982" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954663.9827328, "msecs": 982.7327728271484, "relativeCreated": 49878.97515296936, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:43,982" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.0254335, "msecs": 25.43354034423828, "relativeCreated": 49921.67592048645, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:44,025" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.0259104, "msecs": 25.910377502441406, "relativeCreated": 49922.15275764465, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:44,025" } ], "time_consumption": 0.2560079097747803 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954664.2825127, "msecs": 282.5126647949219, "relativeCreated": 50178.755044937134, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:44,282", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954664.2822897, "msecs": 282.2897434234619, "relativeCreated": 50178.532123565674, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:44,282" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954664.2824163, "msecs": 282.41634368896484, "relativeCreated": 50178.65872383118, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:44,282" } ], "time_consumption": 9.632110595703125e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954664.2828352, "msecs": 282.8352451324463, "relativeCreated": 50179.07762527466, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:44,282", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954664.2826698, "msecs": 282.6697826385498, "relativeCreated": 50178.91216278076, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:44,282" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954664.2827566, "msecs": 282.7565670013428, "relativeCreated": 50178.998947143555, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:44,282" } ], "time_consumption": 7.867813110351562e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954664.583961, "msecs": 583.961009979248, "relativeCreated": 50480.20339012146, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:44,583", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954664.2831035, "msecs": 283.10346603393555, "relativeCreated": 50179.34584617615, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/sleep/main_light/state and payload false", "asctime": "2023-02-09 15:57:44,283" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.2840521, "msecs": 284.05213356018066, "relativeCreated": 50180.29451370239, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:44,284" }, { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.285609, "msecs": 285.60900688171387, "relativeCreated": 50181.851387023926, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:44,285" }, { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954664.2859588, "msecs": 285.95876693725586, "relativeCreated": 50182.20114707947, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:44,285" }, { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.2868707, "msecs": 286.87071800231934, "relativeCreated": 50183.11309814453, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:44,286" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.3328168, "msecs": 332.81683921813965, "relativeCreated": 50229.05921936035, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:44,332" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.3360343, "msecs": 336.03429794311523, "relativeCreated": 50232.27667808533, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:44,336" } ], "time_consumption": 0.2479267120361328 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954664.5845861, "msecs": 584.5861434936523, "relativeCreated": 50480.828523635864, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:44,584", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954664.584309, "msecs": 584.3091011047363, "relativeCreated": 50480.55148124695, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:44,584" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954664.584482, "msecs": 584.481954574585, "relativeCreated": 50480.7243347168, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:44,584" } ], "time_consumption": 0.00010418891906738281 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954664.5849035, "msecs": 584.9034786224365, "relativeCreated": 50481.14585876465, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:44,584", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954664.5847406, "msecs": 584.7406387329102, "relativeCreated": 50480.98301887512, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:44,584" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954664.584827, "msecs": 584.8269462585449, "relativeCreated": 50481.06932640076, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:44,584" } ], "time_consumption": 7.653236389160156e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954664.887459, "msecs": 887.4590396881104, "relativeCreated": 50783.70141983032, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:44,887", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954664.5851314, "msecs": 585.1314067840576, "relativeCreated": 50481.37378692627, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:44,585" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954664.5856442, "msecs": 585.6442451477051, "relativeCreated": 50481.88662528992, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:44,585" }, { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.5865304, "msecs": 586.5304470062256, "relativeCreated": 50482.77282714844, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:44,586" }, { "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/ffw/sleep/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.5871325, "msecs": 587.132453918457, "relativeCreated": 50483.37483406067, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:44,587" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.6298888, "msecs": 629.8887729644775, "relativeCreated": 50526.13115310669, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:44,629" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.630593, "msecs": 630.5930614471436, "relativeCreated": 50526.835441589355, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:44,630" } ], "time_consumption": 0.2568659782409668 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954664.888038, "msecs": 888.037919998169, "relativeCreated": 50784.28030014038, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:44,888", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954664.8878253, "msecs": 887.8252506256104, "relativeCreated": 50784.06763076782, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:44,887" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954664.887944, "msecs": 887.9439830780029, "relativeCreated": 50784.186363220215, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:44,887" } ], "time_consumption": 9.393692016601562e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954664.8883512, "msecs": 888.3512020111084, "relativeCreated": 50784.59358215332, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:44,888", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954664.888189, "msecs": 888.1890773773193, "relativeCreated": 50784.43145751953, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:44,888" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954664.888275, "msecs": 888.2749080657959, "relativeCreated": 50784.51728820801, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:44,888" } ], "time_consumption": 7.62939453125e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954665.190455, "msecs": 190.45495986938477, "relativeCreated": 51086.6973400116, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:45,190", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954664.8885963, "msecs": 888.5962963104248, "relativeCreated": 50784.83867645264, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/ffw/sleep/main_light/state and payload false", "asctime": "2023-02-09 15:57:44,888" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.8895347, "msecs": 889.5347118377686, "relativeCreated": 50785.77709197998, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:44,889" }, { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.8909504, "msecs": 890.9504413604736, "relativeCreated": 50787.192821502686, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:57:44,890" }, { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954664.8912988, "msecs": 891.298770904541, "relativeCreated": 50787.54115104675, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:44,891" }, { "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/ffw/sleep/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.8922102, "msecs": 892.2102451324463, "relativeCreated": 50788.45262527466, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:44,892" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.9358418, "msecs": 935.8417987823486, "relativeCreated": 50832.08417892456, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:44,935" }, { "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/ffw/sleep/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954664.936522, "msecs": 936.5220069885254, "relativeCreated": 50832.76438713074, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:44,936" } ], "time_consumption": 0.2539329528808594 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954665.1911125, "msecs": 191.11251831054688, "relativeCreated": 51087.35489845276, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:45,191", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954665.1908684, "msecs": 190.86837768554688, "relativeCreated": 51087.11075782776, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:45,190" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954665.1910064, "msecs": 191.00642204284668, "relativeCreated": 51087.24880218506, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:45,191" } ], "time_consumption": 0.00010609626770019531 } ], "time_consumption": 1.2110249996185303, "time_start": "2023-02-09 15:57:43,980", "time_finished": "2023-02-09 15:57:45,191" }, "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/1": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/1", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954665.1916285, "msecs": 191.62845611572266, "relativeCreated": 51087.870836257935, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/1", "asctime": "2023-02-09 15:57:45,191", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954665.1920483, "msecs": 192.0483112335205, "relativeCreated": 51088.29069137573, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:45,192", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954665.1918433, "msecs": 191.84327125549316, "relativeCreated": 51088.085651397705, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:45,191" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954665.1919506, "msecs": 191.95055961608887, "relativeCreated": 51088.1929397583, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:45,191" } ], "time_consumption": 9.775161743164062e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954665.4933174, "msecs": 493.3173656463623, "relativeCreated": 51389.559745788574, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:45,493", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954665.1923182, "msecs": 192.31820106506348, "relativeCreated": 51088.560581207275, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true", "asctime": "2023-02-09 15:57:45,192" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954665.1933463, "msecs": 193.3462619781494, "relativeCreated": 51089.58864212036, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'", "asctime": "2023-02-09 15:57:45,193" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954665.1980596, "msecs": 198.0595588684082, "relativeCreated": 51094.30193901062, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'", "asctime": "2023-02-09 15:57:45,198" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954665.1986673, "msecs": 198.6672878265381, "relativeCreated": 51094.90966796875, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:45,198" } ], "time_consumption": 0.2946500778198242 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954665.4938996, "msecs": 493.8995838165283, "relativeCreated": 51390.14196395874, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:45,493", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954665.4936805, "msecs": 493.680477142334, "relativeCreated": 51389.922857284546, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:45,493" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954665.4938033, "msecs": 493.8032627105713, "relativeCreated": 51390.04564285278, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:45,493" } ], "time_consumption": 9.632110595703125e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954665.494213, "msecs": 494.2131042480469, "relativeCreated": 51390.45548439026, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:45,494", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954665.4940498, "msecs": 494.0497875213623, "relativeCreated": 51390.292167663574, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:45,494" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954665.4941359, "msecs": 494.13585662841797, "relativeCreated": 51390.37823677063, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:45,494" } ], "time_consumption": 7.724761962890625e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954665.7963507, "msecs": 796.3507175445557, "relativeCreated": 51692.59309768677, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:45,796", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954665.4944875, "msecs": 494.4875240325928, "relativeCreated": 51390.729904174805, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/amplifier/state and payload false", "asctime": "2023-02-09 15:57:45,494" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954665.4954834, "msecs": 495.4833984375, "relativeCreated": 51391.72577857971, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'", "asctime": "2023-02-09 15:57:45,495" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1/set", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954665.4973228, "msecs": 497.32279777526855, "relativeCreated": 51393.56517791748, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'", "asctime": "2023-02-09 15:57:45,497" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954665.4976294, "msecs": 497.62940406799316, "relativeCreated": 51393.871784210205, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false", "asctime": "2023-02-09 15:57:45,497" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954665.4985251, "msecs": 498.52514266967773, "relativeCreated": 51394.76752281189, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'", "asctime": "2023-02-09 15:57:45,498" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954665.5870144, "msecs": 587.0144367218018, "relativeCreated": 51483.256816864014, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'", "asctime": "2023-02-09 15:57:45,587" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954665.5877829, "msecs": 587.7828598022461, "relativeCreated": 51484.02523994446, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:45,587" } ], "time_consumption": 0.20856785774230957 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954665.7970157, "msecs": 797.0156669616699, "relativeCreated": 51693.25804710388, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:45,797", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954665.796768, "msecs": 796.7679500579834, "relativeCreated": 51693.010330200195, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:45,796" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954665.7969072, "msecs": 796.9071865081787, "relativeCreated": 51693.14956665039, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:45,796" } ], "time_consumption": 0.00010848045349121094 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954665.797459, "msecs": 797.4588871002197, "relativeCreated": 51693.70126724243, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:45,797", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954665.797237, "msecs": 797.2369194030762, "relativeCreated": 51693.47929954529, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:45,797" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954665.7973688, "msecs": 797.3687648773193, "relativeCreated": 51693.61114501953, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:45,797" } ], "time_consumption": 9.012222290039062e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954666.0985842, "msecs": 98.58417510986328, "relativeCreated": 51994.826555252075, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:46,098", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954665.797728, "msecs": 797.7280616760254, "relativeCreated": 51693.97044181824, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true", "asctime": "2023-02-09 15:57:45,797" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954665.798755, "msecs": 798.7549304962158, "relativeCreated": 51694.99731063843, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'", "asctime": "2023-02-09 15:57:45,798" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954665.8459475, "msecs": 845.9475040435791, "relativeCreated": 51742.18988418579, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'", "asctime": "2023-02-09 15:57:45,845" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954665.8466146, "msecs": 846.6145992279053, "relativeCreated": 51742.85697937012, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:45,846" } ], "time_consumption": 0.251969575881958 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954666.0992205, "msecs": 99.22051429748535, "relativeCreated": 51995.4628944397, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:46,099", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954666.0989738, "msecs": 98.97375106811523, "relativeCreated": 51995.21613121033, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:46,098" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954666.0991108, "msecs": 99.11084175109863, "relativeCreated": 51995.35322189331, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:46,099" } ], "time_consumption": 0.00010967254638671875 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954666.0996234, "msecs": 99.62344169616699, "relativeCreated": 51995.86582183838, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:46,099", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954666.0994008, "msecs": 99.40075874328613, "relativeCreated": 51995.6431388855, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:46,099" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954666.0995023, "msecs": 99.5023250579834, "relativeCreated": 51995.744705200195, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:46,099" } ], "time_consumption": 0.00012111663818359375 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954666.400868, "msecs": 400.8679389953613, "relativeCreated": 52297.11031913757, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:46,400", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954666.0999024, "msecs": 99.90239143371582, "relativeCreated": 51996.14477157593, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/amplifier/state and payload false", "asctime": "2023-02-09 15:57:46,099" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.1009414, "msecs": 100.94141960144043, "relativeCreated": 51997.18379974365, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'", "asctime": "2023-02-09 15:57:46,100" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1/set", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.1024055, "msecs": 102.40554809570312, "relativeCreated": 51998.647928237915, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'", "asctime": "2023-02-09 15:57:46,102" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954666.1026962, "msecs": 102.69618034362793, "relativeCreated": 51998.93856048584, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false", "asctime": "2023-02-09 15:57:46,102" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.1035852, "msecs": 103.58524322509766, "relativeCreated": 51999.82762336731, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'", "asctime": "2023-02-09 15:57:46,103" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.1909132, "msecs": 190.91320037841797, "relativeCreated": 52087.15558052063, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'", "asctime": "2023-02-09 15:57:46,190" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.1916332, "msecs": 191.6332244873047, "relativeCreated": 52087.87560462952, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:46,191" } ], "time_consumption": 0.20923471450805664 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954666.4014933, "msecs": 401.4933109283447, "relativeCreated": 52297.73569107056, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:46,401", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954666.4012756, "msecs": 401.275634765625, "relativeCreated": 52297.51801490784, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:46,401" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954666.4013994, "msecs": 401.3993740081787, "relativeCreated": 52297.64175415039, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:46,401" } ], "time_consumption": 9.393692016601562e-05 } ], "time_consumption": 1.209864854812622, "time_start": "2023-02-09 15:57:45,191", "time_finished": "2023-02-09 15:57:46,401" }, "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/3": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/3", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954666.4019856, "msecs": 401.98564529418945, "relativeCreated": 52298.2280254364, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/3", "asctime": "2023-02-09 15:57:46,401", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954666.4023592, "msecs": 402.3592472076416, "relativeCreated": 52298.60162734985, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:46,402", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954666.402185, "msecs": 402.18496322631836, "relativeCreated": 52298.42734336853, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:46,402" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954666.4022787, "msecs": 402.2786617279053, "relativeCreated": 52298.52104187012, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:46,402" } ], "time_consumption": 8.058547973632812e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954666.7044501, "msecs": 704.4501304626465, "relativeCreated": 52600.69251060486, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:46,704", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954666.402601, "msecs": 402.6010036468506, "relativeCreated": 52298.84338378906, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true", "asctime": "2023-02-09 15:57:46,402" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.4035335, "msecs": 403.5334587097168, "relativeCreated": 52299.77583885193, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true'", "asctime": "2023-02-09 15:57:46,403" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1/set", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.4059124, "msecs": 405.9123992919922, "relativeCreated": 52302.154779434204, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true'", "asctime": "2023-02-09 15:57:46,405" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954666.4062147, "msecs": 406.21471405029297, "relativeCreated": 52302.457094192505, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true", "asctime": "2023-02-09 15:57:46,406" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.4068065, "msecs": 406.80646896362305, "relativeCreated": 52303.048849105835, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'true'", "asctime": "2023-02-09 15:57:46,406" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.407449, "msecs": 407.44900703430176, "relativeCreated": 52303.691387176514, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:46,407" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.4079447, "msecs": 407.9446792602539, "relativeCreated": 52304.187059402466, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'", "asctime": "2023-02-09 15:57:46,407" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.49802, "msecs": 498.0199337005615, "relativeCreated": 52394.26231384277, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'", "asctime": "2023-02-09 15:57:46,498" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.498761, "msecs": 498.7609386444092, "relativeCreated": 52395.00331878662, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:46,498" } ], "time_consumption": 0.2056891918182373 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954666.7050366, "msecs": 705.0366401672363, "relativeCreated": 52601.27902030945, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:46,705", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954666.7048204, "msecs": 704.8203945159912, "relativeCreated": 52601.0627746582, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:46,704" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954666.7049415, "msecs": 704.9415111541748, "relativeCreated": 52601.18389129639, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:46,704" } ], "time_consumption": 9.512901306152344e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954666.705417, "msecs": 705.4169178009033, "relativeCreated": 52601.659297943115, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:46,705", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954666.7052228, "msecs": 705.2228450775146, "relativeCreated": 52601.46522521973, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:46,705" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954666.7053108, "msecs": 705.3108215332031, "relativeCreated": 52601.553201675415, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:46,705" } ], "time_consumption": 0.00010609626770019531 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954667.0063646, "msecs": 6.364583969116211, "relativeCreated": 52902.60696411133, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:47,006", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954666.7056687, "msecs": 705.6686878204346, "relativeCreated": 52601.91106796265, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/cd_player/state and payload false", "asctime": "2023-02-09 15:57:46,705" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.7066495, "msecs": 706.6495418548584, "relativeCreated": 52602.89192199707, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'", "asctime": "2023-02-09 15:57:46,706" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3/set", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.7082005, "msecs": 708.2004547119141, "relativeCreated": 52604.442834854126, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3/set and payload b'false'", "asctime": "2023-02-09 15:57:46,708" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954666.7084987, "msecs": 708.4987163543701, "relativeCreated": 52604.74109649658, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false", "asctime": "2023-02-09 15:57:46,708" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.7094333, "msecs": 709.4333171844482, "relativeCreated": 52605.67569732666, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false'", "asctime": "2023-02-09 15:57:46,709" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1/set", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.7534988, "msecs": 753.4987926483154, "relativeCreated": 52649.74117279053, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'", "asctime": "2023-02-09 15:57:46,753" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954666.7538662, "msecs": 753.8661956787109, "relativeCreated": 52650.10857582092, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false", "asctime": "2023-02-09 15:57:46,753" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.7544615, "msecs": 754.4615268707275, "relativeCreated": 52650.70390701294, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'", "asctime": "2023-02-09 15:57:46,754" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.7550905, "msecs": 755.0904750823975, "relativeCreated": 52651.33285522461, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:46,755" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.7555842, "msecs": 755.5842399597168, "relativeCreated": 52651.82662010193, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'", "asctime": "2023-02-09 15:57:46,755" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.8429496, "msecs": 842.949628829956, "relativeCreated": 52739.19200897217, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'", "asctime": "2023-02-09 15:57:46,842" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954666.8436737, "msecs": 843.6737060546875, "relativeCreated": 52739.9160861969, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:46,843" } ], "time_consumption": 0.1626908779144287 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954667.0069597, "msecs": 6.959676742553711, "relativeCreated": 52903.202056884766, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:47,006", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954667.006736, "msecs": 6.736040115356445, "relativeCreated": 52902.97842025757, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:47,006" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954667.0068607, "msecs": 6.8607330322265625, "relativeCreated": 52903.10311317444, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:47,006" } ], "time_consumption": 9.894371032714844e-05 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954667.0073326, "msecs": 7.332563400268555, "relativeCreated": 52903.57494354248, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:47,007", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954667.00715, "msecs": 7.149934768676758, "relativeCreated": 52903.39231491089, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:47,007" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954667.007241, "msecs": 7.241010665893555, "relativeCreated": 52903.483390808105, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:47,007" } ], "time_consumption": 9.1552734375e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954667.309425, "msecs": 309.42511558532715, "relativeCreated": 53205.66749572754, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:47,309", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954667.0075727, "msecs": 7.572650909423828, "relativeCreated": 52903.815031051636, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true", "asctime": "2023-02-09 15:57:47,007" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.0085402, "msecs": 8.540153503417969, "relativeCreated": 52904.78253364563, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true'", "asctime": "2023-02-09 15:57:47,008" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1/set", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.0109293, "msecs": 10.929346084594727, "relativeCreated": 52907.17172622681, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true'", "asctime": "2023-02-09 15:57:47,010" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954667.0112345, "msecs": 11.234521865844727, "relativeCreated": 52907.47690200806, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true", "asctime": "2023-02-09 15:57:47,011" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.0118215, "msecs": 11.821508407592773, "relativeCreated": 52908.063888549805, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'true'", "asctime": "2023-02-09 15:57:47,011" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.0128179, "msecs": 12.817859649658203, "relativeCreated": 52909.06023979187, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:47,012" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.0136235, "msecs": 13.623476028442383, "relativeCreated": 52909.865856170654, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'", "asctime": "2023-02-09 15:57:47,013" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.102071, "msecs": 102.07104682922363, "relativeCreated": 52998.313426971436, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'", "asctime": "2023-02-09 15:57:47,102" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.1027887, "msecs": 102.78868675231934, "relativeCreated": 52999.03106689453, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:47,102" } ], "time_consumption": 0.2066364288330078 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954667.3100033, "msecs": 310.00328063964844, "relativeCreated": 53206.24566078186, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:47,310", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954667.3097897, "msecs": 309.78965759277344, "relativeCreated": 53206.032037734985, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:47,309" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954667.309907, "msecs": 309.9069595336914, "relativeCreated": 53206.1493396759, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:47,309" } ], "time_consumption": 9.632110595703125e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954667.3103204, "msecs": 310.3203773498535, "relativeCreated": 53206.562757492065, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:47,310", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954667.3101547, "msecs": 310.15467643737793, "relativeCreated": 53206.39705657959, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:47,310" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954667.3102417, "msecs": 310.24169921875, "relativeCreated": 53206.48407936096, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:47,310" } ], "time_consumption": 7.867813110351562e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954667.6124744, "msecs": 612.4744415283203, "relativeCreated": 53508.71682167053, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:47,612", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954667.3105621, "msecs": 310.5621337890625, "relativeCreated": 53206.804513931274, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/cd_player/state and payload false", "asctime": "2023-02-09 15:57:47,310" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.311569, "msecs": 311.5689754486084, "relativeCreated": 53207.81135559082, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'", "asctime": "2023-02-09 15:57:47,311" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3/set", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.3130207, "msecs": 313.0207061767578, "relativeCreated": 53209.26308631897, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3/set and payload b'false'", "asctime": "2023-02-09 15:57:47,313" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954667.3133533, "msecs": 313.3533000946045, "relativeCreated": 53209.59568023682, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false", "asctime": "2023-02-09 15:57:47,313" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.3142736, "msecs": 314.2735958099365, "relativeCreated": 53210.51597595215, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false'", "asctime": "2023-02-09 15:57:47,314" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1/set", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.357517, "msecs": 357.5170040130615, "relativeCreated": 53253.75938415527, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'", "asctime": "2023-02-09 15:57:47,357" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954667.3578846, "msecs": 357.88464546203613, "relativeCreated": 53254.12702560425, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false", "asctime": "2023-02-09 15:57:47,357" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.3584816, "msecs": 358.48164558410645, "relativeCreated": 53254.72402572632, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'", "asctime": "2023-02-09 15:57:47,358" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.359139, "msecs": 359.13896560668945, "relativeCreated": 53255.3813457489, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:47,359" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.3596358, "msecs": 359.6358299255371, "relativeCreated": 53255.87821006775, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'", "asctime": "2023-02-09 15:57:47,359" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.446045, "msecs": 446.044921875, "relativeCreated": 53342.28730201721, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'", "asctime": "2023-02-09 15:57:47,446" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.4467342, "msecs": 446.7341899871826, "relativeCreated": 53342.976570129395, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:47,446" } ], "time_consumption": 0.1657402515411377 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954667.6131723, "msecs": 613.1722927093506, "relativeCreated": 53509.41467285156, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:47,613", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954667.6128745, "msecs": 612.8745079040527, "relativeCreated": 53509.116888046265, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:47,612" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954667.6130092, "msecs": 613.0092144012451, "relativeCreated": 53509.25159454346, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:47,613" } ], "time_consumption": 0.00016307830810546875 } ], "time_consumption": 1.2111866474151611, "time_start": "2023-02-09 15:57:46,401", "time_finished": "2023-02-09 15:57:47,613" }, "Power On/ Off synchronisation test: my_apps/gfw/dirk/powerplug/output/3": { "name": "__tLogger__", "msg": "Power On/ Off synchronisation test: my_apps/gfw/dirk/powerplug/output/3", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 24, "funcName": "test_power_on_off_sync", "created": 1675954667.613893, "msecs": 613.8930320739746, "relativeCreated": 53510.13541221619, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off synchronisation test: my_apps/gfw/dirk/powerplug/output/3", "asctime": "2023-02-09 15:57:47,613", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions for master device '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 30, "funcName": "__test_power_on_off_sync__", "created": 1675954667.9160318, "msecs": 916.0318374633789, "relativeCreated": 53812.27421760559, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions for master device 'False'", "asctime": "2023-02-09 15:57:47,916", "moduleLogger": [], "time_consumption": 0.0 }, { "name": "__tLogger__", "msg": "Changing master device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off_sync__", "created": 1675954668.217205, "msecs": 217.20504760742188, "relativeCreated": 54113.447427749634, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device state to 'True'", "asctime": "2023-02-09 15:57:48,217", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954667.9165368, "msecs": 916.536808013916, "relativeCreated": 53812.77918815613, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true", "asctime": "2023-02-09 15:57:47,916" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.9176133, "msecs": 917.6132678985596, "relativeCreated": 53813.85564804077, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true'", "asctime": "2023-02-09 15:57:47,917" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1/set", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.9205642, "msecs": 920.5641746520996, "relativeCreated": 53816.80655479431, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true'", "asctime": "2023-02-09 15:57:47,920" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954667.9209037, "msecs": 920.9036827087402, "relativeCreated": 53817.14606285095, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true", "asctime": "2023-02-09 15:57:47,920" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.921575, "msecs": 921.5750694274902, "relativeCreated": 53817.8174495697, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'true'", "asctime": "2023-02-09 15:57:47,921" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.9222112, "msecs": 922.2111701965332, "relativeCreated": 53818.453550338745, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:47,922" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954667.9227128, "msecs": 922.7128028869629, "relativeCreated": 53818.955183029175, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'", "asctime": "2023-02-09 15:57:47,922" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.0109644, "msecs": 10.964393615722656, "relativeCreated": 53907.206773757935, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'", "asctime": "2023-02-09 15:57:48,010" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.0116715, "msecs": 11.67154312133789, "relativeCreated": 53907.91392326355, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:48,011" } ], "time_consumption": 0.20553350448608398 }, { "name": "__tLogger__", "msg": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954668.2178662, "msecs": 217.8661823272705, "relativeCreated": 54114.10856246948, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:48,217", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (my_apps/gfw/dirk/powerplug/output/1) state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954668.2175987, "msecs": 217.59867668151855, "relativeCreated": 54113.84105682373, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): True ()", "asctime": "2023-02-09 15:57:48,217" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (my_apps/gfw/dirk/powerplug/output/1) state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954668.2177584, "msecs": 217.7584171295166, "relativeCreated": 54114.00079727173, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): result = True ()", "asctime": "2023-02-09 15:57:48,217" } ], "time_consumption": 0.00010776519775390625 }, { "name": "__tLogger__", "msg": "Changing master device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off_sync__", "created": 1675954668.5190945, "msecs": 519.0944671630859, "relativeCreated": 54415.3368473053, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device state to 'False'", "asctime": "2023-02-09 15:57:48,519", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954668.2181509, "msecs": 218.15085411071777, "relativeCreated": 54114.39323425293, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false", "asctime": "2023-02-09 15:57:48,218" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/3", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.219165, "msecs": 219.16508674621582, "relativeCreated": 54115.40746688843, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false'", "asctime": "2023-02-09 15:57:48,219" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1/set", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.2223566, "msecs": 222.35655784606934, "relativeCreated": 54118.59893798828, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'", "asctime": "2023-02-09 15:57:48,222" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954668.2226982, "msecs": 222.69821166992188, "relativeCreated": 54118.940591812134, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false", "asctime": "2023-02-09 15:57:48,222" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.2234013, "msecs": 223.40130805969238, "relativeCreated": 54119.643688201904, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'", "asctime": "2023-02-09 15:57:48,223" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/cd_player/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.224119, "msecs": 224.1189479827881, "relativeCreated": 54120.361328125, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:48,224" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/1", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.2246768, "msecs": 224.67684745788574, "relativeCreated": 54120.9192276001, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'", "asctime": "2023-02-09 15:57:48,224" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.3101425, "msecs": 310.14251708984375, "relativeCreated": 54206.384897232056, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'", "asctime": "2023-02-09 15:57:48,310" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/amplifier/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.3108168, "msecs": 310.81676483154297, "relativeCreated": 54207.059144973755, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:48,310" } ], "time_consumption": 0.20827770233154297 }, { "name": "__tLogger__", "msg": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954668.5197225, "msecs": 519.7224617004395, "relativeCreated": 54415.96484184265, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:48,519", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (my_apps/gfw/dirk/powerplug/output/1) state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954668.519502, "msecs": 519.5019245147705, "relativeCreated": 54415.74430465698, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): False ()", "asctime": "2023-02-09 15:57:48,519" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (my_apps/gfw/dirk/powerplug/output/1) state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954668.5196247, "msecs": 519.6247100830078, "relativeCreated": 54415.86709022522, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): result = False ()", "asctime": "2023-02-09 15:57:48,519" } ], "time_consumption": 9.775161743164062e-05 } ], "time_consumption": 0.9058294296264648, "time_start": "2023-02-09 15:57:47,613", "time_finished": "2023-02-09 15:57:48,519" }, "Brightness test for device and virtual device: zigbee/gfw/dirk/desk_light": { "name": "__tLogger__", "msg": "Brightness test for device and virtual device: zigbee/gfw/dirk/desk_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_brightness", "created": 1675954668.5201988, "msecs": 520.1988220214844, "relativeCreated": 54416.441202163696, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness test for device and virtual device: zigbee/gfw/dirk/desk_light", "asctime": "2023-02-09 15:57:48,520", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 57, "funcName": "__test_brightness__", "created": 1675954668.8218093, "msecs": 821.8092918395996, "relativeCreated": 54718.05167198181, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:48,821", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954668.5205402, "msecs": 520.5402374267578, "relativeCreated": 54416.78261756897, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true", "asctime": "2023-02-09 15:57:48,520" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954668.5210826, "msecs": 521.0826396942139, "relativeCreated": 54417.325019836426, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:48,521" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.5219202, "msecs": 521.9202041625977, "relativeCreated": 54418.16258430481, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'", "asctime": "2023-02-09 15:57:48,521" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.5224304, "msecs": 522.430419921875, "relativeCreated": 54418.67280006409, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:48,522" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.5698745, "msecs": 569.8745250701904, "relativeCreated": 54466.1169052124, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'", "asctime": "2023-02-09 15:57:48,569" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.5708036, "msecs": 570.8036422729492, "relativeCreated": 54467.04602241516, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:48,570" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.5721989, "msecs": 572.1988677978516, "relativeCreated": 54468.44124794006, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:48,572" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.572814, "msecs": 572.8139877319336, "relativeCreated": 54469.056367874146, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:48,572" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.573393, "msecs": 573.3931064605713, "relativeCreated": 54469.63548660278, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:48,573" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.5739121, "msecs": 573.9121437072754, "relativeCreated": 54470.15452384949, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:48,573" } ], "time_consumption": 0.24789714813232422 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954668.8224423, "msecs": 822.4422931671143, "relativeCreated": 54718.684673309326, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:48,822", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954668.822207, "msecs": 822.206974029541, "relativeCreated": 54718.44935417175, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:48,822" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954668.822338, "msecs": 822.3381042480469, "relativeCreated": 54718.58048439026, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:48,822" } ], "time_consumption": 0.00010418891906738281 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954669.1239305, "msecs": 123.93045425415039, "relativeCreated": 55020.17283439636, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:49,123", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954668.8228364, "msecs": 822.8363990783691, "relativeCreated": 54719.07877922058, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:48,822" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.824045, "msecs": 824.044942855835, "relativeCreated": 54720.28732299805, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:48,824" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.8268228, "msecs": 826.8227577209473, "relativeCreated": 54723.06513786316, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:48,826" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954668.8275135, "msecs": 827.5134563446045, "relativeCreated": 54723.75583648682, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:48,827" } ], "time_consumption": 0.2964169979095459 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954669.1245456, "msecs": 124.54557418823242, "relativeCreated": 55020.787954330444, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:49,124", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954669.124296, "msecs": 124.29594993591309, "relativeCreated": 55020.538330078125, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:49,124" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954669.1244142, "msecs": 124.41420555114746, "relativeCreated": 55020.65658569336, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:49,124" } ], "time_consumption": 0.00013136863708496094 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954669.1248696, "msecs": 124.86958503723145, "relativeCreated": 55021.11196517944, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:49,124", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954669.124702, "msecs": 124.70197677612305, "relativeCreated": 55020.944356918335, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:49,124" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954669.1247911, "msecs": 124.79114532470703, "relativeCreated": 55021.03352546692, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:49,124" } ], "time_consumption": 7.843971252441406e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954669.4259667, "msecs": 425.966739654541, "relativeCreated": 55322.20911979675, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:49,425", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954669.1251583, "msecs": 125.15830993652344, "relativeCreated": 55021.400690078735, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/desk_light/brightness and payload 50", "asctime": "2023-02-09 15:57:49,125" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.1261554, "msecs": 126.15537643432617, "relativeCreated": 55022.39775657654, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:49,126" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.1277275, "msecs": 127.72750854492188, "relativeCreated": 55023.969888687134, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:49,127" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954669.1281023, "msecs": 128.10230255126953, "relativeCreated": 55024.34468269348, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:49,128" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.1289945, "msecs": 128.99446487426758, "relativeCreated": 55025.23684501648, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:49,128" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.1720953, "msecs": 172.09529876708984, "relativeCreated": 55068.3376789093, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:49,172" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.1727448, "msecs": 172.7447509765625, "relativeCreated": 55068.987131118774, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:49,172" } ], "time_consumption": 0.2532219886779785 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954669.4265718, "msecs": 426.5718460083008, "relativeCreated": 55322.81422615051, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:49,426", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954669.4263346, "msecs": 426.3346195220947, "relativeCreated": 55322.57699966431, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:49,426" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954669.4264498, "msecs": 426.4497756958008, "relativeCreated": 55322.69215583801, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:49,426" } ], "time_consumption": 0.0001220703125 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954669.4268847, "msecs": 426.88465118408203, "relativeCreated": 55323.127031326294, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:49,426", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954669.4267213, "msecs": 426.72133445739746, "relativeCreated": 55322.96371459961, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:49,426" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954669.426807, "msecs": 426.8069267272949, "relativeCreated": 55323.04930686951, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:49,426" } ], "time_consumption": 7.772445678710938e-05 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954669.7290993, "msecs": 729.0992736816406, "relativeCreated": 55625.34165382385, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:49,729", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954669.4271934, "msecs": 427.19340324401855, "relativeCreated": 55323.43578338623, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:49,427" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.4281495, "msecs": 428.1494617462158, "relativeCreated": 55324.39184188843, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:49,428" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.4305441, "msecs": 430.5441379547119, "relativeCreated": 55326.786518096924, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:49,430" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.4311857, "msecs": 431.1857223510742, "relativeCreated": 55327.428102493286, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:49,431" } ], "time_consumption": 0.2979135513305664 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954669.7297575, "msecs": 729.75754737854, "relativeCreated": 55625.99992752075, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:49,729", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954669.729518, "msecs": 729.517936706543, "relativeCreated": 55625.760316848755, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:49,729" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954669.7296524, "msecs": 729.6524047851562, "relativeCreated": 55625.89478492737, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:49,729" } ], "time_consumption": 0.00010514259338378906 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954669.7301147, "msecs": 730.1146984100342, "relativeCreated": 55626.357078552246, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:49,730", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954669.7299283, "msecs": 729.9282550811768, "relativeCreated": 55626.17063522339, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:49,729" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954669.7300265, "msecs": 730.0264835357666, "relativeCreated": 55626.26886367798, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:49,730" } ], "time_consumption": 8.821487426757812e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954670.0312347, "msecs": 31.2347412109375, "relativeCreated": 55927.47712135315, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:50,031", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954669.7304046, "msecs": 730.4046154022217, "relativeCreated": 55626.64699554443, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/desk_light/brightness and payload 50", "asctime": "2023-02-09 15:57:49,730" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.7314923, "msecs": 731.492280960083, "relativeCreated": 55627.734661102295, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:49,731" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.7331944, "msecs": 733.1943511962891, "relativeCreated": 55629.4367313385, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:49,733" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954669.7336223, "msecs": 733.6223125457764, "relativeCreated": 55629.86469268799, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:49,733" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.7346578, "msecs": 734.6577644348145, "relativeCreated": 55630.90014457703, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:49,734" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.7775214, "msecs": 777.5213718414307, "relativeCreated": 55673.76375198364, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:49,777" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954669.7781646, "msecs": 778.1646251678467, "relativeCreated": 55674.40700531006, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:49,778" } ], "time_consumption": 0.2530701160430908 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954670.0318513, "msecs": 31.85129165649414, "relativeCreated": 55928.093671798706, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:50,031", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954670.0316055, "msecs": 31.60548210144043, "relativeCreated": 55927.84786224365, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:50,031" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954670.031752, "msecs": 31.75210952758789, "relativeCreated": 55927.9944896698, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:50,031" } ], "time_consumption": 9.918212890625e-05 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "__test_brightness__", "created": 1675954670.3340197, "msecs": 334.01966094970703, "relativeCreated": 56230.26204109192, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:50,334", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954670.032107, "msecs": 32.10711479187012, "relativeCreated": 55928.34949493408, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false", "asctime": "2023-02-09 15:57:50,032" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.0331023, "msecs": 33.10227394104004, "relativeCreated": 55929.34465408325, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'", "asctime": "2023-02-09 15:57:50,033" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.0374677, "msecs": 37.46771812438965, "relativeCreated": 55933.7100982666, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'", "asctime": "2023-02-09 15:57:50,037" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.038068, "msecs": 38.06805610656738, "relativeCreated": 55934.31043624878, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:50,038" } ], "time_consumption": 0.29595160484313965 } ], "time_consumption": 1.8138208389282227, "time_start": "2023-02-09 15:57:48,520", "time_finished": "2023-02-09 15:57:50,334" }, "Color temperature test for device and virtual device: zigbee/gfw/dirk/desk_light": { "name": "__tLogger__", "msg": "Color temperature test for device and virtual device: zigbee/gfw/dirk/desk_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "test_color_temp", "created": 1675954670.3347073, "msecs": 334.70726013183594, "relativeCreated": 56230.94964027405, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Color temperature test for device and virtual device: zigbee/gfw/dirk/desk_light", "asctime": "2023-02-09 15:57:50,334", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 88, "funcName": "__test_color_temp__", "created": 1675954670.636399, "msecs": 636.3990306854248, "relativeCreated": 56532.64141082764, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:50,636", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954670.33507, "msecs": 335.0698947906494, "relativeCreated": 56231.31227493286, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true", "asctime": "2023-02-09 15:57:50,335" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954670.3355904, "msecs": 335.5903625488281, "relativeCreated": 56231.83274269104, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:50,335" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.336446, "msecs": 336.44604682922363, "relativeCreated": 56232.688426971436, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'", "asctime": "2023-02-09 15:57:50,336" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.336952, "msecs": 336.95197105407715, "relativeCreated": 56233.19435119629, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:50,336" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.3817081, "msecs": 381.70814514160156, "relativeCreated": 56277.95052528381, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'", "asctime": "2023-02-09 15:57:50,381" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.3825107, "msecs": 382.5106620788574, "relativeCreated": 56278.75304222107, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:50,382" } ], "time_consumption": 0.2538883686065674 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954670.6369534, "msecs": 636.9533538818359, "relativeCreated": 56533.19573402405, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:50,636", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954670.6367378, "msecs": 636.7378234863281, "relativeCreated": 56532.98020362854, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:50,636" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954670.6368577, "msecs": 636.8577480316162, "relativeCreated": 56533.10012817383, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:50,636" } ], "time_consumption": 9.560585021972656e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954670.9383044, "msecs": 938.3044242858887, "relativeCreated": 56834.5468044281, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:50,938", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954670.6373045, "msecs": 637.3045444488525, "relativeCreated": 56533.546924591064, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:50,637" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.6382637, "msecs": 638.2637023925781, "relativeCreated": 56534.50608253479, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:50,638" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.640407, "msecs": 640.4070854187012, "relativeCreated": 56536.64946556091, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:50,640" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.640993, "msecs": 640.9931182861328, "relativeCreated": 56537.235498428345, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:50,640" } ], "time_consumption": 0.29731130599975586 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954670.9389567, "msecs": 938.9567375183105, "relativeCreated": 56835.19911766052, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:50,938", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954670.9387178, "msecs": 938.7178421020508, "relativeCreated": 56834.96022224426, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:50,938" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954670.9388542, "msecs": 938.8542175292969, "relativeCreated": 56835.09659767151, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:50,938" } ], "time_consumption": 0.00010251998901367188 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954670.9393158, "msecs": 939.3157958984375, "relativeCreated": 56835.55817604065, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:50,939", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954670.9391282, "msecs": 939.1281604766846, "relativeCreated": 56835.3705406189, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:50,939" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954670.9392273, "msecs": 939.2273426055908, "relativeCreated": 56835.4697227478, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:50,939" } ], "time_consumption": 8.845329284667969e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954671.240541, "msecs": 240.5409812927246, "relativeCreated": 57136.78336143494, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:51,240", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954670.9396086, "msecs": 939.6085739135742, "relativeCreated": 56835.850954055786, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/desk_light/color_temp and payload 5", "asctime": "2023-02-09 15:57:50,939" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.9407089, "msecs": 940.7088756561279, "relativeCreated": 56836.95125579834, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:50,940" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.942415, "msecs": 942.4149990081787, "relativeCreated": 56838.65737915039, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:50,942" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954670.9428637, "msecs": 942.8637027740479, "relativeCreated": 56839.10608291626, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:50,942" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.9438875, "msecs": 943.88747215271, "relativeCreated": 56840.12985229492, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:50,943" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.9894106, "msecs": 989.4106388092041, "relativeCreated": 56885.653018951416, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:50,989" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954670.9901474, "msecs": 990.1473522186279, "relativeCreated": 56886.38973236084, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:50,990" } ], "time_consumption": 0.2503936290740967 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954671.2412248, "msecs": 241.2247657775879, "relativeCreated": 57137.4671459198, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:51,241", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954671.2409337, "msecs": 240.93365669250488, "relativeCreated": 57137.17603683472, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:51,240" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954671.2411077, "msecs": 241.10770225524902, "relativeCreated": 57137.35008239746, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:51,241" } ], "time_consumption": 0.00011706352233886719 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954671.2416298, "msecs": 241.62983894348145, "relativeCreated": 57137.87221908569, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:51,241", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954671.241402, "msecs": 241.40191078186035, "relativeCreated": 57137.64429092407, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:57:51,241" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954671.2415378, "msecs": 241.53780937194824, "relativeCreated": 57137.78018951416, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:57:51,241" } ], "time_consumption": 9.202957153320312e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954671.5438924, "msecs": 543.8923835754395, "relativeCreated": 57440.13476371765, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:57:51,543", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954671.2419765, "msecs": 241.97649955749512, "relativeCreated": 57138.21887969971, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:51,241" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954671.243007, "msecs": 243.00694465637207, "relativeCreated": 57139.249324798584, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:51,243" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954671.245579, "msecs": 245.57900428771973, "relativeCreated": 57141.82138442993, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:57:51,245" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954671.2461734, "msecs": 246.17338180541992, "relativeCreated": 57142.41576194763, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:51,246" } ], "time_consumption": 0.29771900177001953 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954671.5444746, "msecs": 544.4746017456055, "relativeCreated": 57440.71698188782, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:51,544", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954671.5442634, "msecs": 544.2633628845215, "relativeCreated": 57440.50574302673, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:57:51,544" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954671.544381, "msecs": 544.3809032440186, "relativeCreated": 57440.62328338623, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:57:51,544" } ], "time_consumption": 9.369850158691406e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954671.5448265, "msecs": 544.8265075683594, "relativeCreated": 57441.06888771057, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:57:51,544", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954671.5446239, "msecs": 544.623851776123, "relativeCreated": 57440.866231918335, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:57:51,544" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954671.5447452, "msecs": 544.7452068328857, "relativeCreated": 57440.9875869751, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:57:51,544" } ], "time_consumption": 8.130073547363281e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954671.845919, "msecs": 845.9188938140869, "relativeCreated": 57742.1612739563, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:57:51,845", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954671.5451314, "msecs": 545.1314449310303, "relativeCreated": 57441.37382507324, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/desk_light/color_temp and payload 5", "asctime": "2023-02-09 15:57:51,545" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954671.546102, "msecs": 546.1020469665527, "relativeCreated": 57442.344427108765, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:57:51,546" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954671.5475922, "msecs": 547.5921630859375, "relativeCreated": 57443.83454322815, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:57:51,547" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954671.547966, "msecs": 547.9660034179688, "relativeCreated": 57444.20838356018, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:51,547" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954671.5488625, "msecs": 548.8624572753906, "relativeCreated": 57445.1048374176, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:51,548" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954671.591917, "msecs": 591.9170379638672, "relativeCreated": 57488.15941810608, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:51,591" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954671.5925627, "msecs": 592.5626754760742, "relativeCreated": 57488.805055618286, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:51,592" } ], "time_consumption": 0.2533562183380127 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954671.8465283, "msecs": 846.5282917022705, "relativeCreated": 57742.77067184448, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:51,846", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954671.8462853, "msecs": 846.285343170166, "relativeCreated": 57742.52772331238, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:57:51,846" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954671.8464315, "msecs": 846.4314937591553, "relativeCreated": 57742.67387390137, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:57:51,846" } ], "time_consumption": 9.679794311523438e-05 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 105, "funcName": "__test_color_temp__", "created": 1675954672.1487076, "msecs": 148.70762825012207, "relativeCreated": 58044.950008392334, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:52,148", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954671.8467832, "msecs": 846.7831611633301, "relativeCreated": 57743.02554130554, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false", "asctime": "2023-02-09 15:57:51,846" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954671.847771, "msecs": 847.7709293365479, "relativeCreated": 57744.01330947876, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'", "asctime": "2023-02-09 15:57:51,847" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954671.8515134, "msecs": 851.5133857727051, "relativeCreated": 57747.75576591492, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'", "asctime": "2023-02-09 15:57:51,851" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954671.8521016, "msecs": 852.1015644073486, "relativeCreated": 57748.34394454956, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:51,852" } ], "time_consumption": 0.29660606384277344 } ], "time_consumption": 1.8140003681182861, "time_start": "2023-02-09 15:57:50,334", "time_finished": "2023-02-09 15:57:52,148" }, "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/2": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/2", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954672.1494308, "msecs": 149.4307518005371, "relativeCreated": 58045.67313194275, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/2", "asctime": "2023-02-09 15:57:52,149", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954672.149902, "msecs": 149.9021053314209, "relativeCreated": 58046.14448547363, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:52,149", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954672.1496809, "msecs": 149.68085289001465, "relativeCreated": 58045.92323303223, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:52,149" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954672.1497977, "msecs": 149.7976779937744, "relativeCreated": 58046.040058135986, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:52,149" } ], "time_consumption": 0.00010442733764648438 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954672.4515183, "msecs": 451.51829719543457, "relativeCreated": 58347.76067733765, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:52,451", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954672.1501513, "msecs": 150.15125274658203, "relativeCreated": 58046.393632888794, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true", "asctime": "2023-02-09 15:57:52,150" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954672.1506312, "msecs": 150.63118934631348, "relativeCreated": 58046.873569488525, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:52,150" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.151488, "msecs": 151.4880657196045, "relativeCreated": 58047.73044586182, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'", "asctime": "2023-02-09 15:57:52,151" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.1519928, "msecs": 151.9927978515625, "relativeCreated": 58048.235177993774, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:52,151" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.197459, "msecs": 197.45898246765137, "relativeCreated": 58093.70136260986, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'", "asctime": "2023-02-09 15:57:52,197" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.1977725, "msecs": 197.77250289916992, "relativeCreated": 58094.01488304138, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:52,197" } ], "time_consumption": 0.25374579429626465 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954672.4520884, "msecs": 452.0883560180664, "relativeCreated": 58348.33073616028, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:52,452", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954672.4518707, "msecs": 451.8706798553467, "relativeCreated": 58348.11305999756, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:52,451" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954672.4519897, "msecs": 451.98965072631836, "relativeCreated": 58348.23203086853, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:52,451" } ], "time_consumption": 9.870529174804688e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954672.4524097, "msecs": 452.4097442626953, "relativeCreated": 58348.65212440491, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:52,452", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954672.4522443, "msecs": 452.2442817687988, "relativeCreated": 58348.48666191101, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:52,452" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954672.4523335, "msecs": 452.3334503173828, "relativeCreated": 58348.575830459595, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:52,452" } ], "time_consumption": 7.62939453125e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954672.7545319, "msecs": 754.5318603515625, "relativeCreated": 58650.774240493774, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:52,754", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954672.4526856, "msecs": 452.6855945587158, "relativeCreated": 58348.92797470093, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/desk_light/state and payload false", "asctime": "2023-02-09 15:57:52,452" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.4537244, "msecs": 453.7243843078613, "relativeCreated": 58349.96676445007, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'", "asctime": "2023-02-09 15:57:52,453" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2/set", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.4551346, "msecs": 455.13463020324707, "relativeCreated": 58351.37701034546, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2/set and payload b'false'", "asctime": "2023-02-09 15:57:52,455" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954672.4554412, "msecs": 455.4412364959717, "relativeCreated": 58351.68361663818, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false", "asctime": "2023-02-09 15:57:52,455" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.456543, "msecs": 456.54296875, "relativeCreated": 58352.78534889221, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'", "asctime": "2023-02-09 15:57:52,456" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.542163, "msecs": 542.1628952026367, "relativeCreated": 58438.40527534485, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'", "asctime": "2023-02-09 15:57:52,542" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.5428874, "msecs": 542.8874492645264, "relativeCreated": 58439.12982940674, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:52,542" } ], "time_consumption": 0.21164441108703613 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954672.7551265, "msecs": 755.1264762878418, "relativeCreated": 58651.368856430054, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:52,755", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954672.7549086, "msecs": 754.908561706543, "relativeCreated": 58651.150941848755, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:52,754" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954672.7550316, "msecs": 755.0315856933594, "relativeCreated": 58651.27396583557, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:52,755" } ], "time_consumption": 9.489059448242188e-05 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954672.7554798, "msecs": 755.4798126220703, "relativeCreated": 58651.72219276428, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:52,755", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954672.7553144, "msecs": 755.3143501281738, "relativeCreated": 58651.556730270386, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:57:52,755" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954672.755402, "msecs": 755.4020881652832, "relativeCreated": 58651.644468307495, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:57:52,755" } ], "time_consumption": 7.772445678710938e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954673.0570955, "msecs": 57.09552764892578, "relativeCreated": 58953.33790779114, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:57:53,057", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954672.7557144, "msecs": 755.7144165039062, "relativeCreated": 58651.95679664612, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true", "asctime": "2023-02-09 15:57:52,755" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954672.7562048, "msecs": 756.2048435211182, "relativeCreated": 58652.44722366333, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:52,756" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.757078, "msecs": 757.0779323577881, "relativeCreated": 58653.3203125, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'", "asctime": "2023-02-09 15:57:52,757" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/desk_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.7575839, "msecs": 757.5838565826416, "relativeCreated": 58653.82623672485, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:52,757" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.8069398, "msecs": 806.9398403167725, "relativeCreated": 58703.182220458984, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'", "asctime": "2023-02-09 15:57:52,806" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954672.8076649, "msecs": 807.6648712158203, "relativeCreated": 58703.90725135803, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:52,807" } ], "time_consumption": 0.24943065643310547 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954673.0576944, "msecs": 57.694435119628906, "relativeCreated": 58953.93681526184, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:53,057", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954673.0574481, "msecs": 57.44814872741699, "relativeCreated": 58953.69052886963, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:57:53,057" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954673.0575998, "msecs": 57.599782943725586, "relativeCreated": 58953.84216308594, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:57:53,057" } ], "time_consumption": 9.465217590332031e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954673.0580206, "msecs": 58.020591735839844, "relativeCreated": 58954.26297187805, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:53,058", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954673.057848, "msecs": 57.84797668457031, "relativeCreated": 58954.09035682678, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:57:53,057" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954673.057944, "msecs": 57.94405937194824, "relativeCreated": 58954.18643951416, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:57:53,057" } ], "time_consumption": 7.653236389160156e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954673.3601663, "msecs": 360.1663112640381, "relativeCreated": 59256.40869140625, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:57:53,360", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954673.0583048, "msecs": 58.304786682128906, "relativeCreated": 58954.54716682434, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/desk_light/state and payload false", "asctime": "2023-02-09 15:57:53,058" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.0592804, "msecs": 59.2803955078125, "relativeCreated": 58955.522775650024, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'", "asctime": "2023-02-09 15:57:53,059" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2/set", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.0607488, "msecs": 60.74881553649902, "relativeCreated": 58956.99119567871, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2/set and payload b'false'", "asctime": "2023-02-09 15:57:53,060" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954673.061072, "msecs": 61.07211112976074, "relativeCreated": 58957.31449127197, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false", "asctime": "2023-02-09 15:57:53,061" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/2", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.0620487, "msecs": 62.04867362976074, "relativeCreated": 58958.29105377197, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'", "asctime": "2023-02-09 15:57:53,062" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.1461565, "msecs": 146.15654945373535, "relativeCreated": 59042.39892959595, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'", "asctime": "2023-02-09 15:57:53,146" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/desk_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.1468441, "msecs": 146.84414863586426, "relativeCreated": 59043.086528778076, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:53,146" } ], "time_consumption": 0.21332216262817383 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954673.360768, "msecs": 360.76807975769043, "relativeCreated": 59257.0104598999, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:53,360", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954673.3605478, "msecs": 360.5477809906006, "relativeCreated": 59256.79016113281, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:57:53,360" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954673.360672, "msecs": 360.6719970703125, "relativeCreated": 59256.914377212524, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:57:53,360" } ], "time_consumption": 9.608268737792969e-05 } ], "time_consumption": 1.2113373279571533, "time_start": "2023-02-09 15:57:52,149", "time_finished": "2023-02-09 15:57:53,360" }, "Away mode test: zigbee/gfw/dirk/heating_valve": { "name": "__tLogger__", "msg": "Away mode test: zigbee/gfw/dirk/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 101, "funcName": "test_away_mode", "created": 1675954673.3613198, "msecs": 361.31978034973145, "relativeCreated": 59257.56216049194, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode test: zigbee/gfw/dirk/heating_valve", "asctime": "2023-02-09 15:57:53,361", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 106, "funcName": "__test_away_mode__", "created": 1675954673.6625845, "msecs": 662.5845432281494, "relativeCreated": 59558.82692337036, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:57:53,662", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954673.361633, "msecs": 361.6330623626709, "relativeCreated": 59257.87544250488, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:53,361" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.362618, "msecs": 362.61796951293945, "relativeCreated": 59258.86034965515, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:53,362" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/user_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.3801064, "msecs": 380.10644912719727, "relativeCreated": 59276.34882926941, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:53,380" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.3807454, "msecs": 380.74541091918945, "relativeCreated": 59276.9877910614, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:53,380" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 25}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.3818326, "msecs": 381.8325996398926, "relativeCreated": 59278.074979782104, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'", "asctime": "2023-02-09 15:57:53,381" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954673.3821537, "msecs": 382.1537494659424, "relativeCreated": 59278.396129608154, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:53,382" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.3828955, "msecs": 382.89546966552734, "relativeCreated": 59279.13784980774, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:53,382" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.3835843, "msecs": 383.58426094055176, "relativeCreated": 59279.826641082764, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:53,383" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.384119, "msecs": 384.11903381347656, "relativeCreated": 59280.36141395569, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:53,384" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.4286294, "msecs": 428.62939834594727, "relativeCreated": 59324.87177848816, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:53,428" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.4701407, "msecs": 470.1406955718994, "relativeCreated": 59366.38307571411, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:53,470" } ], "time_consumption": 0.19244384765625 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954673.6631417, "msecs": 663.1417274475098, "relativeCreated": 59559.38410758972, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:53,663", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954673.6629272, "msecs": 662.9271507263184, "relativeCreated": 59559.16953086853, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): False ()", "asctime": "2023-02-09 15:57:53,662" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954673.6630461, "msecs": 663.04612159729, "relativeCreated": 59559.2885017395, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = False ()", "asctime": "2023-02-09 15:57:53,663" } ], "time_consumption": 9.560585021972656e-05 }, { "name": "__tLogger__", "msg": "Activating away mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 113, "funcName": "__test_away_mode__", "created": 1675954673.9653723, "msecs": 965.3723239898682, "relativeCreated": 59861.61470413208, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating away mode", "asctime": "2023-02-09 15:57:53,965", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/away_mode", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954673.6634734, "msecs": 663.47336769104, "relativeCreated": 59559.71574783325, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/away_mode and payload true", "asctime": "2023-02-09 15:57:53,663" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/away_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.6644475, "msecs": 664.447546005249, "relativeCreated": 59560.68992614746, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'true'", "asctime": "2023-02-09 15:57:53,664" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 20}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.6793728, "msecs": 679.3727874755859, "relativeCreated": 59575.6151676178, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'", "asctime": "2023-02-09 15:57:53,679" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954673.679809, "msecs": 679.8090934753418, "relativeCreated": 59576.051473617554, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:53,679" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'20'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.6803892, "msecs": 680.3891658782959, "relativeCreated": 59576.63154602051, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'", "asctime": "2023-02-09 15:57:53,680" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.6810935, "msecs": 681.0934543609619, "relativeCreated": 59577.335834503174, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:53,681" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/away_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.6816216, "msecs": 681.6215515136719, "relativeCreated": 59577.863931655884, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'true'", "asctime": "2023-02-09 15:57:53,681" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.6821258, "msecs": 682.1258068084717, "relativeCreated": 59578.36818695068, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:53,682" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.6826339, "msecs": 682.6338768005371, "relativeCreated": 59578.87625694275, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:53,682" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.7255995, "msecs": 725.5995273590088, "relativeCreated": 59621.84190750122, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:53,725" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.7658918, "msecs": 765.8917903900146, "relativeCreated": 59662.13417053223, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:53,765" } ], "time_consumption": 0.19948053359985352 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954673.966023, "msecs": 966.0229682922363, "relativeCreated": 59862.26534843445, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:53,966", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954673.965773, "msecs": 965.7731056213379, "relativeCreated": 59862.01548576355, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): True ()", "asctime": "2023-02-09 15:57:53,965" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954673.965912, "msecs": 965.9121036529541, "relativeCreated": 59862.154483795166, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = True ()", "asctime": "2023-02-09 15:57:53,965" } ], "time_consumption": 0.00011086463928222656 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "20", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954673.9664392, "msecs": 966.4392471313477, "relativeCreated": 59862.68162727356, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 20 and Type is ).", "asctime": "2023-02-09 15:57:53,966", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "20", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954673.966238, "msecs": 966.2380218505859, "relativeCreated": 59862.4804019928, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 20 ()", "asctime": "2023-02-09 15:57:53,966" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "20", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954673.9663436, "msecs": 966.3436412811279, "relativeCreated": 59862.58602142334, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 20 ()", "asctime": "2023-02-09 15:57:53,966" } ], "time_consumption": 9.560585021972656e-05 }, { "name": "__tLogger__", "msg": "Deactivating away mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 119, "funcName": "__test_away_mode__", "created": 1675954674.2677388, "msecs": 267.73881912231445, "relativeCreated": 60163.98119926453, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Deactivating away mode", "asctime": "2023-02-09 15:57:54,267", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/away_mode", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954673.9667323, "msecs": 966.7322635650635, "relativeCreated": 59862.974643707275, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/away_mode and payload false", "asctime": "2023-02-09 15:57:53,966" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/away_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.9678562, "msecs": 967.8561687469482, "relativeCreated": 59864.09854888916, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'false'", "asctime": "2023-02-09 15:57:53,967" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 25}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.979648, "msecs": 979.6481132507324, "relativeCreated": 59875.890493392944, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'", "asctime": "2023-02-09 15:57:53,979" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954673.980129, "msecs": 980.1290035247803, "relativeCreated": 59876.37138366699, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:53,980" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.9807985, "msecs": 980.7984828948975, "relativeCreated": 59877.04086303711, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:53,980" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.9815116, "msecs": 981.5115928649902, "relativeCreated": 59877.7539730072, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:53,981" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/away_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.9820476, "msecs": 982.0475578308105, "relativeCreated": 59878.28993797302, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'false'", "asctime": "2023-02-09 15:57:53,982" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.9825425, "msecs": 982.5425148010254, "relativeCreated": 59878.78489494324, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:53,982" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954673.9830322, "msecs": 983.0322265625, "relativeCreated": 59879.27460670471, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:53,983" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.0293581, "msecs": 29.3581485748291, "relativeCreated": 59925.60052871704, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:54,029" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.0700033, "msecs": 70.00327110290527, "relativeCreated": 59966.24565124512, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:54,070" } ], "time_consumption": 0.19773554801940918 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954674.2682984, "msecs": 268.2983875274658, "relativeCreated": 60164.54076766968, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:54,268", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954674.2680824, "msecs": 268.0823802947998, "relativeCreated": 60164.32476043701, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): False ()", "asctime": "2023-02-09 15:57:54,268" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954674.2682033, "msecs": 268.2032585144043, "relativeCreated": 60164.445638656616, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = False ()", "asctime": "2023-02-09 15:57:54,268" } ], "time_consumption": 9.512901306152344e-05 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "25", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954674.268615, "msecs": 268.6150074005127, "relativeCreated": 60164.857387542725, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 25 and Type is ).", "asctime": "2023-02-09 15:57:54,268", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954674.268449, "msecs": 268.449068069458, "relativeCreated": 60164.69144821167, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 25 ()", "asctime": "2023-02-09 15:57:54,268" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954674.2685366, "msecs": 268.5365676879883, "relativeCreated": 60164.7789478302, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 25 ()", "asctime": "2023-02-09 15:57:54,268" } ], "time_consumption": 7.843971252441406e-05 } ], "time_consumption": 0.9072952270507812, "time_start": "2023-02-09 15:57:53,361", "time_finished": "2023-02-09 15:57:54,268" }, "Boost mode test: zigbee/gfw/dirk/heating_valve": { "name": "__tLogger__", "msg": "Boost mode test: zigbee/gfw/dirk/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 128, "funcName": "test_boost_mode", "created": 1675954674.2690678, "msecs": 269.06776428222656, "relativeCreated": 60165.31014442444, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost mode test: zigbee/gfw/dirk/heating_valve", "asctime": "2023-02-09 15:57:54,269", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 133, "funcName": "__test_boost_mode__", "created": 1675954674.5711963, "msecs": 571.1963176727295, "relativeCreated": 60467.43869781494, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:57:54,571", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954674.2693243, "msecs": 269.32430267333984, "relativeCreated": 60165.56668281555, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:54,269" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.2702146, "msecs": 270.2145576477051, "relativeCreated": 60166.45693778992, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:54,270" } ], "time_consumption": 0.3009817600250244 }, { "name": "__tLogger__", "msg": "Boost timer is correct (Content %s and Type is %s).", "args": [ "0", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954674.5718336, "msecs": 571.833610534668, "relativeCreated": 60468.07599067688, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is correct (Content 0 and Type is ).", "asctime": "2023-02-09 15:57:54,571", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954674.5715878, "msecs": 571.5878009796143, "relativeCreated": 60467.830181121826, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 0 ()", "asctime": "2023-02-09 15:57:54,571" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", "=", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954674.5717266, "msecs": 571.7265605926514, "relativeCreated": 60467.96894073486, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result = 0 ()", "asctime": "2023-02-09 15:57:54,571" } ], "time_consumption": 0.00010704994201660156 }, { "name": "__tLogger__", "msg": "Activating boost mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 140, "funcName": "__test_boost_mode__", "created": 1675954674.873081, "msecs": 873.0809688568115, "relativeCreated": 60769.32334899902, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating boost mode", "asctime": "2023-02-09 15:57:54,873", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.start_boost", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/start_boost", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954674.5721517, "msecs": 572.1516609191895, "relativeCreated": 60468.3940410614, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/start_boost and payload true", "asctime": "2023-02-09 15:57:54,572" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.start_boost", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/start_boost", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.5732932, "msecs": 573.2932090759277, "relativeCreated": 60469.53558921814, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/start_boost and payload b'true'", "asctime": "2023-02-09 15:57:54,573" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.boost_timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/boost_timer", "b'900'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.5855641, "msecs": 585.564136505127, "relativeCreated": 60481.80651664734, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'900'", "asctime": "2023-02-09 15:57:54,585" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.58627, "msecs": 586.2700939178467, "relativeCreated": 60482.51247406006, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:54,586" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 30}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.5868826, "msecs": 586.8825912475586, "relativeCreated": 60483.12497138977, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'", "asctime": "2023-02-09 15:57:54,586" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954674.587231, "msecs": 587.230920791626, "relativeCreated": 60483.47330093384, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:54,587" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'30'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.5877883, "msecs": 587.7883434295654, "relativeCreated": 60484.03072357178, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'30'", "asctime": "2023-02-09 15:57:54,587" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.5884273, "msecs": 588.4273052215576, "relativeCreated": 60484.66968536377, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:54,588" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.5889354, "msecs": 588.935375213623, "relativeCreated": 60485.177755355835, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:54,588" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.6336129, "msecs": 633.612871170044, "relativeCreated": 60529.855251312256, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:54,633" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.6750288, "msecs": 675.0288009643555, "relativeCreated": 60571.27118110657, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:54,675" } ], "time_consumption": 0.19805216789245605 }, { "name": "__tLogger__", "msg": "Boost timer is greater expectation (Content %s and Type is %s).", "args": [ "900", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 230, "funcName": "greater_chk", "created": 1675954674.8737063, "msecs": 873.7063407897949, "relativeCreated": 60769.94872093201, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is greater expectation (Content 900 and Type is ).", "asctime": "2023-02-09 15:57:54,873", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "900", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954674.873459, "msecs": 873.4591007232666, "relativeCreated": 60769.70148086548, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 900 ()", "asctime": "2023-02-09 15:57:54,873" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", ">", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954674.8735964, "msecs": 873.5964298248291, "relativeCreated": 60769.83880996704, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result > 0 ()", "asctime": "2023-02-09 15:57:54,873" } ], "time_consumption": 0.00010991096496582031 }, { "name": "__tLogger__", "msg": "Setting postconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 145, "funcName": "__test_boost_mode__", "created": 1675954675.175565, "msecs": 175.56500434875488, "relativeCreated": 61071.80738449097, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting postconditions (Default setpoint)", "asctime": "2023-02-09 15:57:55,175", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954674.8739817, "msecs": 873.9817142486572, "relativeCreated": 60770.22409439087, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:54,873" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.8751051, "msecs": 875.1051425933838, "relativeCreated": 60771.347522735596, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:54,875" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.boost_timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/boost_timer", "b'0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.887698, "msecs": 887.6979351043701, "relativeCreated": 60783.94031524658, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'0'", "asctime": "2023-02-09 15:57:54,887" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.888292, "msecs": 888.2920742034912, "relativeCreated": 60784.5344543457, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:54,888" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 25}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.8888197, "msecs": 888.819694519043, "relativeCreated": 60785.062074661255, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'", "asctime": "2023-02-09 15:57:54,888" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954674.8891482, "msecs": 889.1482353210449, "relativeCreated": 60785.39061546326, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:54,889" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.8897085, "msecs": 889.7085189819336, "relativeCreated": 60785.950899124146, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:54,889" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.8903663, "msecs": 890.3663158416748, "relativeCreated": 60786.60869598389, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:54,890" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.890882, "msecs": 890.8820152282715, "relativeCreated": 60787.12439537048, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:54,890" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.9371538, "msecs": 937.1538162231445, "relativeCreated": 60833.39619636536, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:54,937" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954674.9778726, "msecs": 977.8726100921631, "relativeCreated": 60874.114990234375, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:54,977" } ], "time_consumption": 0.1976923942565918 }, { "name": "__tLogger__", "msg": "Boost timer is correct (Content %s and Type is %s).", "args": [ "0", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954675.1762495, "msecs": 176.24950408935547, "relativeCreated": 61072.49188423157, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is correct (Content 0 and Type is ).", "asctime": "2023-02-09 15:57:55,176", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954675.175967, "msecs": 175.96697807312012, "relativeCreated": 61072.20935821533, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 0 ()", "asctime": "2023-02-09 15:57:55,175" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", "=", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954675.176141, "msecs": 176.14102363586426, "relativeCreated": 61072.383403778076, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result = 0 ()", "asctime": "2023-02-09 15:57:55,176" } ], "time_consumption": 0.00010848045349121094 } ], "time_consumption": 0.9071817398071289, "time_start": "2023-02-09 15:57:54,269", "time_finished": "2023-02-09 15:57:55,176" }, "Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve": { "name": "__tLogger__", "msg": "Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_default_temperature", "created": 1675954675.1767168, "msecs": 176.71680450439453, "relativeCreated": 61072.95918464661, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve", "asctime": "2023-02-09 15:57:55,176", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Valve setpoint to %.1f)", "args": [ 20 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 60, "funcName": "__test_default_temperature__", "created": 1675954675.4780712, "msecs": 478.0712127685547, "relativeCreated": 61374.31359291077, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Valve setpoint to 20.0)", "asctime": "2023-02-09 15:57:55,478", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954675.177131, "msecs": 177.13093757629395, "relativeCreated": 61073.373317718506, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:55,177" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.1782753, "msecs": 178.27534675598145, "relativeCreated": 61074.51772689819, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:55,178" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 20}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.1945736, "msecs": 194.57364082336426, "relativeCreated": 61090.816020965576, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'", "asctime": "2023-02-09 15:57:55,194" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'20'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.1950057, "msecs": 195.0056552886963, "relativeCreated": 61091.24803543091, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'", "asctime": "2023-02-09 15:57:55,195" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.195412, "msecs": 195.41192054748535, "relativeCreated": 61091.6543006897, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:55,195" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/user_temperature_setpoint", "b'20'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.195841, "msecs": 195.84107398986816, "relativeCreated": 61092.08345413208, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'", "asctime": "2023-02-09 15:57:55,195" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.1963224, "msecs": 196.32244110107422, "relativeCreated": 61092.564821243286, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:55,196" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.1967618, "msecs": 196.7618465423584, "relativeCreated": 61093.00422668457, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:55,196" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.197258, "msecs": 197.25799560546875, "relativeCreated": 61093.50037574768, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:55,197" } ], "time_consumption": 0.28081321716308594 }, { "name": "__tLogger__", "msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954675.4787464, "msecs": 478.7464141845703, "relativeCreated": 61374.98879432678, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:55,478", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve temperature setpoint (is not default temperature)", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954675.4784951, "msecs": 478.49512100219727, "relativeCreated": 61374.73750114441, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve temperature setpoint (is not default temperature)): True ()", "asctime": "2023-02-09 15:57:55,478" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve temperature setpoint (is not default temperature)", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954675.478637, "msecs": 478.6369800567627, "relativeCreated": 61374.879360198975, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True ()", "asctime": "2023-02-09 15:57:55,478" } ], "time_consumption": 0.00010943412780761719 }, { "name": "__tLogger__", "msg": "Triggering set to default temperature (%.1f)", "args": [ 25 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 66, "funcName": "__test_default_temperature__", "created": 1675954675.7810063, "msecs": 781.0063362121582, "relativeCreated": 61677.24871635437, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Triggering set to default temperature (25.0)", "asctime": "2023-02-09 15:57:55,781", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954675.4790633, "msecs": 479.0632724761963, "relativeCreated": 61375.30565261841, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:55,479" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.4801707, "msecs": 480.17072677612305, "relativeCreated": 61376.413106918335, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:55,480" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/user_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.5015972, "msecs": 501.59716606140137, "relativeCreated": 61397.83954620361, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:55,501" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.5022752, "msecs": 502.2752285003662, "relativeCreated": 61398.51760864258, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:55,502" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 25}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.5027957, "msecs": 502.7956962585449, "relativeCreated": 61399.03807640076, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'", "asctime": "2023-02-09 15:57:55,502" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954675.5031073, "msecs": 503.10730934143066, "relativeCreated": 61399.34968948364, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:55,503" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.503676, "msecs": 503.6759376525879, "relativeCreated": 61399.9183177948, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:55,503" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.50439, "msecs": 504.39000129699707, "relativeCreated": 61400.63238143921, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:55,504" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.505011, "msecs": 505.01108169555664, "relativeCreated": 61401.25346183777, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:55,505" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.5537415, "msecs": 553.741455078125, "relativeCreated": 61449.98383522034, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:55,553" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.599023, "msecs": 599.0231037139893, "relativeCreated": 61495.2654838562, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:55,599" } ], "time_consumption": 0.18198323249816895 }, { "name": "__tLogger__", "msg": "Valve temperature setpoint is correct (Content %s and Type is %s).", "args": [ "25", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954675.7817585, "msecs": 781.7585468292236, "relativeCreated": 61678.000926971436, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve temperature setpoint is correct (Content 25 and Type is ).", "asctime": "2023-02-09 15:57:55,781", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve temperature setpoint", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954675.7814562, "msecs": 781.4562320709229, "relativeCreated": 61677.698612213135, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve temperature setpoint): 25 ()", "asctime": "2023-02-09 15:57:55,781" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve temperature setpoint", "=", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954675.7816045, "msecs": 781.604528427124, "relativeCreated": 61677.846908569336, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve temperature setpoint): result = 25 ()", "asctime": "2023-02-09 15:57:55,781" } ], "time_consumption": 0.00015401840209960938 } ], "time_consumption": 0.6050417423248291, "time_start": "2023-02-09 15:57:55,176", "time_finished": "2023-02-09 15:57:55,781" }, "Summer mode test: zigbee/gfw/dirk/heating_valve": { "name": "__tLogger__", "msg": "Summer mode test: zigbee/gfw/dirk/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "test_summer_mode", "created": 1675954675.7822125, "msecs": 782.212495803833, "relativeCreated": 61678.454875946045, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode test: zigbee/gfw/dirk/heating_valve", "asctime": "2023-02-09 15:57:55,782", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 79, "funcName": "__test_summer_mode__", "created": 1675954676.083326, "msecs": 83.32610130310059, "relativeCreated": 61979.56848144531, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:57:56,083", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954675.7825296, "msecs": 782.5295925140381, "relativeCreated": 61678.77197265625, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:57:55,782" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954675.783649, "msecs": 783.6489677429199, "relativeCreated": 61679.89134788513, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:57:55,783" } ], "time_consumption": 0.29967713356018066 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954676.0840147, "msecs": 84.0146541595459, "relativeCreated": 61980.25703430176, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:56,084", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954676.0837235, "msecs": 83.72354507446289, "relativeCreated": 61979.965925216675, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): False ()", "asctime": "2023-02-09 15:57:56,083" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954676.0838666, "msecs": 83.86659622192383, "relativeCreated": 61980.108976364136, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = False ()", "asctime": "2023-02-09 15:57:56,083" } ], "time_consumption": 0.0001480579376220703 }, { "name": "__tLogger__", "msg": "Activating summer mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 86, "funcName": "__test_summer_mode__", "created": 1675954676.386282, "msecs": 386.28196716308594, "relativeCreated": 62282.5243473053, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating summer mode", "asctime": "2023-02-09 15:57:56,386", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/summer_mode", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954676.0843563, "msecs": 84.35630798339844, "relativeCreated": 61980.59868812561, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/summer_mode and payload true", "asctime": "2023-02-09 15:57:56,084" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/summer_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.0853355, "msecs": 85.33549308776855, "relativeCreated": 61981.57787322998, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'true'", "asctime": "2023-02-09 15:57:56,085" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.1032124, "msecs": 103.21235656738281, "relativeCreated": 61999.454736709595, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'", "asctime": "2023-02-09 15:57:56,103" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954676.1036808, "msecs": 103.68084907531738, "relativeCreated": 61999.92322921753, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:56,103" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.1043754, "msecs": 104.37536239624023, "relativeCreated": 62000.61774253845, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'5'", "asctime": "2023-02-09 15:57:56,104" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.1051528, "msecs": 105.15284538269043, "relativeCreated": 62001.3952255249, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:56,105" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/summer_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.1057363, "msecs": 105.73625564575195, "relativeCreated": 62001.978635787964, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'true'", "asctime": "2023-02-09 15:57:56,105" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.1062984, "msecs": 106.29844665527344, "relativeCreated": 62002.540826797485, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:56,106" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.1068876, "msecs": 106.8875789642334, "relativeCreated": 62003.129959106445, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:56,106" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.1495771, "msecs": 149.57714080810547, "relativeCreated": 62045.81952095032, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:56,149" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.191062, "msecs": 191.06197357177734, "relativeCreated": 62087.30435371399, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:56,191" } ], "time_consumption": 0.1952199935913086 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954676.3869274, "msecs": 386.92736625671387, "relativeCreated": 62283.169746398926, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content True and Type is ).", "asctime": "2023-02-09 15:57:56,386", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954676.3866801, "msecs": 386.68012619018555, "relativeCreated": 62282.9225063324, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): True ()", "asctime": "2023-02-09 15:57:56,386" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954676.3868184, "msecs": 386.81840896606445, "relativeCreated": 62283.06078910828, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = True ()", "asctime": "2023-02-09 15:57:56,386" } ], "time_consumption": 0.00010895729064941406 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954676.3872876, "msecs": 387.2876167297363, "relativeCreated": 62283.52999687195, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:57:56,387", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954676.3870971, "msecs": 387.0971202850342, "relativeCreated": 62283.339500427246, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 5 ()", "asctime": "2023-02-09 15:57:56,387" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954676.387197, "msecs": 387.19701766967773, "relativeCreated": 62283.43939781189, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 5 ()", "asctime": "2023-02-09 15:57:56,387" } ], "time_consumption": 9.059906005859375e-05 }, { "name": "__tLogger__", "msg": "Deactivating summer mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 92, "funcName": "__test_summer_mode__", "created": 1675954676.688521, "msecs": 688.5209083557129, "relativeCreated": 62584.763288497925, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Deactivating summer mode", "asctime": "2023-02-09 15:57:56,688", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/summer_mode", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954676.3875723, "msecs": 387.5722885131836, "relativeCreated": 62283.814668655396, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/summer_mode and payload false", "asctime": "2023-02-09 15:57:56,387" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/summer_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.3886905, "msecs": 388.6904716491699, "relativeCreated": 62284.93285179138, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'false'", "asctime": "2023-02-09 15:57:56,388" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 25}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.3998342, "msecs": 399.83415603637695, "relativeCreated": 62296.07653617859, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'", "asctime": "2023-02-09 15:57:56,399" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954676.4003232, "msecs": 400.32315254211426, "relativeCreated": 62296.565532684326, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:56,400" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.4009862, "msecs": 400.9861946105957, "relativeCreated": 62297.22857475281, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:56,400" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.401766, "msecs": 401.7660617828369, "relativeCreated": 62298.00844192505, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:56,401" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/summer_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.4023583, "msecs": 402.3582935333252, "relativeCreated": 62298.60067367554, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'false'", "asctime": "2023-02-09 15:57:56,402" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.4029276, "msecs": 402.9276371002197, "relativeCreated": 62299.17001724243, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:56,402" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.4039824, "msecs": 403.98240089416504, "relativeCreated": 62300.22478103638, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:56,403" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.4502113, "msecs": 450.2112865447998, "relativeCreated": 62346.45366668701, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:56,450" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.4940705, "msecs": 494.07052993774414, "relativeCreated": 62390.312910079956, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:56,494" } ], "time_consumption": 0.19445037841796875 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954676.6892488, "msecs": 689.24880027771, "relativeCreated": 62585.49118041992, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:57:56,689", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954676.6889157, "msecs": 688.9157295227051, "relativeCreated": 62585.15810966492, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): False ()", "asctime": "2023-02-09 15:57:56,688" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954676.6890895, "msecs": 689.0895366668701, "relativeCreated": 62585.33191680908, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = False ()", "asctime": "2023-02-09 15:57:56,689" } ], "time_consumption": 0.00015926361083984375 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "25", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954676.689621, "msecs": 689.6209716796875, "relativeCreated": 62585.8633518219, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 25 and Type is ).", "asctime": "2023-02-09 15:57:56,689", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954676.689432, "msecs": 689.43190574646, "relativeCreated": 62585.67428588867, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 25 ()", "asctime": "2023-02-09 15:57:56,689" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954676.6895313, "msecs": 689.5313262939453, "relativeCreated": 62585.77370643616, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 25 ()", "asctime": "2023-02-09 15:57:56,689" } ], "time_consumption": 8.96453857421875e-05 } ], "time_consumption": 0.9074084758758545, "time_start": "2023-02-09 15:57:55,782", "time_finished": "2023-02-09 15:57:56,689" }, "User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve": { "name": "__tLogger__", "msg": "User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "test_user_temperature_setpoint", "created": 1675954676.6900752, "msecs": 690.075159072876, "relativeCreated": 62586.31753921509, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve", "asctime": "2023-02-09 15:57:56,690", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Changing valve temperature setpoint to '%.1f'", "args": [ 20 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 33, "funcName": "__test_user_temperature_setpoint__", "created": 1675954676.9913304, "msecs": 991.3303852081299, "relativeCreated": 62887.57276535034, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing valve temperature setpoint to '20.0'", "asctime": "2023-02-09 15:57:56,991", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954676.6904466, "msecs": 690.4466152191162, "relativeCreated": 62586.68899536133, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:56,690" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.6915805, "msecs": 691.5805339813232, "relativeCreated": 62587.822914123535, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:56,691" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 20}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.7125041, "msecs": 712.5041484832764, "relativeCreated": 62608.74652862549, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'", "asctime": "2023-02-09 15:57:56,712" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'20'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.7132406, "msecs": 713.2406234741211, "relativeCreated": 62609.48300361633, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'", "asctime": "2023-02-09 15:57:56,713" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.7139032, "msecs": 713.9031887054443, "relativeCreated": 62610.145568847656, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:56,713" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/user_temperature_setpoint", "b'20'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.7144682, "msecs": 714.468240737915, "relativeCreated": 62610.71062088013, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'", "asctime": "2023-02-09 15:57:56,714" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.7150457, "msecs": 715.045690536499, "relativeCreated": 62611.28807067871, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:56,715" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.7155788, "msecs": 715.5787944793701, "relativeCreated": 62611.82117462158, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:56,715" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.7161744, "msecs": 716.1743640899658, "relativeCreated": 62612.41674423218, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:56,716" } ], "time_consumption": 0.27515602111816406 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "20", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954676.9920976, "msecs": 992.0976161956787, "relativeCreated": 62888.33999633789, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 20 and Type is ).", "asctime": "2023-02-09 15:57:56,992", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "20", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954676.9918108, "msecs": 991.8107986450195, "relativeCreated": 62888.05317878723, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 20 ()", "asctime": "2023-02-09 15:57:56,991" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "20", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954676.9919703, "msecs": 991.9703006744385, "relativeCreated": 62888.21268081665, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 20 ()", "asctime": "2023-02-09 15:57:56,991" } ], "time_consumption": 0.00012731552124023438 }, { "name": "__tLogger__", "msg": "Virtual device user temperature is correct (Content %s and Type is %s).", "args": [ "20", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954676.9925127, "msecs": 992.5127029418945, "relativeCreated": 62888.75508308411, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device user temperature is correct (Content 20 and Type is ).", "asctime": "2023-02-09 15:57:56,992", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device user temperature", "20", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954676.992294, "msecs": 992.2940731048584, "relativeCreated": 62888.53645324707, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device user temperature): 20 ()", "asctime": "2023-02-09 15:57:56,992" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device user temperature", "=", "20", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954676.9924092, "msecs": 992.4092292785645, "relativeCreated": 62888.65160942078, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device user temperature): result = 20 ()", "asctime": "2023-02-09 15:57:56,992" } ], "time_consumption": 0.00010347366333007812 }, { "name": "__tLogger__", "msg": "Changing videv user temperature setpoint to '%.1f'", "args": [ 25 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 41, "funcName": "__test_user_temperature_setpoint__", "created": 1675954677.293869, "msecs": 293.8690185546875, "relativeCreated": 63190.1113986969, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing videv user temperature setpoint to '25.0'", "asctime": "2023-02-09 15:57:57,293", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/user_temperature_setpoint", "25" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954676.9928565, "msecs": 992.856502532959, "relativeCreated": 62889.09888267517, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload 25", "asctime": "2023-02-09 15:57:56,992" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/user_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954676.9942307, "msecs": 994.2307472229004, "relativeCreated": 62890.47312736511, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:56,994" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 25}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.0133626, "msecs": 13.362646102905273, "relativeCreated": 62909.60502624512, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'", "asctime": "2023-02-09 15:57:57,013" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954677.0138292, "msecs": 13.829231262207031, "relativeCreated": 62910.07161140442, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:57,013" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.0145054, "msecs": 14.505386352539062, "relativeCreated": 62910.74776649475, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:57,014" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.0152683, "msecs": 15.268325805664062, "relativeCreated": 62911.510705947876, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:57,015" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/user_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.0158496, "msecs": 15.849590301513672, "relativeCreated": 62912.091970443726, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:57,015" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.0164204, "msecs": 16.420364379882812, "relativeCreated": 62912.662744522095, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:57,016" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.0169969, "msecs": 16.99686050415039, "relativeCreated": 62913.23924064636, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:57,016" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.0657787, "msecs": 65.77873229980469, "relativeCreated": 62962.02111244202, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:57,065" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.1110315, "msecs": 111.03153228759766, "relativeCreated": 63007.27391242981, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:57,111" } ], "time_consumption": 0.18283748626708984 }, { "name": "__tLogger__", "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).", "args": [ "25", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954677.2945354, "msecs": 294.53539848327637, "relativeCreated": 63190.77777862549, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve device temperature setpoint is correct (Content 25 and Type is ).", "asctime": "2023-02-09 15:57:57,294", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve device temperature setpoint", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954677.2942896, "msecs": 294.28958892822266, "relativeCreated": 63190.531969070435, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve device temperature setpoint): 25 ()", "asctime": "2023-02-09 15:57:57,294" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve device temperature setpoint", "=", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954677.2944295, "msecs": 294.4295406341553, "relativeCreated": 63190.67192077637, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve device temperature setpoint): result = 25 ()", "asctime": "2023-02-09 15:57:57,294" } ], "time_consumption": 0.00010585784912109375 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "25", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954677.2948914, "msecs": 294.891357421875, "relativeCreated": 63191.13373756409, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 25 and Type is ).", "asctime": "2023-02-09 15:57:57,294", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954677.2947054, "msecs": 294.7053909301758, "relativeCreated": 63190.94777107239, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 25 ()", "asctime": "2023-02-09 15:57:57,294" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954677.2948034, "msecs": 294.8033809661865, "relativeCreated": 63191.0457611084, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 25 ()", "asctime": "2023-02-09 15:57:57,294" } ], "time_consumption": 8.797645568847656e-05 }, { "name": "__tLogger__", "msg": "Changing valve temperature setpoint to '%.1f'", "args": [ 20 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 33, "funcName": "__test_user_temperature_setpoint__", "created": 1675954677.5961752, "msecs": 596.1751937866211, "relativeCreated": 63492.41757392883, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing valve temperature setpoint to '20.0'", "asctime": "2023-02-09 15:57:57,596", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954677.295191, "msecs": 295.19104957580566, "relativeCreated": 63191.43342971802, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:57,295" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.2962916, "msecs": 296.2915897369385, "relativeCreated": 63192.53396987915, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:57,296" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 20}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.3180945, "msecs": 318.09449195861816, "relativeCreated": 63214.33687210083, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'", "asctime": "2023-02-09 15:57:57,318" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'20'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.3187912, "msecs": 318.79115104675293, "relativeCreated": 63215.033531188965, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'", "asctime": "2023-02-09 15:57:57,318" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.3194206, "msecs": 319.42057609558105, "relativeCreated": 63215.66295623779, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:57,319" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/user_temperature_setpoint", "b'20'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.3200138, "msecs": 320.01376152038574, "relativeCreated": 63216.2561416626, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'", "asctime": "2023-02-09 15:57:57,320" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.3206012, "msecs": 320.601224899292, "relativeCreated": 63216.843605041504, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:57,320" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.3211682, "msecs": 321.1681842803955, "relativeCreated": 63217.41056442261, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:57,321" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.3217645, "msecs": 321.7644691467285, "relativeCreated": 63218.00684928894, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:57,321" } ], "time_consumption": 0.2744107246398926 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "20", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954677.5968325, "msecs": 596.8325138092041, "relativeCreated": 63493.074893951416, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 20 and Type is ).", "asctime": "2023-02-09 15:57:57,596", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "20", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954677.5965917, "msecs": 596.5917110443115, "relativeCreated": 63492.83409118652, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 20 ()", "asctime": "2023-02-09 15:57:57,596" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "20", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954677.596727, "msecs": 596.7268943786621, "relativeCreated": 63492.969274520874, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 20 ()", "asctime": "2023-02-09 15:57:57,596" } ], "time_consumption": 0.00010561943054199219 }, { "name": "__tLogger__", "msg": "Virtual device user temperature is correct (Content %s and Type is %s).", "args": [ "20", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954677.597267, "msecs": 597.2669124603271, "relativeCreated": 63493.50929260254, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device user temperature is correct (Content 20 and Type is ).", "asctime": "2023-02-09 15:57:57,597", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device user temperature", "20", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954677.5970368, "msecs": 597.0368385314941, "relativeCreated": 63493.279218673706, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device user temperature): 20 ()", "asctime": "2023-02-09 15:57:57,597" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device user temperature", "=", "20", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954677.5971787, "msecs": 597.1786975860596, "relativeCreated": 63493.42107772827, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device user temperature): result = 20 ()", "asctime": "2023-02-09 15:57:57,597" } ], "time_consumption": 8.821487426757812e-05 }, { "name": "__tLogger__", "msg": "Changing videv user temperature setpoint to '%.1f'", "args": [ 25 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 41, "funcName": "__test_user_temperature_setpoint__", "created": 1675954677.8985188, "msecs": 898.5188007354736, "relativeCreated": 63794.761180877686, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing videv user temperature setpoint to '25.0'", "asctime": "2023-02-09 15:57:57,898", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/user_temperature_setpoint", "25" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954677.5975685, "msecs": 597.5685119628906, "relativeCreated": 63493.8108921051, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload 25", "asctime": "2023-02-09 15:57:57,597" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/user_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.5986834, "msecs": 598.6833572387695, "relativeCreated": 63494.92573738098, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:57,598" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve/set", "b'{\"current_heating_setpoint\": 25}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.6168025, "msecs": 616.802453994751, "relativeCreated": 63513.04483413696, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'", "asctime": "2023-02-09 15:57:57,616" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954677.6173086, "msecs": 617.3086166381836, "relativeCreated": 63513.550996780396, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:57:57,617" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/valve_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.6179798, "msecs": 617.9797649383545, "relativeCreated": 63514.22214508057, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:57,617" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.618735, "msecs": 618.7350749969482, "relativeCreated": 63514.97745513916, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:57,618" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/user_temperature_setpoint", "b'25'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.6193185, "msecs": 619.3184852600098, "relativeCreated": 63515.56086540222, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'", "asctime": "2023-02-09 15:57:57,619" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.6198828, "msecs": 619.8828220367432, "relativeCreated": 63516.125202178955, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:57,619" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/heating_valve", "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.620437, "msecs": 620.4369068145752, "relativeCreated": 63516.67928695679, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:57:57,620" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.6657836, "msecs": 665.7836437225342, "relativeCreated": 63562.026023864746, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:57:57,665" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.710968, "msecs": 710.968017578125, "relativeCreated": 63607.21039772034, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:57:57,710" } ], "time_consumption": 0.18755078315734863 }, { "name": "__tLogger__", "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).", "args": [ "25", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954677.8992388, "msecs": 899.2388248443604, "relativeCreated": 63795.48120498657, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve device temperature setpoint is correct (Content 25 and Type is ).", "asctime": "2023-02-09 15:57:57,899", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve device temperature setpoint", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954677.8989449, "msecs": 898.9448547363281, "relativeCreated": 63795.18723487854, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve device temperature setpoint): 25 ()", "asctime": "2023-02-09 15:57:57,898" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve device temperature setpoint", "=", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954677.8991172, "msecs": 899.1172313690186, "relativeCreated": 63795.35961151123, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve device temperature setpoint): result = 25 ()", "asctime": "2023-02-09 15:57:57,899" } ], "time_consumption": 0.00012159347534179688 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "25", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954677.8996027, "msecs": 899.6026515960693, "relativeCreated": 63795.84503173828, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 25 and Type is ).", "asctime": "2023-02-09 15:57:57,899", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954677.8994133, "msecs": 899.4133472442627, "relativeCreated": 63795.655727386475, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 25 ()", "asctime": "2023-02-09 15:57:57,899" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "25", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954677.8995135, "msecs": 899.5134830474854, "relativeCreated": 63795.7558631897, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 25 ()", "asctime": "2023-02-09 15:57:57,899" } ], "time_consumption": 8.916854858398438e-05 } ], "time_consumption": 1.2095274925231934, "time_start": "2023-02-09 15:57:56,690", "time_finished": "2023-02-09 15:57:57,899" }, "Brightness test for device and virtual device: zigbee/gfw/dirk/main_light": { "name": "__tLogger__", "msg": "Brightness test for device and virtual device: zigbee/gfw/dirk/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_brightness", "created": 1675954677.9001307, "msecs": 900.1307487487793, "relativeCreated": 63796.37312889099, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness test for device and virtual device: zigbee/gfw/dirk/main_light", "asctime": "2023-02-09 15:57:57,900", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 57, "funcName": "__test_brightness__", "created": 1675954678.2028842, "msecs": 202.88419723510742, "relativeCreated": 64099.12657737732, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:57:58,202", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954677.9004552, "msecs": 900.4552364349365, "relativeCreated": 63796.69761657715, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:57,900" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954677.9010262, "msecs": 901.0262489318848, "relativeCreated": 63797.2686290741, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:57,901" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.9020414, "msecs": 902.0414352416992, "relativeCreated": 63798.28381538391, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:57,902" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.9027438, "msecs": 902.7438163757324, "relativeCreated": 63798.986196517944, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:57,902" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.9499013, "msecs": 949.9013423919678, "relativeCreated": 63846.14372253418, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:57,949" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.9505932, "msecs": 950.5932331085205, "relativeCreated": 63846.83561325073, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:57,950" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.9511397, "msecs": 951.1396884918213, "relativeCreated": 63847.38206863403, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:57,951" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.9516435, "msecs": 951.6434669494629, "relativeCreated": 63847.885847091675, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:57,951" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.952143, "msecs": 952.1429538726807, "relativeCreated": 63848.38533401489, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:57:57,952" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954677.9526749, "msecs": 952.6748657226562, "relativeCreated": 63848.91724586487, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:57,952" } ], "time_consumption": 0.25020933151245117 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954678.2035332, "msecs": 203.53317260742188, "relativeCreated": 64099.775552749634, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:58,203", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954678.2032847, "msecs": 203.28474044799805, "relativeCreated": 64099.52712059021, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:58,203" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954678.203423, "msecs": 203.42302322387695, "relativeCreated": 64099.66540336609, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:58,203" } ], "time_consumption": 0.00011014938354492188 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954678.5049334, "msecs": 504.93335723876953, "relativeCreated": 64401.17573738098, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:58,504", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954678.2038844, "msecs": 203.88436317443848, "relativeCreated": 64100.12674331665, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:58,203" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954678.205028, "msecs": 205.02805709838867, "relativeCreated": 64101.2704372406, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:58,205" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954678.2075012, "msecs": 207.50117301940918, "relativeCreated": 64103.74355316162, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:58,207" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954678.2081704, "msecs": 208.17041397094727, "relativeCreated": 64104.41279411316, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:58,208" } ], "time_consumption": 0.29676294326782227 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954678.5056546, "msecs": 505.65457344055176, "relativeCreated": 64401.896953582764, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:58,505", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954678.5054033, "msecs": 505.4032802581787, "relativeCreated": 64401.64566040039, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:58,505" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954678.5055468, "msecs": 505.54680824279785, "relativeCreated": 64401.78918838501, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:58,505" } ], "time_consumption": 0.00010776519775390625 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954678.506014, "msecs": 506.0141086578369, "relativeCreated": 64402.25648880005, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:58,506", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954678.5058262, "msecs": 505.8262348175049, "relativeCreated": 64402.06861495972, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:58,505" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954678.5059252, "msecs": 505.92517852783203, "relativeCreated": 64402.167558670044, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:58,505" } ], "time_consumption": 8.893013000488281e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954678.8083074, "msecs": 808.307409286499, "relativeCreated": 64704.54978942871, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:58,808", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954678.5063488, "msecs": 506.3488483428955, "relativeCreated": 64402.59122848511, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:58,506" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954678.5074627, "msecs": 507.462739944458, "relativeCreated": 64403.70512008667, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:58,507" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954678.5098774, "msecs": 509.87744331359863, "relativeCreated": 64406.11982345581, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:58,509" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954678.5103142, "msecs": 510.3142261505127, "relativeCreated": 64406.556606292725, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:58,510" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954678.5113316, "msecs": 511.33155822753906, "relativeCreated": 64407.57393836975, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:58,511" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954678.556483, "msecs": 556.4830303192139, "relativeCreated": 64452.725410461426, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:58,556" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954678.557228, "msecs": 557.2280883789062, "relativeCreated": 64453.47046852112, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:58,557" } ], "time_consumption": 0.2510793209075928 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954678.8089569, "msecs": 808.9568614959717, "relativeCreated": 64705.19924163818, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:58,808", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954678.8087134, "msecs": 808.713436126709, "relativeCreated": 64704.95581626892, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:58,808" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954678.8088496, "msecs": 808.849573135376, "relativeCreated": 64705.09195327759, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:58,808" } ], "time_consumption": 0.00010728836059570312 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954678.8093953, "msecs": 809.3953132629395, "relativeCreated": 64705.63769340515, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:58,809", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954678.8091688, "msecs": 809.168815612793, "relativeCreated": 64705.411195755005, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:57:58,809" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954678.8093078, "msecs": 809.3078136444092, "relativeCreated": 64705.55019378662, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:58,809" } ], "time_consumption": 8.749961853027344e-05 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954679.1107056, "msecs": 110.70561408996582, "relativeCreated": 65006.94799423218, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:57:59,110", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954678.8097427, "msecs": 809.7426891326904, "relativeCreated": 64705.9850692749, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:58,809" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954678.810818, "msecs": 810.8179569244385, "relativeCreated": 64707.06033706665, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:58,810" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954678.8133104, "msecs": 813.3103847503662, "relativeCreated": 64709.55276489258, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:57:58,813" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954678.813979, "msecs": 813.978910446167, "relativeCreated": 64710.22129058838, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:58,813" } ], "time_consumption": 0.29672670364379883 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954679.111281, "msecs": 111.28091812133789, "relativeCreated": 65007.52329826355, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:59,111", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954679.1110697, "msecs": 111.0696792602539, "relativeCreated": 65007.312059402466, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:57:59,111" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954679.1111877, "msecs": 111.18769645690918, "relativeCreated": 65007.43007659912, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:59,111" } ], "time_consumption": 9.322166442871094e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954679.111618, "msecs": 111.6180419921875, "relativeCreated": 65007.8604221344, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:57:59,111", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954679.1114278, "msecs": 111.42778396606445, "relativeCreated": 65007.67016410828, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:57:59,111" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954679.1115415, "msecs": 111.5415096282959, "relativeCreated": 65007.78388977051, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:57:59,111" } ], "time_consumption": 7.653236389160156e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954679.4137776, "msecs": 413.77758979797363, "relativeCreated": 65310.019969940186, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:57:59,413", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954679.1118908, "msecs": 111.89079284667969, "relativeCreated": 65008.13317298889, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/main_light/brightness and payload 50", "asctime": "2023-02-09 15:57:59,111" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.1128688, "msecs": 112.8687858581543, "relativeCreated": 65009.111166000366, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:57:59,112" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.1143563, "msecs": 114.35627937316895, "relativeCreated": 65010.59865951538, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:57:59,114" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954679.1147182, "msecs": 114.71819877624512, "relativeCreated": 65010.96057891846, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:59,114" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.1156414, "msecs": 115.64135551452637, "relativeCreated": 65011.88373565674, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:59,115" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.1602542, "msecs": 160.25424003601074, "relativeCreated": 65056.49662017822, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:57:59,160" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.160921, "msecs": 160.9210968017578, "relativeCreated": 65057.16347694397, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:59,160" } ], "time_consumption": 0.2528564929962158 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954679.4144468, "msecs": 414.4468307495117, "relativeCreated": 65310.68921089172, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:57:59,414", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954679.4141755, "msecs": 414.17551040649414, "relativeCreated": 65310.417890548706, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:57:59,414" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954679.4143376, "msecs": 414.3376350402832, "relativeCreated": 65310.580015182495, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:57:59,414" } ], "time_consumption": 0.00010919570922851562 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "__test_brightness__", "created": 1675954679.7157032, "msecs": 715.7032489776611, "relativeCreated": 65611.94562911987, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:57:59,715", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954679.414697, "msecs": 414.69693183898926, "relativeCreated": 65310.9393119812, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:57:59,414" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.4158628, "msecs": 415.8627986907959, "relativeCreated": 65312.10517883301, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:57:59,415" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.4198182, "msecs": 419.8181629180908, "relativeCreated": 65316.0605430603, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'", "asctime": "2023-02-09 15:57:59,419" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.420424, "msecs": 420.4239845275879, "relativeCreated": 65316.6663646698, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:59,420" } ], "time_consumption": 0.29527926445007324 } ], "time_consumption": 1.8155725002288818, "time_start": "2023-02-09 15:57:57,900", "time_finished": "2023-02-09 15:57:59,715" }, "Color temperature test for device and virtual device: zigbee/gfw/dirk/main_light": { "name": "__tLogger__", "msg": "Color temperature test for device and virtual device: zigbee/gfw/dirk/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "test_color_temp", "created": 1675954679.7164648, "msecs": 716.4647579193115, "relativeCreated": 65612.70713806152, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Color temperature test for device and virtual device: zigbee/gfw/dirk/main_light", "asctime": "2023-02-09 15:57:59,716", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 88, "funcName": "__test_color_temp__", "created": 1675954680.0181422, "msecs": 18.142223358154297, "relativeCreated": 65914.38460350037, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:58:00,018", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954679.716813, "msecs": 716.8130874633789, "relativeCreated": 65613.05546760559, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:57:59,716" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954679.717407, "msecs": 717.4069881439209, "relativeCreated": 65613.64936828613, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:57:59,717" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.7184067, "msecs": 718.4066772460938, "relativeCreated": 65614.6490573883, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:57:59,718" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.719081, "msecs": 719.080924987793, "relativeCreated": 65615.32330513, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:57:59,719" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.7657878, "msecs": 765.7878398895264, "relativeCreated": 65662.03022003174, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'", "asctime": "2023-02-09 15:57:59,765" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954679.7664678, "msecs": 766.467809677124, "relativeCreated": 65662.71018981934, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:57:59,766" } ], "time_consumption": 0.2516744136810303 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954680.0187697, "msecs": 18.76974105834961, "relativeCreated": 65915.01212120056, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:58:00,018", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954680.0185244, "msecs": 18.5244083404541, "relativeCreated": 65914.76678848267, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:58:00,018" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954680.0186625, "msecs": 18.662452697753906, "relativeCreated": 65914.90483283997, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:58:00,018" } ], "time_consumption": 0.00010728836059570312 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954680.3202384, "msecs": 320.2383518218994, "relativeCreated": 66216.48073196411, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:58:00,320", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954680.0191202, "msecs": 19.120216369628906, "relativeCreated": 65915.36259651184, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:00,019" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.0202181, "msecs": 20.2181339263916, "relativeCreated": 65916.4605140686, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:00,020" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.022701, "msecs": 22.701025009155273, "relativeCreated": 65918.94340515137, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:58:00,022" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.0234008, "msecs": 23.40078353881836, "relativeCreated": 65919.64316368103, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:00,023" } ], "time_consumption": 0.29683756828308105 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954680.3209064, "msecs": 320.906400680542, "relativeCreated": 66217.14878082275, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:58:00,320", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954680.3206663, "msecs": 320.6663131713867, "relativeCreated": 66216.9086933136, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:58:00,320" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954680.3208008, "msecs": 320.80078125, "relativeCreated": 66217.04316139221, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:58:00,320" } ], "time_consumption": 0.00010561943054199219 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954680.3213074, "msecs": 321.3074207305908, "relativeCreated": 66217.5498008728, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:58:00,321", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954680.3211107, "msecs": 321.11072540283203, "relativeCreated": 66217.35310554504, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:58:00,321" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954680.321216, "msecs": 321.2161064147949, "relativeCreated": 66217.458486557, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:58:00,321" } ], "time_consumption": 9.131431579589844e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954680.622468, "msecs": 622.4679946899414, "relativeCreated": 66518.71037483215, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:58:00,622", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954680.3216004, "msecs": 321.60043716430664, "relativeCreated": 66217.84281730652, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:58:00,321" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.3226888, "msecs": 322.6888179779053, "relativeCreated": 66218.93119812012, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:58:00,322" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.3243556, "msecs": 324.3556022644043, "relativeCreated": 66220.59798240662, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:58:00,324" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954680.3247693, "msecs": 324.7692584991455, "relativeCreated": 66221.01163864136, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:00,324" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.3263445, "msecs": 326.34449005126953, "relativeCreated": 66222.58687019348, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:00,326" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.3696175, "msecs": 369.6174621582031, "relativeCreated": 66265.85984230042, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:58:00,369" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.3703642, "msecs": 370.3641891479492, "relativeCreated": 66266.60656929016, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:00,370" } ], "time_consumption": 0.2521038055419922 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954680.623105, "msecs": 623.1050491333008, "relativeCreated": 66519.34742927551, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:58:00,623", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954680.6228683, "msecs": 622.8682994842529, "relativeCreated": 66519.11067962646, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:58:00,622" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954680.6230004, "msecs": 623.0003833770752, "relativeCreated": 66519.24276351929, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:58:00,623" } ], "time_consumption": 0.00010466575622558594 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954680.6234586, "msecs": 623.4586238861084, "relativeCreated": 66519.70100402832, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:58:00,623", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954680.623272, "msecs": 623.2719421386719, "relativeCreated": 66519.51432228088, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:58:00,623" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954680.6233702, "msecs": 623.3701705932617, "relativeCreated": 66519.61255073547, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:58:00,623" } ], "time_consumption": 8.845329284667969e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954680.9248013, "msecs": 924.8013496398926, "relativeCreated": 66821.0437297821, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:58:00,924", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954680.6237967, "msecs": 623.7967014312744, "relativeCreated": 66520.03908157349, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:00,623" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.6248865, "msecs": 624.8865127563477, "relativeCreated": 66521.12889289856, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:00,624" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.6273687, "msecs": 627.368688583374, "relativeCreated": 66523.61106872559, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:58:00,627" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.6280494, "msecs": 628.049373626709, "relativeCreated": 66524.29175376892, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:00,628" } ], "time_consumption": 0.2967519760131836 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954680.9254894, "msecs": 925.4894256591797, "relativeCreated": 66821.73180580139, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:58:00,925", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954680.925245, "msecs": 925.2450466156006, "relativeCreated": 66821.48742675781, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:58:00,925" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954680.9253836, "msecs": 925.3835678100586, "relativeCreated": 66821.62594795227, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:58:00,925" } ], "time_consumption": 0.00010585784912109375 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954680.9258637, "msecs": 925.8637428283691, "relativeCreated": 66822.10612297058, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:58:00,925", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954680.925655, "msecs": 925.6548881530762, "relativeCreated": 66821.89726829529, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:58:00,925" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954680.925748, "msecs": 925.7481098175049, "relativeCreated": 66821.99048995972, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:58:00,925" } ], "time_consumption": 0.00011563301086425781 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954681.2275455, "msecs": 227.54549980163574, "relativeCreated": 67123.78787994385, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:58:01,227", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954680.926155, "msecs": 926.1550903320312, "relativeCreated": 66822.39747047424, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:58:00,926" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.9272454, "msecs": 927.2453784942627, "relativeCreated": 66823.48775863647, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:58:00,927" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.9288838, "msecs": 928.8837909698486, "relativeCreated": 66825.12617111206, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:58:00,928" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954680.9293485, "msecs": 929.3484687805176, "relativeCreated": 66825.59084892273, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:00,929" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.930361, "msecs": 930.3610324859619, "relativeCreated": 66826.60341262817, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:00,930" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.9735787, "msecs": 973.578691482544, "relativeCreated": 66869.82107162476, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:58:00,973" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954680.9743161, "msecs": 974.3161201477051, "relativeCreated": 66870.55850028992, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:00,974" } ], "time_consumption": 0.25322937965393066 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954681.2282083, "msecs": 228.2083034515381, "relativeCreated": 67124.45068359375, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:58:01,228", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954681.2279613, "msecs": 227.96130180358887, "relativeCreated": 67124.2036819458, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:58:01,227" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954681.2281017, "msecs": 228.1017303466797, "relativeCreated": 67124.34411048889, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:58:01,228" } ], "time_consumption": 0.00010657310485839844 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 105, "funcName": "__test_color_temp__", "created": 1675954681.5293784, "msecs": 529.3784141540527, "relativeCreated": 67425.62079429626, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:58:01,529", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954681.2284617, "msecs": 228.46174240112305, "relativeCreated": 67124.70412254333, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:01,228" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.2296226, "msecs": 229.62260246276855, "relativeCreated": 67125.86498260498, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:01,229" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.2342904, "msecs": 234.29036140441895, "relativeCreated": 67130.53274154663, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:01,234" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.234986, "msecs": 234.9860668182373, "relativeCreated": 67131.22844696045, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:01,234" } ], "time_consumption": 0.29439234733581543 } ], "time_consumption": 1.8129136562347412, "time_start": "2023-02-09 15:57:59,716", "time_finished": "2023-02-09 15:58:01,529" }, "Power On/ Off test for device and virtual device: shellies/gfw/dirk/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/gfw/dirk/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954681.530042, "msecs": 530.0419330596924, "relativeCreated": 67426.2843132019, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/gfw/dirk/main_light", "asctime": "2023-02-09 15:58:01,530", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954681.530539, "msecs": 530.5390357971191, "relativeCreated": 67426.78141593933, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:01,530", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954681.53032, "msecs": 530.3199291229248, "relativeCreated": 67426.56230926514, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:58:01,530" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954681.5304399, "msecs": 530.4398536682129, "relativeCreated": 67426.68223381042, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:58:01,530" } ], "time_consumption": 9.918212890625e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954681.8329904, "msecs": 832.9904079437256, "relativeCreated": 67729.23278808594, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:58:01,832", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954681.530747, "msecs": 530.7469367980957, "relativeCreated": 67426.98931694031, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:01,530" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954681.5312333, "msecs": 531.2333106994629, "relativeCreated": 67427.47569084167, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:01,531" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.532096, "msecs": 532.0959091186523, "relativeCreated": 67428.33828926086, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:01,532" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.532682, "msecs": 532.681941986084, "relativeCreated": 67428.9243221283, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:01,532" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.5778809, "msecs": 577.880859375, "relativeCreated": 67474.12323951721, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:01,577" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.5785313, "msecs": 578.5312652587891, "relativeCreated": 67474.773645401, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:01,578" } ], "time_consumption": 0.2544591426849365 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954681.833628, "msecs": 833.6279392242432, "relativeCreated": 67729.87031936646, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:01,833", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954681.8334162, "msecs": 833.416223526001, "relativeCreated": 67729.65860366821, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:58:01,833" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954681.833535, "msecs": 833.5349559783936, "relativeCreated": 67729.7773361206, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:58:01,833" } ], "time_consumption": 9.298324584960938e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954681.833973, "msecs": 833.9729309082031, "relativeCreated": 67730.21531105042, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:01,833", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954681.8338099, "msecs": 833.8098526000977, "relativeCreated": 67730.05223274231, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:58:01,833" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954681.833897, "msecs": 833.8971138000488, "relativeCreated": 67730.13949394226, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:58:01,833" } ], "time_consumption": 7.581710815429688e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954682.1353002, "msecs": 135.3001594543457, "relativeCreated": 68031.54253959656, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:58:02,135", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954681.8342257, "msecs": 834.2256546020508, "relativeCreated": 67730.46803474426, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/main_light/state and payload false", "asctime": "2023-02-09 15:58:01,834" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.8352082, "msecs": 835.2081775665283, "relativeCreated": 67731.45055770874, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:01,835" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.836689, "msecs": 836.6889953613281, "relativeCreated": 67732.93137550354, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:58:01,836" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954681.836988, "msecs": 836.9879722595215, "relativeCreated": 67733.23035240173, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:01,836" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.8379705, "msecs": 837.970495223999, "relativeCreated": 67734.21287536621, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:01,837" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.927033, "msecs": 927.0329475402832, "relativeCreated": 67823.2753276825, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:01,927" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954681.9278176, "msecs": 927.8175830841064, "relativeCreated": 67824.05996322632, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:01,927" } ], "time_consumption": 0.20748257637023926 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954682.135956, "msecs": 135.9560489654541, "relativeCreated": 68032.19842910767, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:02,135", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954682.135713, "msecs": 135.7131004333496, "relativeCreated": 68031.95548057556, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:58:02,135" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954682.1358469, "msecs": 135.8468532562256, "relativeCreated": 68032.08923339844, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:58:02,135" } ], "time_consumption": 0.00010919570922851562 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954682.1363125, "msecs": 136.31248474121094, "relativeCreated": 68032.55486488342, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:02,136", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954682.1361265, "msecs": 136.12651824951172, "relativeCreated": 68032.36889839172, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:58:02,136" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954682.1362257, "msecs": 136.22570037841797, "relativeCreated": 68032.46808052063, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:58:02,136" } ], "time_consumption": 8.678436279296875e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954682.4389849, "msecs": 438.98487091064453, "relativeCreated": 68335.22725105286, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:58:02,438", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954682.1365428, "msecs": 136.54279708862305, "relativeCreated": 68032.78517723083, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:02,136" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954682.1371272, "msecs": 137.12716102600098, "relativeCreated": 68033.36954116821, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:02,137" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.1381521, "msecs": 138.1521224975586, "relativeCreated": 68034.39450263977, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:02,138" }, { "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/dirk/main_light", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.138826, "msecs": 138.8258934020996, "relativeCreated": 68035.06827354431, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:02,138" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.1862288, "msecs": 186.22875213623047, "relativeCreated": 68082.47113227844, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:02,186" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.187004, "msecs": 187.00408935546875, "relativeCreated": 68083.24646949768, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:02,187" } ], "time_consumption": 0.2519807815551758 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954682.4396665, "msecs": 439.6665096282959, "relativeCreated": 68335.90888977051, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:02,439", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954682.4394202, "msecs": 439.420223236084, "relativeCreated": 68335.6626033783, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:58:02,439" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954682.439559, "msecs": 439.5589828491211, "relativeCreated": 68335.80136299133, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:58:02,439" } ], "time_consumption": 0.00010752677917480469 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954682.4400222, "msecs": 440.02223014831543, "relativeCreated": 68336.26461029053, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:02,440", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954682.439839, "msecs": 439.8388862609863, "relativeCreated": 68336.0812664032, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:58:02,439" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954682.4399357, "msecs": 439.93568420410156, "relativeCreated": 68336.17806434631, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:58:02,439" } ], "time_consumption": 8.654594421386719e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954682.7413046, "msecs": 741.3046360015869, "relativeCreated": 68637.5470161438, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:58:02,741", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954682.4403067, "msecs": 440.3066635131836, "relativeCreated": 68336.5490436554, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/main_light/state and payload false", "asctime": "2023-02-09 15:58:02,440" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.4414213, "msecs": 441.4212703704834, "relativeCreated": 68337.6636505127, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:02,441" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.4430053, "msecs": 443.0053234100342, "relativeCreated": 68339.24770355225, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:58:02,443" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954682.4433548, "msecs": 443.35484504699707, "relativeCreated": 68339.59722518921, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:02,443" }, { "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/dirk/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.4444342, "msecs": 444.43416595458984, "relativeCreated": 68340.6765460968, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:02,444" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.5341122, "msecs": 534.1122150421143, "relativeCreated": 68430.35459518433, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:02,534" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.53487, "msecs": 534.869909286499, "relativeCreated": 68431.11228942871, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:02,534" } ], "time_consumption": 0.2064347267150879 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954682.741948, "msecs": 741.9478893280029, "relativeCreated": 68638.19026947021, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:02,741", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954682.7417111, "msecs": 741.7111396789551, "relativeCreated": 68637.95351982117, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:58:02,741" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954682.7418447, "msecs": 741.844654083252, "relativeCreated": 68638.08703422546, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:58:02,741" } ], "time_consumption": 0.00010323524475097656 } ], "time_consumption": 1.2119059562683105, "time_start": "2023-02-09 15:58:01,530", "time_finished": "2023-02-09 15:58:02,741" }, "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/4": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/4", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954682.7425237, "msecs": 742.5236701965332, "relativeCreated": 68638.76605033875, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/4", "asctime": "2023-02-09 15:58:02,742", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954682.7429755, "msecs": 742.9754734039307, "relativeCreated": 68639.21785354614, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:02,742", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954682.742768, "msecs": 742.7680492401123, "relativeCreated": 68639.01042938232, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:58:02,742" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954682.7428803, "msecs": 742.8803443908691, "relativeCreated": 68639.12272453308, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:58:02,742" } ], "time_consumption": 9.512901306152344e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954683.0443196, "msecs": 44.31962966918945, "relativeCreated": 68940.5620098114, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:58:03,044", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/4", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954682.7432592, "msecs": 743.2591915130615, "relativeCreated": 68639.50157165527, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload true", "asctime": "2023-02-09 15:58:02,743" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/4", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.7442985, "msecs": 744.2984580993652, "relativeCreated": 68640.54083824158, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'true'", "asctime": "2023-02-09 15:58:02,744" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.7464979, "msecs": 746.4978694915771, "relativeCreated": 68642.74024963379, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'true'", "asctime": "2023-02-09 15:58:02,746" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954682.747164, "msecs": 747.1640110015869, "relativeCreated": 68643.4063911438, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/pc_dock/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:02,747" } ], "time_consumption": 0.29715561866760254 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954683.0449662, "msecs": 44.96622085571289, "relativeCreated": 68941.20860099792, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:03,044", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954683.0447261, "msecs": 44.72613334655762, "relativeCreated": 68940.96851348877, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:58:03,044" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954683.0448585, "msecs": 44.858455657958984, "relativeCreated": 68941.10083580017, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:58:03,044" } ], "time_consumption": 0.00010776519775390625 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954683.0454028, "msecs": 45.40276527404785, "relativeCreated": 68941.64514541626, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:03,045", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954683.0451791, "msecs": 45.179128646850586, "relativeCreated": 68941.42150878906, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:58:03,045" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954683.0452824, "msecs": 45.28236389160156, "relativeCreated": 68941.52474403381, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:58:03,045" } ], "time_consumption": 0.00012040138244628906 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954683.3468137, "msecs": 346.8136787414551, "relativeCreated": 69243.05605888367, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:58:03,346", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954683.045686, "msecs": 45.68600654602051, "relativeCreated": 68941.92838668823, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/pc_dock/state and payload false", "asctime": "2023-02-09 15:58:03,045" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.0467844, "msecs": 46.784400939941406, "relativeCreated": 68943.02678108215, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false'", "asctime": "2023-02-09 15:58:03,046" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/4/set", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.0484707, "msecs": 48.47073554992676, "relativeCreated": 68944.71311569214, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4/set and payload b'false'", "asctime": "2023-02-09 15:58:03,048" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/4", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954683.0488133, "msecs": 48.8133430480957, "relativeCreated": 68945.05572319031, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload false", "asctime": "2023-02-09 15:58:03,048" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/4", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.0498624, "msecs": 49.86238479614258, "relativeCreated": 68946.10476493835, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'false'", "asctime": "2023-02-09 15:58:03,049" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.0935767, "msecs": 93.57666969299316, "relativeCreated": 68989.8190498352, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false'", "asctime": "2023-02-09 15:58:03,093" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.0943167, "msecs": 94.31672096252441, "relativeCreated": 68990.55910110474, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/pc_dock/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:03,094" } ], "time_consumption": 0.25249695777893066 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954683.3475053, "msecs": 347.5053310394287, "relativeCreated": 69243.74771118164, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:03,347", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954683.347225, "msecs": 347.2249507904053, "relativeCreated": 69243.46733093262, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:58:03,347" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954683.3473961, "msecs": 347.3961353302002, "relativeCreated": 69243.63851547241, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:58:03,347" } ], "time_consumption": 0.00010919570922851562 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954683.3478673, "msecs": 347.8672504425049, "relativeCreated": 69244.10963058472, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:03,347", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954683.347679, "msecs": 347.67889976501465, "relativeCreated": 69243.92127990723, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:58:03,347" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954683.3477786, "msecs": 347.7785587310791, "relativeCreated": 69244.02093887329, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:58:03,347" } ], "time_consumption": 8.869171142578125e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954683.6500509, "msecs": 650.0508785247803, "relativeCreated": 69546.29325866699, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:58:03,650", "moduleLogger": [ { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/4", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954683.348129, "msecs": 348.1290340423584, "relativeCreated": 69244.37141418457, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload true", "asctime": "2023-02-09 15:58:03,348" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/4", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.3492124, "msecs": 349.2124080657959, "relativeCreated": 69245.45478820801, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'true'", "asctime": "2023-02-09 15:58:03,349" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.3513997, "msecs": 351.39966011047363, "relativeCreated": 69247.64204025269, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'true'", "asctime": "2023-02-09 15:58:03,351" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.3520536, "msecs": 352.0536422729492, "relativeCreated": 69248.29602241516, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/pc_dock/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:03,352" } ], "time_consumption": 0.29799723625183105 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954683.6507268, "msecs": 650.7267951965332, "relativeCreated": 69546.96917533875, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:03,650", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954683.6504567, "msecs": 650.4566669464111, "relativeCreated": 69546.69904708862, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:58:03,650" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954683.6505885, "msecs": 650.5885124206543, "relativeCreated": 69546.83089256287, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:58:03,650" } ], "time_consumption": 0.00013828277587890625 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954683.6510904, "msecs": 651.0903835296631, "relativeCreated": 69547.33276367188, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:03,651", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954683.650905, "msecs": 650.9048938751221, "relativeCreated": 69547.14727401733, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:58:03,650" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954683.651003, "msecs": 651.0028839111328, "relativeCreated": 69547.24526405334, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:58:03,651" } ], "time_consumption": 8.749961853027344e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954683.95219, "msecs": 952.1899223327637, "relativeCreated": 69848.43230247498, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:58:03,952", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954683.6513631, "msecs": 651.3631343841553, "relativeCreated": 69547.60551452637, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/dirk/pc_dock/state and payload false", "asctime": "2023-02-09 15:58:03,651" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.6524773, "msecs": 652.4772644042969, "relativeCreated": 69548.71964454651, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false'", "asctime": "2023-02-09 15:58:03,652" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4.set", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/4/set", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.6541207, "msecs": 654.120683670044, "relativeCreated": 69550.36306381226, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4/set and payload b'false'", "asctime": "2023-02-09 15:58:03,654" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4", "msg": "Sending message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/4", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954683.6544719, "msecs": 654.4718742370605, "relativeCreated": 69550.71425437927, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload false", "asctime": "2023-02-09 15:58:03,654" }, { "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4", "msg": "Received message with topic %s and payload %s", "args": [ "my_apps/gfw/dirk/powerplug/output/4", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.6554837, "msecs": 655.4837226867676, "relativeCreated": 69551.72610282898, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'false'", "asctime": "2023-02-09 15:58:03,655" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.7000124, "msecs": 700.0124454498291, "relativeCreated": 69596.25482559204, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false'", "asctime": "2023-02-09 15:58:03,700" }, { "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/dirk/pc_dock/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.7007275, "msecs": 700.7274627685547, "relativeCreated": 69596.96984291077, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/dirk/pc_dock/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:03,700" } ], "time_consumption": 0.251462459564209 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954683.9527981, "msecs": 952.7981281280518, "relativeCreated": 69849.04050827026, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:03,952", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954683.952587, "msecs": 952.5868892669678, "relativeCreated": 69848.82926940918, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:58:03,952" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954683.9527056, "msecs": 952.7056217193604, "relativeCreated": 69848.94800186157, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:58:03,952" } ], "time_consumption": 9.250640869140625e-05 } ], "time_consumption": 1.2102744579315186, "time_start": "2023-02-09 15:58:02,742", "time_finished": "2023-02-09 15:58:03,952" }, "Brightness test for device and virtual device: zigbee/gfw/floor/main_light_1": { "name": "__tLogger__", "msg": "Brightness test for device and virtual device: zigbee/gfw/floor/main_light_1", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_brightness", "created": 1675954683.9532967, "msecs": 953.2966613769531, "relativeCreated": 69849.53904151917, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness test for device and virtual device: zigbee/gfw/floor/main_light_1", "asctime": "2023-02-09 15:58:03,953", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 57, "funcName": "__test_brightness__", "created": 1675954684.255554, "msecs": 255.5539608001709, "relativeCreated": 70151.79634094238, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:58:04,255", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954683.9536085, "msecs": 953.608512878418, "relativeCreated": 69849.85089302063, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:03,953" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.9546435, "msecs": 954.6434879302979, "relativeCreated": 69850.88586807251, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:03,954" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.957175, "msecs": 957.1750164031982, "relativeCreated": 69853.41739654541, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:03,957" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954683.9575005, "msecs": 957.5004577636719, "relativeCreated": 69853.74283790588, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:03,957" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.9581633, "msecs": 958.1632614135742, "relativeCreated": 69854.40564155579, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:03,958" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954683.9584384, "msecs": 958.4383964538574, "relativeCreated": 69854.68077659607, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:03,958" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.9591231, "msecs": 959.1231346130371, "relativeCreated": 69855.36551475525, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:03,959" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.959665, "msecs": 959.665060043335, "relativeCreated": 69855.90744018555, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:03,959" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.9601395, "msecs": 960.1395130157471, "relativeCreated": 69856.38189315796, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:03,960" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954683.9606051, "msecs": 960.6051445007324, "relativeCreated": 69856.84752464294, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:03,960" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.0023315, "msecs": 2.3314952850341797, "relativeCreated": 69898.57387542725, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:58:04,002" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.0030234, "msecs": 3.023386001586914, "relativeCreated": 69899.2657661438, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:04,003" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.0035653, "msecs": 3.5653114318847656, "relativeCreated": 69899.8076915741, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:58:04,003" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.0040975, "msecs": 4.097461700439453, "relativeCreated": 69900.33984184265, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:04,004" } ], "time_consumption": 0.25145649909973145 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954684.256168, "msecs": 256.1678886413574, "relativeCreated": 70152.41026878357, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:58:04,256", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954684.255917, "msecs": 255.91707229614258, "relativeCreated": 70152.15945243835, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:58:04,255" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954684.256038, "msecs": 256.03795051574707, "relativeCreated": 70152.28033065796, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:58:04,256" } ], "time_consumption": 0.00012993812561035156 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954684.557608, "msecs": 557.607889175415, "relativeCreated": 70453.85026931763, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:58:04,557", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954684.256504, "msecs": 256.5040588378906, "relativeCreated": 70152.7464389801, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:04,256" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.2575312, "msecs": 257.53116607666016, "relativeCreated": 70153.77354621887, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:04,257" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.2597225, "msecs": 259.7224712371826, "relativeCreated": 70155.9648513794, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:58:04,259" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.2603421, "msecs": 260.3421211242676, "relativeCreated": 70156.58450126648, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:04,260" } ], "time_consumption": 0.29726576805114746 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954684.5582917, "msecs": 558.2916736602783, "relativeCreated": 70454.53405380249, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:58:04,558", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954684.5580084, "msecs": 558.0084323883057, "relativeCreated": 70454.25081253052, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:58:04,558" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954684.5581417, "msecs": 558.1417083740234, "relativeCreated": 70454.38408851624, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:58:04,558" } ], "time_consumption": 0.0001499652862548828 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954684.5586805, "msecs": 558.680534362793, "relativeCreated": 70454.922914505, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:58:04,558", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954684.558471, "msecs": 558.4709644317627, "relativeCreated": 70454.71334457397, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:58:04,558" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954684.5585847, "msecs": 558.5846900939941, "relativeCreated": 70454.8270702362, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:58:04,558" } ], "time_consumption": 9.584426879882812e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954684.8608637, "msecs": 860.8636856079102, "relativeCreated": 70757.10606575012, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:58:04,860", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954684.5589678, "msecs": 558.9678287506104, "relativeCreated": 70455.21020889282, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/floor/main_light/brightness and payload 50", "asctime": "2023-02-09 15:58:04,558" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.5600724, "msecs": 560.0724220275879, "relativeCreated": 70456.3148021698, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:58:04,560" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.5628622, "msecs": 562.8621578216553, "relativeCreated": 70459.10453796387, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:58:04,562" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954684.5632455, "msecs": 563.2455348968506, "relativeCreated": 70459.48791503906, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:04,563" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.5639648, "msecs": 563.96484375, "relativeCreated": 70460.20722389221, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:58:04,563" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.5649116, "msecs": 564.9116039276123, "relativeCreated": 70461.15398406982, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:04,564" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.6091607, "msecs": 609.1606616973877, "relativeCreated": 70505.4030418396, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:58:04,609" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.6098778, "msecs": 609.8778247833252, "relativeCreated": 70506.12020492554, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:04,609" } ], "time_consumption": 0.25098586082458496 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954684.8615196, "msecs": 861.5195751190186, "relativeCreated": 70757.76195526123, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:58:04,861", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954684.861304, "msecs": 861.3040447235107, "relativeCreated": 70757.54642486572, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:58:04,861" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954684.8614275, "msecs": 861.4275455474854, "relativeCreated": 70757.6699256897, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:58:04,861" } ], "time_consumption": 9.202957153320312e-05 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954684.8618538, "msecs": 861.853837966919, "relativeCreated": 70758.09621810913, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:58:04,861", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954684.8616636, "msecs": 861.6635799407959, "relativeCreated": 70757.90596008301, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 50 ()", "asctime": "2023-02-09 15:58:04,861" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954684.8617482, "msecs": 861.748218536377, "relativeCreated": 70757.99059867859, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 50 ()", "asctime": "2023-02-09 15:58:04,861" } ], "time_consumption": 0.00010561943054199219 }, { "name": "__tLogger__", "msg": "Changing light device brightness to '%d'", "args": [ 65 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 63, "funcName": "__test_brightness__", "created": 1675954685.1632338, "msecs": 163.23375701904297, "relativeCreated": 71059.47613716125, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device brightness to '65'", "asctime": "2023-02-09 15:58:05,163", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954684.8621626, "msecs": 862.1625900268555, "relativeCreated": 70758.40497016907, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:04,862" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.8631363, "msecs": 863.1362915039062, "relativeCreated": 70759.37867164612, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:04,863" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "b'65.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.8653631, "msecs": 865.3631210327148, "relativeCreated": 70761.60550117493, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'65.0'", "asctime": "2023-02-09 15:58:04,865" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954684.8659604, "msecs": 865.9603595733643, "relativeCreated": 70762.20273971558, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:04,865" } ], "time_consumption": 0.2972733974456787 }, { "name": "__tLogger__", "msg": "Virtual device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954685.1638463, "msecs": 163.84625434875488, "relativeCreated": 71060.08863449097, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:58:05,163", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954685.163595, "msecs": 163.59496116638184, "relativeCreated": 71059.8373413086, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device brightness): 65 ()", "asctime": "2023-02-09 15:58:05,163" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954685.1637511, "msecs": 163.75112533569336, "relativeCreated": 71059.9935054779, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device brightness): result = 65 ()", "asctime": "2023-02-09 15:58:05,163" } ], "time_consumption": 9.512901306152344e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "65", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954685.1641674, "msecs": 164.1674041748047, "relativeCreated": 71060.40978431702, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 65 and Type is ).", "asctime": "2023-02-09 15:58:05,164", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954685.164001, "msecs": 164.0009880065918, "relativeCreated": 71060.2433681488, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 65 ()", "asctime": "2023-02-09 15:58:05,164" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "65", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954685.1640902, "msecs": 164.09015655517578, "relativeCreated": 71060.33253669739, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 65 ()", "asctime": "2023-02-09 15:58:05,164" } ], "time_consumption": 7.724761962890625e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 69, "funcName": "__test_brightness__", "created": 1675954685.4662907, "msecs": 466.2907123565674, "relativeCreated": 71362.53309249878, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device brightness to '50'", "asctime": "2023-02-09 15:58:05,466", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954685.1644263, "msecs": 164.42632675170898, "relativeCreated": 71060.66870689392, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/floor/main_light/brightness and payload 50", "asctime": "2023-02-09 15:58:05,164" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.165449, "msecs": 165.4489040374756, "relativeCreated": 71061.69128417969, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:58:05,165" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.1672628, "msecs": 167.26279258728027, "relativeCreated": 71063.50517272949, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:58:05,167" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954685.1676054, "msecs": 167.60540008544922, "relativeCreated": 71063.84778022766, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:05,167" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.1682158, "msecs": 168.21575164794922, "relativeCreated": 71064.45813179016, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:58:05,168" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.1690388, "msecs": 169.0387725830078, "relativeCreated": 71065.28115272522, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:05,169" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.213095, "msecs": 213.09494972229004, "relativeCreated": 71109.3373298645, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:58:05,213" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.213764, "msecs": 213.76395225524902, "relativeCreated": 71110.00633239746, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:05,213" } ], "time_consumption": 0.25252676010131836 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954685.4668946, "msecs": 466.89462661743164, "relativeCreated": 71363.13700675964, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:58:05,466", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954685.4666762, "msecs": 466.6762351989746, "relativeCreated": 71362.91861534119, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 50 ()", "asctime": "2023-02-09 15:58:05,466" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954685.4668002, "msecs": 466.8002128601074, "relativeCreated": 71363.04259300232, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 50 ()", "asctime": "2023-02-09 15:58:05,466" } ], "time_consumption": 9.441375732421875e-05 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "__test_brightness__", "created": 1675954685.768115, "msecs": 768.1150436401367, "relativeCreated": 71664.35742378235, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:58:05,768", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954685.4671152, "msecs": 467.1151638031006, "relativeCreated": 71363.35754394531, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:05,467" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.4681451, "msecs": 468.14513206481934, "relativeCreated": 71364.38751220703, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:05,468" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.4700398, "msecs": 470.03984451293945, "relativeCreated": 71366.28222465515, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:05,470" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.4706228, "msecs": 470.6227779388428, "relativeCreated": 71366.86515808105, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:05,470" } ], "time_consumption": 0.29749226570129395 } ], "time_consumption": 1.8148183822631836, "time_start": "2023-02-09 15:58:03,953", "time_finished": "2023-02-09 15:58:05,768" }, "Color temperature test for device and virtual device: zigbee/gfw/floor/main_light_1": { "name": "__tLogger__", "msg": "Color temperature test for device and virtual device: zigbee/gfw/floor/main_light_1", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "test_color_temp", "created": 1675954685.7687771, "msecs": 768.7771320343018, "relativeCreated": 71665.01951217651, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Color temperature test for device and virtual device: zigbee/gfw/floor/main_light_1", "asctime": "2023-02-09 15:58:05,768", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Power on)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 88, "funcName": "__test_color_temp__", "created": 1675954686.0710423, "msecs": 71.04229927062988, "relativeCreated": 71967.28467941284, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Power on)", "asctime": "2023-02-09 15:58:06,071", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954685.7690883, "msecs": 769.0882682800293, "relativeCreated": 71665.33064842224, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:05,769" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.7702093, "msecs": 770.2093124389648, "relativeCreated": 71666.45169258118, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:05,770" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.7725446, "msecs": 772.5446224212646, "relativeCreated": 71668.78700256348, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:05,772" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954685.7728596, "msecs": 772.8595733642578, "relativeCreated": 71669.10195350647, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:05,772" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.773509, "msecs": 773.5090255737305, "relativeCreated": 71669.75140571594, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:05,773" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954685.7737777, "msecs": 773.7777233123779, "relativeCreated": 71670.02010345459, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:05,773" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.7744372, "msecs": 774.4371891021729, "relativeCreated": 71670.67956924438, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:05,774" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.7749732, "msecs": 774.9731540679932, "relativeCreated": 71671.2155342102, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:05,774" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.775454, "msecs": 775.454044342041, "relativeCreated": 71671.69642448425, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:05,775" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954685.7759142, "msecs": 775.914192199707, "relativeCreated": 71672.15657234192, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:05,775" } ], "time_consumption": 0.29512810707092285 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954686.0716877, "msecs": 71.68769836425781, "relativeCreated": 71967.93007850647, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:58:06,071", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954686.0714436, "msecs": 71.44355773925781, "relativeCreated": 71967.68593788147, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:58:06,071" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954686.071581, "msecs": 71.58088684082031, "relativeCreated": 71967.82326698303, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:58:06,071" } ], "time_consumption": 0.0001068115234375 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954686.3731768, "msecs": 373.17681312561035, "relativeCreated": 72269.41919326782, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:58:06,373", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954686.0720437, "msecs": 72.04365730285645, "relativeCreated": 71968.28603744507, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:06,072" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.0731857, "msecs": 73.18568229675293, "relativeCreated": 71969.42806243896, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:06,073" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.0756464, "msecs": 75.64640045166016, "relativeCreated": 71971.88878059387, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:58:06,075" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.0763147, "msecs": 76.31468772888184, "relativeCreated": 71972.5570678711, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:06,076" } ], "time_consumption": 0.2968621253967285 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954686.3738198, "msecs": 373.81982803344727, "relativeCreated": 72270.06220817566, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:58:06,373", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954686.3735838, "msecs": 373.5837936401367, "relativeCreated": 72269.82617378235, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:58:06,373" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954686.3737166, "msecs": 373.7165927886963, "relativeCreated": 72269.95897293091, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:58:06,373" } ], "time_consumption": 0.00010323524475097656 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954686.3742342, "msecs": 374.2341995239258, "relativeCreated": 72270.47657966614, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:58:06,374", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954686.3739862, "msecs": 373.98624420166016, "relativeCreated": 72270.22862434387, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:58:06,373" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954686.3741453, "msecs": 374.1452693939209, "relativeCreated": 72270.38764953613, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:58:06,374" } ], "time_consumption": 8.893013000488281e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954686.6764405, "msecs": 676.4404773712158, "relativeCreated": 72572.68285751343, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:58:06,676", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954686.3745275, "msecs": 374.5274543762207, "relativeCreated": 72270.76983451843, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/floor/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:58:06,374" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.3756166, "msecs": 375.61655044555664, "relativeCreated": 72271.85893058777, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:58:06,375" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.3777404, "msecs": 377.74038314819336, "relativeCreated": 72273.9827632904, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:58:06,377" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954686.3781555, "msecs": 378.1554698944092, "relativeCreated": 72274.39785003662, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:06,378" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.3788524, "msecs": 378.85236740112305, "relativeCreated": 72275.09474754333, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:58:06,378" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.3797817, "msecs": 379.78172302246094, "relativeCreated": 72276.02410316467, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:06,379" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.4255874, "msecs": 425.58741569519043, "relativeCreated": 72321.8297958374, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:58:06,425" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.4262307, "msecs": 426.23066902160645, "relativeCreated": 72322.47304916382, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:06,426" } ], "time_consumption": 0.2502098083496094 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954686.6771543, "msecs": 677.1543025970459, "relativeCreated": 72573.39668273926, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:58:06,677", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954686.6768801, "msecs": 676.8801212310791, "relativeCreated": 72573.12250137329, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:58:06,676" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954686.677014, "msecs": 677.0141124725342, "relativeCreated": 72573.25649261475, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:58:06,677" } ], "time_consumption": 0.00014019012451171875 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954686.6775122, "msecs": 677.5121688842773, "relativeCreated": 72573.75454902649, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:58:06,677", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954686.6773286, "msecs": 677.3285865783691, "relativeCreated": 72573.57096672058, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 5 ()", "asctime": "2023-02-09 15:58:06,677" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954686.6774254, "msecs": 677.4253845214844, "relativeCreated": 72573.6677646637, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 5 ()", "asctime": "2023-02-09 15:58:06,677" } ], "time_consumption": 8.678436279296875e-05 }, { "name": "__tLogger__", "msg": "Changing light device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 94, "funcName": "__test_color_temp__", "created": 1675954686.9789767, "msecs": 978.9767265319824, "relativeCreated": 72875.2191066742, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing light device color temperature to '5'", "asctime": "2023-02-09 15:58:06,978", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954686.6778657, "msecs": 677.865743637085, "relativeCreated": 72574.1081237793, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:06,677" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.6789527, "msecs": 678.952693939209, "relativeCreated": 72575.19507408142, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:06,678" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "b'8.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.6814725, "msecs": 681.4725399017334, "relativeCreated": 72577.71492004395, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'8.0'", "asctime": "2023-02-09 15:58:06,681" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.6821184, "msecs": 682.1184158325195, "relativeCreated": 72578.36079597473, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:06,682" } ], "time_consumption": 0.2968583106994629 }, { "name": "__tLogger__", "msg": "Virtual device color temperature is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954686.9795804, "msecs": 979.5804023742676, "relativeCreated": 72875.82278251648, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device color temperature is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:58:06,979", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device color temperature", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954686.979365, "msecs": 979.3651103973389, "relativeCreated": 72875.60749053955, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device color temperature): 8 ()", "asctime": "2023-02-09 15:58:06,979" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device color temperature", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954686.979487, "msecs": 979.4869422912598, "relativeCreated": 72875.72932243347, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device color temperature): result = 8 ()", "asctime": "2023-02-09 15:58:06,979" } ], "time_consumption": 9.34600830078125e-05 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "8", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954686.979915, "msecs": 979.9149036407471, "relativeCreated": 72876.15728378296, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 8 and Type is ).", "asctime": "2023-02-09 15:58:06,979", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954686.979742, "msecs": 979.7420501708984, "relativeCreated": 72875.98443031311, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 8 ()", "asctime": "2023-02-09 15:58:06,979" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "8", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954686.9798286, "msecs": 979.8285961151123, "relativeCreated": 72876.07097625732, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 8 ()", "asctime": "2023-02-09 15:58:06,979" } ], "time_consumption": 8.630752563476562e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 100, "funcName": "__test_color_temp__", "created": 1675954687.282017, "msecs": 282.0169925689697, "relativeCreated": 73178.25937271118, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device color temperature to '5'", "asctime": "2023-02-09 15:58:07,282", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954686.9801693, "msecs": 980.1692962646484, "relativeCreated": 72876.41167640686, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/floor/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:58:06,980" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.9811795, "msecs": 981.1794757843018, "relativeCreated": 72877.42185592651, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:58:06,981" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.9830549, "msecs": 983.0548763275146, "relativeCreated": 72879.29725646973, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:58:06,983" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954686.9833994, "msecs": 983.3993911743164, "relativeCreated": 72879.64177131653, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:06,983" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.9840157, "msecs": 984.015703201294, "relativeCreated": 72880.2580833435, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:58:06,984" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954686.9848619, "msecs": 984.8618507385254, "relativeCreated": 72881.10423088074, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:06,984" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.029103, "msecs": 29.10304069519043, "relativeCreated": 72925.3454208374, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:58:07,029" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.029751, "msecs": 29.751062393188477, "relativeCreated": 72925.9934425354, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:07,029" } ], "time_consumption": 0.25226593017578125 }, { "name": "__tLogger__", "msg": "Light device brightness is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954687.2825918, "msecs": 282.5918197631836, "relativeCreated": 73178.8341999054, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Light device brightness is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:58:07,282", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Light device brightness", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954687.2823822, "msecs": 282.3822498321533, "relativeCreated": 73178.62462997437, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Light device brightness): 5 ()", "asctime": "2023-02-09 15:58:07,282" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Light device brightness", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954687.2824986, "msecs": 282.4985980987549, "relativeCreated": 73178.74097824097, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Light device brightness): result = 5 ()", "asctime": "2023-02-09 15:58:07,282" } ], "time_consumption": 9.322166442871094e-05 }, { "name": "__tLogger__", "msg": "Resetting precondition (Power off)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 105, "funcName": "__test_color_temp__", "created": 1675954687.5839524, "msecs": 583.9524269104004, "relativeCreated": 73480.19480705261, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting precondition (Power off)", "asctime": "2023-02-09 15:58:07,583", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954687.2828102, "msecs": 282.8102111816406, "relativeCreated": 73179.05259132385, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:07,282" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.2838604, "msecs": 283.860445022583, "relativeCreated": 73180.1028251648, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:07,283" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.285761, "msecs": 285.76111793518066, "relativeCreated": 73182.00349807739, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:07,285" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.2863576, "msecs": 286.3576412200928, "relativeCreated": 73182.6000213623, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:07,286" } ], "time_consumption": 0.2975947856903076 } ], "time_consumption": 1.8151752948760986, "time_start": "2023-02-09 15:58:05,768", "time_finished": "2023-02-09 15:58:07,583" }, "Power On/ Off test for device and virtual device: shellies/gfw/floor/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/gfw/floor/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954687.5846174, "msecs": 584.6173763275146, "relativeCreated": 73480.85975646973, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/gfw/floor/main_light", "asctime": "2023-02-09 15:58:07,584", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954687.5850906, "msecs": 585.0906372070312, "relativeCreated": 73481.33301734924, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:07,585", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954687.5848567, "msecs": 584.8567485809326, "relativeCreated": 73481.09912872314, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:58:07,584" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954687.584974, "msecs": 584.9740505218506, "relativeCreated": 73481.21643066406, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:58:07,584" } ], "time_consumption": 0.00011658668518066406 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954687.8870337, "msecs": 887.0337009429932, "relativeCreated": 73783.2760810852, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:58:07,887", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954687.5853133, "msecs": 585.3133201599121, "relativeCreated": 73481.55570030212, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:07,585" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.586417, "msecs": 586.4169597625732, "relativeCreated": 73482.65933990479, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:07,586" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.5888093, "msecs": 588.8092517852783, "relativeCreated": 73485.05163192749, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:07,588" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954687.589178, "msecs": 589.1780853271484, "relativeCreated": 73485.42046546936, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:07,589" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.5897954, "msecs": 589.7953510284424, "relativeCreated": 73486.03773117065, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:07,589" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954687.5900712, "msecs": 590.0712013244629, "relativeCreated": 73486.31358146667, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:07,590" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.5907304, "msecs": 590.7304286956787, "relativeCreated": 73486.97280883789, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:07,590" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.5912545, "msecs": 591.254472732544, "relativeCreated": 73487.49685287476, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:07,591" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.5917304, "msecs": 591.7303562164307, "relativeCreated": 73487.97273635864, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:07,591" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.5921924, "msecs": 592.1924114227295, "relativeCreated": 73488.43479156494, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:07,592" } ], "time_consumption": 0.29484128952026367 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954687.8876193, "msecs": 887.6192569732666, "relativeCreated": 73783.86163711548, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:07,887", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954687.887406, "msecs": 887.4061107635498, "relativeCreated": 73783.64849090576, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:58:07,887" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954687.887524, "msecs": 887.523889541626, "relativeCreated": 73783.76626968384, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:58:07,887" } ], "time_consumption": 9.5367431640625e-05 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954687.8879676, "msecs": 887.967586517334, "relativeCreated": 73784.20996665955, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:07,887", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954687.8877978, "msecs": 887.7978324890137, "relativeCreated": 73784.04021263123, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:58:07,887" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954687.8878896, "msecs": 887.8896236419678, "relativeCreated": 73784.13200378418, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:58:07,887" } ], "time_consumption": 7.796287536621094e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954688.1892672, "msecs": 189.26715850830078, "relativeCreated": 74085.50953865051, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:58:08,189", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954687.888206, "msecs": 888.2060050964355, "relativeCreated": 73784.44838523865, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/floor/main_light/state and payload false", "asctime": "2023-02-09 15:58:07,888" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.889213, "msecs": 889.2130851745605, "relativeCreated": 73785.45546531677, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:07,889" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.8907142, "msecs": 890.714168548584, "relativeCreated": 73786.9565486908, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:58:07,890" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954687.8910213, "msecs": 891.0212516784668, "relativeCreated": 73787.26363182068, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:07,891" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.8920217, "msecs": 892.021656036377, "relativeCreated": 73788.26403617859, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:07,892" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.9357839, "msecs": 935.783863067627, "relativeCreated": 73832.02624320984, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:07,935" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954687.936426, "msecs": 936.4259243011475, "relativeCreated": 73832.66830444336, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:07,936" } ], "time_consumption": 0.2528412342071533 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954688.1899157, "msecs": 189.91565704345703, "relativeCreated": 74086.15803718567, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:08,189", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954688.1896765, "msecs": 189.67652320861816, "relativeCreated": 74085.91890335083, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:58:08,189" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954688.1898086, "msecs": 189.80860710144043, "relativeCreated": 74086.05098724365, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:58:08,189" } ], "time_consumption": 0.00010704994201660156 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954688.190269, "msecs": 190.26899337768555, "relativeCreated": 74086.5113735199, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:08,190", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954688.1900854, "msecs": 190.08541107177734, "relativeCreated": 74086.32779121399, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:58:08,190" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954688.190182, "msecs": 190.18197059631348, "relativeCreated": 74086.42435073853, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:58:08,190" } ], "time_consumption": 8.702278137207031e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954688.492512, "msecs": 492.5119876861572, "relativeCreated": 74388.75436782837, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:58:08,492", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954688.1905394, "msecs": 190.53936004638672, "relativeCreated": 74086.7817401886, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:08,190" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.191696, "msecs": 191.6959285736084, "relativeCreated": 74087.93830871582, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:08,191" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.194369, "msecs": 194.36907768249512, "relativeCreated": 74090.6114578247, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:08,194" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954688.1946895, "msecs": 194.68951225280762, "relativeCreated": 74090.93189239502, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:08,194" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.195301, "msecs": 195.30105590820312, "relativeCreated": 74091.54343605042, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:08,195" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954688.1955848, "msecs": 195.58477401733398, "relativeCreated": 74091.82715415955, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:08,195" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.1962485, "msecs": 196.24853134155273, "relativeCreated": 74092.49091148376, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:08,196" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.1967778, "msecs": 196.7778205871582, "relativeCreated": 74093.02020072937, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:08,196" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.1972919, "msecs": 197.29185104370117, "relativeCreated": 74093.53423118591, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:08,197" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.1977615, "msecs": 197.76153564453125, "relativeCreated": 74094.00391578674, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:08,197" } ], "time_consumption": 0.294750452041626 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954688.493155, "msecs": 493.15500259399414, "relativeCreated": 74389.3973827362, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:08,493", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954688.4929082, "msecs": 492.908239364624, "relativeCreated": 74389.15061950684, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:58:08,492" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954688.4930289, "msecs": 493.0288791656494, "relativeCreated": 74389.27125930786, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:58:08,493" } ], "time_consumption": 0.00012612342834472656 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954688.4934874, "msecs": 493.4873580932617, "relativeCreated": 74389.72973823547, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:08,493", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954688.493312, "msecs": 493.31188201904297, "relativeCreated": 74389.55426216125, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:58:08,493" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954688.493398, "msecs": 493.39795112609863, "relativeCreated": 74389.64033126831, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:58:08,493" } ], "time_consumption": 8.940696716308594e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954688.7946498, "msecs": 794.6498394012451, "relativeCreated": 74690.89221954346, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:58:08,794", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954688.493733, "msecs": 493.7329292297363, "relativeCreated": 74389.97530937195, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/floor/main_light/state and payload false", "asctime": "2023-02-09 15:58:08,493" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.4947228, "msecs": 494.722843170166, "relativeCreated": 74390.96522331238, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:08,494" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.4961221, "msecs": 496.1221218109131, "relativeCreated": 74392.36450195312, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:58:08,496" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954688.4964108, "msecs": 496.4108467102051, "relativeCreated": 74392.65322685242, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:08,496" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.4974246, "msecs": 497.4246025085449, "relativeCreated": 74393.66698265076, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:08,497" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.5415804, "msecs": 541.5804386138916, "relativeCreated": 74437.8228187561, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:08,541" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.5423043, "msecs": 542.304277420044, "relativeCreated": 74438.54665756226, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:08,542" } ], "time_consumption": 0.25234556198120117 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954688.795227, "msecs": 795.22705078125, "relativeCreated": 74691.46943092346, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:08,795", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954688.7950172, "msecs": 795.0172424316406, "relativeCreated": 74691.25962257385, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:58:08,795" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954688.7951357, "msecs": 795.1357364654541, "relativeCreated": 74691.37811660767, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:58:08,795" } ], "time_consumption": 9.131431579589844e-05 } ], "time_consumption": 1.2106096744537354, "time_start": "2023-02-09 15:58:07,584", "time_finished": "2023-02-09 15:58:08,795" }, "Brightness synchronisation test: videv/gfw/floor/main_light": { "name": "__tLogger__", "msg": "Brightness synchronisation test: videv/gfw/floor/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "test_brightness_sync", "created": 1675954688.7956862, "msecs": 795.6862449645996, "relativeCreated": 74691.92862510681, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Brightness synchronisation test: videv/gfw/floor/main_light", "asctime": "2023-02-09 15:58:08,795", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions for master device '%s' (Power on)", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 48, "funcName": "__test_brightness_sync__", "created": 1675954689.0978687, "msecs": 97.86868095397949, "relativeCreated": 74994.11106109619, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions for master device 'True' (Power on)", "asctime": "2023-02-09 15:58:09,097", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954688.7959383, "msecs": 795.93825340271, "relativeCreated": 74692.18063354492, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:08,795" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.796971, "msecs": 796.9710826873779, "relativeCreated": 74693.21346282959, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:08,796" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.7993293, "msecs": 799.3292808532715, "relativeCreated": 74695.57166099548, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:08,799" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954688.8000767, "msecs": 800.0767230987549, "relativeCreated": 74696.31910324097, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:08,800" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.8006837, "msecs": 800.6837368011475, "relativeCreated": 74696.92611694336, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:08,800" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954688.8009462, "msecs": 800.9462356567383, "relativeCreated": 74697.18861579895, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:08,800" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.80163, "msecs": 801.6300201416016, "relativeCreated": 74697.87240028381, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:08,801" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.8021572, "msecs": 802.1571636199951, "relativeCreated": 74698.3995437622, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:08,802" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.8026283, "msecs": 802.6282787322998, "relativeCreated": 74698.87065887451, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:08,802" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954688.8031158, "msecs": 803.1158447265625, "relativeCreated": 74699.35822486877, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:08,803" } ], "time_consumption": 0.294752836227417 }, { "name": "__tLogger__", "msg": "Changing master device brightness to '%d'", "args": [ 35 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 56, "funcName": "__test_brightness_sync__", "created": 1675954689.399358, "msecs": 399.35803413391113, "relativeCreated": 75295.60041427612, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device brightness to '35'", "asctime": "2023-02-09 15:58:09,399", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "35" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954689.098365, "msecs": 98.36506843566895, "relativeCreated": 74994.60744857788, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/floor/main_light/brightness and payload 35", "asctime": "2023-02-09 15:58:09,098" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "b'35'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.0993993, "msecs": 99.39932823181152, "relativeCreated": 74995.64170837402, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'35'", "asctime": "2023-02-09 15:58:09,099" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/set", "b'{\"brightness\": 90.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.101285, "msecs": 101.28498077392578, "relativeCreated": 74997.52736091614, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 90.0}'", "asctime": "2023-02-09 15:58:09,101" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954689.1016283, "msecs": 101.62830352783203, "relativeCreated": 74997.87068367004, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:09,101" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/set", "b'{\"brightness\": 90.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.1022413, "msecs": 102.24127769470215, "relativeCreated": 74998.48365783691, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 90.0}'", "asctime": "2023-02-09 15:58:09,102" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954689.1025581, "msecs": 102.55813598632812, "relativeCreated": 74998.80051612854, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:09,102" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.1034255, "msecs": 103.42550277709961, "relativeCreated": 74999.66788291931, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:09,103" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.1039646, "msecs": 103.96456718444824, "relativeCreated": 75000.20694732666, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:09,103" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "b'35.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.14601, "msecs": 146.0099220275879, "relativeCreated": 75042.2523021698, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'35.0'", "asctime": "2023-02-09 15:58:09,146" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.1466584, "msecs": 146.65842056274414, "relativeCreated": 75042.90080070496, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:09,146" } ], "time_consumption": 0.252699613571167 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content %s and Type is %s).", "args": [ "35", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954689.400016, "msecs": 400.01606941223145, "relativeCreated": 75296.25844955444, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content 35 and Type is ).", "asctime": "2023-02-09 15:58:09,400", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) brightness", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954689.3997736, "msecs": 399.77359771728516, "relativeCreated": 75296.0159778595, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) brightness): 35 ()", "asctime": "2023-02-09 15:58:09,399" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) brightness", "=", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954689.399909, "msecs": 399.90901947021484, "relativeCreated": 75296.15139961243, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) brightness): result = 35 ()", "asctime": "2023-02-09 15:58:09,399" } ], "time_consumption": 0.00010704994201660156 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content %s and Type is %s).", "args": [ "35", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954689.4003983, "msecs": 400.39825439453125, "relativeCreated": 75296.64063453674, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content 35 and Type is ).", "asctime": "2023-02-09 15:58:09,400", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) brightness", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954689.4001858, "msecs": 400.18582344055176, "relativeCreated": 75296.42820358276, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) brightness): 35 ()", "asctime": "2023-02-09 15:58:09,400" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) brightness", "=", "35", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954689.4002821, "msecs": 400.2821445465088, "relativeCreated": 75296.52452468872, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) brightness): result = 35 ()", "asctime": "2023-02-09 15:58:09,400" } ], "time_consumption": 0.00011610984802246094 }, { "name": "__tLogger__", "msg": "Changing master device brightness to '%d'", "args": [ 50 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 56, "funcName": "__test_brightness_sync__", "created": 1675954689.7020524, "msecs": 702.0523548126221, "relativeCreated": 75598.29473495483, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device brightness to '50'", "asctime": "2023-02-09 15:58:09,702", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "50" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954689.4006872, "msecs": 400.68721771240234, "relativeCreated": 75296.92959785461, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/floor/main_light/brightness and payload 50", "asctime": "2023-02-09 15:58:09,400" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "b'50'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.401806, "msecs": 401.806116104126, "relativeCreated": 75298.04849624634, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50'", "asctime": "2023-02-09 15:58:09,401" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.4038973, "msecs": 403.8972854614258, "relativeCreated": 75300.13966560364, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:58:09,403" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954689.40429, "msecs": 404.28996086120605, "relativeCreated": 75300.53234100342, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:09,404" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/set", "b'{\"brightness\": 128.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.405, "msecs": 404.9999713897705, "relativeCreated": 75301.24235153198, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 128.0}'", "asctime": "2023-02-09 15:58:09,404" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954689.4053679, "msecs": 405.3678512573242, "relativeCreated": 75301.61023139954, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:09,405" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.4063396, "msecs": 406.3396453857422, "relativeCreated": 75302.58202552795, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:09,406" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.406951, "msecs": 406.9509506225586, "relativeCreated": 75303.19333076477, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:09,406" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/brightness", "b'50.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.4499576, "msecs": 449.95760917663574, "relativeCreated": 75346.19998931885, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50.0'", "asctime": "2023-02-09 15:58:09,449" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.45061, "msecs": 450.6099224090576, "relativeCreated": 75346.85230255127, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:09,450" } ], "time_consumption": 0.25144243240356445 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954689.702644, "msecs": 702.6441097259521, "relativeCreated": 75598.88648986816, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:58:09,702", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954689.7024312, "msecs": 702.4312019348145, "relativeCreated": 75598.67358207703, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) brightness): 50 ()", "asctime": "2023-02-09 15:58:09,702" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954689.7025495, "msecs": 702.5494575500488, "relativeCreated": 75598.79183769226, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) brightness): result = 50 ()", "asctime": "2023-02-09 15:58:09,702" } ], "time_consumption": 9.465217590332031e-05 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content %s and Type is %s).", "args": [ "50", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954689.7029624, "msecs": 702.9623985290527, "relativeCreated": 75599.20477867126, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content 50 and Type is ).", "asctime": "2023-02-09 15:58:09,702", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) brightness", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954689.7027998, "msecs": 702.7997970581055, "relativeCreated": 75599.04217720032, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) brightness): 50 ()", "asctime": "2023-02-09 15:58:09,702" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) brightness", "=", "50", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954689.7028856, "msecs": 702.885627746582, "relativeCreated": 75599.1280078888, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) brightness): result = 50 ()", "asctime": "2023-02-09 15:58:09,702" } ], "time_consumption": 7.677078247070312e-05 }, { "name": "__tLogger__", "msg": "Resetting preconditions for master device '%s' (Power off)", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 64, "funcName": "__test_brightness_sync__", "created": 1675954690.0041685, "msecs": 4.168510437011719, "relativeCreated": 75900.41089057922, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting preconditions for master device 'False' (Power off)", "asctime": "2023-02-09 15:58:10,004", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954689.7031722, "msecs": 703.1722068786621, "relativeCreated": 75599.41458702087, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:09,703" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.7041948, "msecs": 704.1947841644287, "relativeCreated": 75600.43716430664, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:09,704" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.7061388, "msecs": 706.1388492584229, "relativeCreated": 75602.38122940063, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:09,706" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954689.706726, "msecs": 706.72607421875, "relativeCreated": 75602.96845436096, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:09,706" } ], "time_consumption": 0.2974424362182617 } ], "time_consumption": 1.208482265472412, "time_start": "2023-02-09 15:58:08,795", "time_finished": "2023-02-09 15:58:10,004" }, "Color temperature synchronisation test: videv/gfw/floor/main_light": { "name": "__tLogger__", "msg": "Color temperature synchronisation test: videv/gfw/floor/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 67, "funcName": "test_color_temp_sync", "created": 1675954690.0047913, "msecs": 4.791259765625, "relativeCreated": 75901.03363990784, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Color temperature synchronisation test: videv/gfw/floor/main_light", "asctime": "2023-02-09 15:58:10,004", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions for master device '%s' (Power on)", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 73, "funcName": "__test_color_temp_sync__", "created": 1675954690.307083, "msecs": 307.0828914642334, "relativeCreated": 76203.32527160645, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions for master device 'True' (Power on)", "asctime": "2023-02-09 15:58:10,307", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954690.0051086, "msecs": 5.10859489440918, "relativeCreated": 75901.35097503662, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:10,005" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.00618, "msecs": 6.180047988891602, "relativeCreated": 75902.4224281311, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:10,006" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.0085115, "msecs": 8.511543273925781, "relativeCreated": 75904.75392341614, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:10,008" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954690.008852, "msecs": 8.852005004882812, "relativeCreated": 75905.0943851471, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:10,008" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.0095184, "msecs": 9.51838493347168, "relativeCreated": 75905.76076507568, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:10,009" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954690.0097923, "msecs": 9.792327880859375, "relativeCreated": 75906.03470802307, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:10,009" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.0104702, "msecs": 10.470151901245117, "relativeCreated": 75906.71253204346, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:10,010" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.0109947, "msecs": 10.994672775268555, "relativeCreated": 75907.23705291748, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:10,010" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.0114703, "msecs": 11.470317840576172, "relativeCreated": 75907.71269798279, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:10,011" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.0119374, "msecs": 11.937379837036133, "relativeCreated": 75908.17975997925, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:10,011" } ], "time_consumption": 0.29514551162719727 }, { "name": "__tLogger__", "msg": "Changing master device color temperature to '%d'", "args": [ 2 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "__test_color_temp_sync__", "created": 1675954690.608576, "msecs": 608.5760593414307, "relativeCreated": 76504.81843948364, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device color temperature to '2'", "asctime": "2023-02-09 15:58:10,608", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "2" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954690.3075824, "msecs": 307.5823783874512, "relativeCreated": 76203.82475852966, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/floor/main_light/color_temp and payload 2", "asctime": "2023-02-09 15:58:10,307" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "b'2'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.3086255, "msecs": 308.6254596710205, "relativeCreated": 76204.86783981323, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'2'", "asctime": "2023-02-09 15:58:10,308" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/set", "b'{\"color_temp\": 291.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.3105776, "msecs": 310.5776309967041, "relativeCreated": 76206.82001113892, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 291.0}'", "asctime": "2023-02-09 15:58:10,310" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954690.3109238, "msecs": 310.92381477355957, "relativeCreated": 76207.16619491577, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:10,310" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/set", "b'{\"color_temp\": 291.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.3115463, "msecs": 311.54632568359375, "relativeCreated": 76207.7887058258, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 291.0}'", "asctime": "2023-02-09 15:58:10,311" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954690.3118396, "msecs": 311.8395805358887, "relativeCreated": 76208.0819606781, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:10,311" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.3127112, "msecs": 312.711238861084, "relativeCreated": 76208.9536190033, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:10,312" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.3132827, "msecs": 313.28272819519043, "relativeCreated": 76209.5251083374, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:10,313" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "b'2.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.3580256, "msecs": 358.02555084228516, "relativeCreated": 76254.2679309845, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'2.0'", "asctime": "2023-02-09 15:58:10,358" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.3587005, "msecs": 358.7005138397217, "relativeCreated": 76254.94289398193, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:10,358" } ], "time_consumption": 0.24987554550170898 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content %s and Type is %s).", "args": [ "2", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954690.609268, "msecs": 609.2679500579834, "relativeCreated": 76505.5103302002, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content 2 and Type is ).", "asctime": "2023-02-09 15:58:10,609", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) color temperature", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954690.60899, "msecs": 608.989953994751, "relativeCreated": 76505.23233413696, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) color temperature): 2 ()", "asctime": "2023-02-09 15:58:10,608" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) color temperature", "=", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954690.6091588, "msecs": 609.1587543487549, "relativeCreated": 76505.40113449097, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) color temperature): result = 2 ()", "asctime": "2023-02-09 15:58:10,609" } ], "time_consumption": 0.00010919570922851562 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content %s and Type is %s).", "args": [ "2", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954690.6096277, "msecs": 609.6277236938477, "relativeCreated": 76505.87010383606, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content 2 and Type is ).", "asctime": "2023-02-09 15:58:10,609", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) color temperature", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954690.609444, "msecs": 609.4439029693604, "relativeCreated": 76505.68628311157, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) color temperature): 2 ()", "asctime": "2023-02-09 15:58:10,609" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) color temperature", "=", "2", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954690.6095417, "msecs": 609.541654586792, "relativeCreated": 76505.784034729, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) color temperature): result = 2 ()", "asctime": "2023-02-09 15:58:10,609" } ], "time_consumption": 8.606910705566406e-05 }, { "name": "__tLogger__", "msg": "Changing master device color temperature to '%d'", "args": [ 5 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 81, "funcName": "__test_color_temp_sync__", "created": 1675954690.911884, "msecs": 911.884069442749, "relativeCreated": 76808.12644958496, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device color temperature to '5'", "asctime": "2023-02-09 15:58:10,911", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "5" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954690.6099505, "msecs": 609.9505424499512, "relativeCreated": 76506.19292259216, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/floor/main_light/color_temp and payload 5", "asctime": "2023-02-09 15:58:10,609" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.6110382, "msecs": 611.0382080078125, "relativeCreated": 76507.28058815002, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5'", "asctime": "2023-02-09 15:58:10,611" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.6131775, "msecs": 613.1775379180908, "relativeCreated": 76509.4199180603, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:58:10,613" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954690.6136062, "msecs": 613.6062145233154, "relativeCreated": 76509.84859466553, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:10,613" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/set", "b'{\"color_temp\": 352.0}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.614302, "msecs": 614.3019199371338, "relativeCreated": 76510.54430007935, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 352.0}'", "asctime": "2023-02-09 15:58:10,614" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954690.6146357, "msecs": 614.635705947876, "relativeCreated": 76510.87808609009, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:10,614" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.6155179, "msecs": 615.5178546905518, "relativeCreated": 76511.76023483276, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:10,615" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.6160536, "msecs": 616.053581237793, "relativeCreated": 76512.29596138, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:10,616" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/color_temp", "b'5.0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.6585524, "msecs": 658.5524082183838, "relativeCreated": 76554.7947883606, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5.0'", "asctime": "2023-02-09 15:58:10,658" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.6591988, "msecs": 659.1987609863281, "relativeCreated": 76555.44114112854, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:10,659" } ], "time_consumption": 0.2526853084564209 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954690.9126165, "msecs": 912.616491317749, "relativeCreated": 76808.85887145996, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:58:10,912", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954690.9123597, "msecs": 912.3597145080566, "relativeCreated": 76808.60209465027, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) color temperature): 5 ()", "asctime": "2023-02-09 15:58:10,912" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954690.9125102, "msecs": 912.5101566314697, "relativeCreated": 76808.75253677368, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) color temperature): result = 5 ()", "asctime": "2023-02-09 15:58:10,912" } ], "time_consumption": 0.00010633468627929688 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954690.9129748, "msecs": 912.9748344421387, "relativeCreated": 76809.21721458435, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:58:10,912", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) color temperature", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954690.9127922, "msecs": 912.7922058105469, "relativeCreated": 76809.03458595276, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) color temperature): 5 ()", "asctime": "2023-02-09 15:58:10,912" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) color temperature", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954690.9128883, "msecs": 912.8882884979248, "relativeCreated": 76809.13066864014, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) color temperature): result = 5 ()", "asctime": "2023-02-09 15:58:10,912" } ], "time_consumption": 8.654594421386719e-05 }, { "name": "__tLogger__", "msg": "Resetting preconditions for master device '%s' (Power off)", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 89, "funcName": "__test_color_temp_sync__", "created": 1675954691.214262, "msecs": 214.2620086669922, "relativeCreated": 77110.5043888092, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Resetting preconditions for master device 'False' (Power off)", "asctime": "2023-02-09 15:58:11,214", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954690.913316, "msecs": 913.316011428833, "relativeCreated": 76809.55839157104, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:10,913" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.9145124, "msecs": 914.5123958587646, "relativeCreated": 76810.75477600098, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:10,914" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.9166138, "msecs": 916.6138172149658, "relativeCreated": 76812.85619735718, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:10,916" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954690.9173162, "msecs": 917.316198348999, "relativeCreated": 76813.55857849121, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:10,917" } ], "time_consumption": 0.29694581031799316 } ], "time_consumption": 1.2094707489013672, "time_start": "2023-02-09 15:58:10,004", "time_finished": "2023-02-09 15:58:11,214" }, "Power On/ Off synchronisation test: shellies/gfw/floor/main_light": { "name": "__tLogger__", "msg": "Power On/ Off synchronisation test: shellies/gfw/floor/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 24, "funcName": "test_power_on_off_sync", "created": 1675954691.2148986, "msecs": 214.89858627319336, "relativeCreated": 77111.1409664154, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off synchronisation test: shellies/gfw/floor/main_light", "asctime": "2023-02-09 15:58:11,214", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions for master device '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 30, "funcName": "__test_power_on_off_sync__", "created": 1675954691.5155818, "msecs": 515.5818462371826, "relativeCreated": 77411.8242263794, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions for master device 'False'", "asctime": "2023-02-09 15:58:11,515", "moduleLogger": [], "time_consumption": 0.0 }, { "name": "__tLogger__", "msg": "Changing master device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off_sync__", "created": 1675954691.8171422, "msecs": 817.1422481536865, "relativeCreated": 77713.3846282959, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device state to 'True'", "asctime": "2023-02-09 15:58:11,817", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954691.5160322, "msecs": 516.0322189331055, "relativeCreated": 77412.27459907532, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:11,516" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954691.517296, "msecs": 517.2960758209229, "relativeCreated": 77413.53845596313, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:11,517" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954691.5199866, "msecs": 519.986629486084, "relativeCreated": 77416.2290096283, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:11,519" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954691.5203679, "msecs": 520.3678607940674, "relativeCreated": 77416.61024093628, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:11,520" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2/get", "b'{\"state\": \"\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954691.5211153, "msecs": 521.1153030395508, "relativeCreated": 77417.35768318176, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'", "asctime": "2023-02-09 15:58:11,521" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954691.5214453, "msecs": 521.4452743530273, "relativeCreated": 77417.68765449524, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}", "asctime": "2023-02-09 15:58:11,521" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954691.5222266, "msecs": 522.2265720367432, "relativeCreated": 77418.46895217896, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:11,522" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954691.522825, "msecs": 522.8250026702881, "relativeCreated": 77419.0673828125, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:11,522" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_1", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954691.5233672, "msecs": 523.367166519165, "relativeCreated": 77419.60954666138, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:11,523" }, { "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/floor/main_light_2", "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954691.523905, "msecs": 523.9050388336182, "relativeCreated": 77420.14741897583, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'", "asctime": "2023-02-09 15:58:11,523" } ], "time_consumption": 0.29323720932006836 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954691.8178425, "msecs": 817.8424835205078, "relativeCreated": 77714.08486366272, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:11,817", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954691.8175595, "msecs": 817.5594806671143, "relativeCreated": 77713.80186080933, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) state): True ()", "asctime": "2023-02-09 15:58:11,817" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954691.8177285, "msecs": 817.7285194396973, "relativeCreated": 77713.97089958191, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) state): result = True ()", "asctime": "2023-02-09 15:58:11,817" } ], "time_consumption": 0.00011396408081054688 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954691.818204, "msecs": 818.2039260864258, "relativeCreated": 77714.44630622864, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:11,818", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954691.8180206, "msecs": 818.0205821990967, "relativeCreated": 77714.26296234131, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) state): True ()", "asctime": "2023-02-09 15:58:11,818" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954691.818117, "msecs": 818.1169033050537, "relativeCreated": 77714.35928344727, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) state): result = True ()", "asctime": "2023-02-09 15:58:11,818" } ], "time_consumption": 8.702278137207031e-05 }, { "name": "__tLogger__", "msg": "Changing master device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py", "filename": "synchronisation.py", "module": "synchronisation", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off_sync__", "created": 1675954692.1204362, "msecs": 120.43619155883789, "relativeCreated": 78016.67857170105, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing master device state to 'False'", "asctime": "2023-02-09 15:58:12,120", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954691.8184507, "msecs": 818.4506893157959, "relativeCreated": 77714.69306945801, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:11,818" }, { "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/floor/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954691.819607, "msecs": 819.6070194244385, "relativeCreated": 77715.84939956665, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:11,819" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954691.8217525, "msecs": 821.7525482177734, "relativeCreated": 77717.99492835999, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:11,821" }, { "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/floor/main_light/__info__", "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954691.822433, "msecs": 822.4329948425293, "relativeCreated": 77718.67537498474, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:11,822" } ], "time_consumption": 0.2980031967163086 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954692.1211488, "msecs": 121.14882469177246, "relativeCreated": 78017.39120483398, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:12,121", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954692.120847, "msecs": 120.84698677062988, "relativeCreated": 78017.08936691284, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) state): False ()", "asctime": "2023-02-09 15:58:12,120" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_1) state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954692.1209812, "msecs": 120.98121643066406, "relativeCreated": 78017.22359657288, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) state): result = False ()", "asctime": "2023-02-09 15:58:12,120" } ], "time_consumption": 0.00016760826110839844 }, { "name": "__tLogger__", "msg": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954692.1215422, "msecs": 121.54221534729004, "relativeCreated": 78017.7845954895, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:12,121", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954692.1213477, "msecs": 121.34766578674316, "relativeCreated": 78017.59004592896, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) state): False ()", "asctime": "2023-02-09 15:58:12,121" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Follower device (zigbee/gfw/floor/main_light_2) state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954692.121451, "msecs": 121.45090103149414, "relativeCreated": 78017.6932811737, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) state): result = False ()", "asctime": "2023-02-09 15:58:12,121" } ], "time_consumption": 9.131431579589844e-05 } ], "time_consumption": 0.9066436290740967, "time_start": "2023-02-09 15:58:11,214", "time_finished": "2023-02-09 15:58:12,121" }, "Away mode test: zigbee/gfw/marion/heating_valve": { "name": "__tLogger__", "msg": "Away mode test: zigbee/gfw/marion/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 101, "funcName": "test_away_mode", "created": 1675954692.1220307, "msecs": 122.03073501586914, "relativeCreated": 78018.27311515808, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode test: zigbee/gfw/marion/heating_valve", "asctime": "2023-02-09 15:58:12,122", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 106, "funcName": "__test_away_mode__", "created": 1675954692.4242606, "msecs": 424.26061630249023, "relativeCreated": 78320.5029964447, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:58:12,424", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954692.1223593, "msecs": 122.3592758178711, "relativeCreated": 78018.60165596008, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:58:12,122" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.123455, "msecs": 123.45504760742188, "relativeCreated": 78019.69742774963, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:58:12,123" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.141785, "msecs": 141.7849063873291, "relativeCreated": 78038.02728652954, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:12,141" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.142643, "msecs": 142.64297485351562, "relativeCreated": 78038.88535499573, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:12,142" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.1432383, "msecs": 143.23830604553223, "relativeCreated": 78039.48068618774, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:58:12,143" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954692.1435506, "msecs": 143.55063438415527, "relativeCreated": 78039.79301452637, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:12,143" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.1442428, "msecs": 144.2427635192871, "relativeCreated": 78040.4851436615, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:12,144" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.1449323, "msecs": 144.93227005004883, "relativeCreated": 78041.17465019226, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:12,144" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.1454973, "msecs": 145.49732208251953, "relativeCreated": 78041.73970222473, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:12,145" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.1926084, "msecs": 192.60835647583008, "relativeCreated": 78088.85073661804, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:12,192" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.234033, "msecs": 234.03310775756836, "relativeCreated": 78130.27548789978, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:12,234" } ], "time_consumption": 0.19022750854492188 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954692.4248817, "msecs": 424.8816967010498, "relativeCreated": 78321.12407684326, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:12,424", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954692.4246392, "msecs": 424.6392250061035, "relativeCreated": 78320.88160514832, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): False ()", "asctime": "2023-02-09 15:58:12,424" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954692.4247758, "msecs": 424.7758388519287, "relativeCreated": 78321.01821899414, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = False ()", "asctime": "2023-02-09 15:58:12,424" } ], "time_consumption": 0.00010585784912109375 }, { "name": "__tLogger__", "msg": "Activating away mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 113, "funcName": "__test_away_mode__", "created": 1675954692.7272208, "msecs": 727.2207736968994, "relativeCreated": 78623.46315383911, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating away mode", "asctime": "2023-02-09 15:58:12,727", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/away_mode", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954692.4252782, "msecs": 425.2781867980957, "relativeCreated": 78321.52056694031, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/away_mode and payload true", "asctime": "2023-02-09 15:58:12,425" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/away_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.4263368, "msecs": 426.33676528930664, "relativeCreated": 78322.57914543152, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'true'", "asctime": "2023-02-09 15:58:12,426" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 18}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.4426148, "msecs": 442.6147937774658, "relativeCreated": 78338.85717391968, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'", "asctime": "2023-02-09 15:58:12,442" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954692.4430287, "msecs": 443.02868843078613, "relativeCreated": 78339.271068573, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:12,443" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.4436455, "msecs": 443.6454772949219, "relativeCreated": 78339.88785743713, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:58:12,443" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.4443183, "msecs": 444.3182945251465, "relativeCreated": 78340.56067466736, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:12,444" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/away_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.4448552, "msecs": 444.8552131652832, "relativeCreated": 78341.0975933075, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'true'", "asctime": "2023-02-09 15:58:12,444" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.4453795, "msecs": 445.37949562072754, "relativeCreated": 78341.62187576294, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:12,445" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.4458747, "msecs": 445.8746910095215, "relativeCreated": 78342.11707115173, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:12,445" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.4901025, "msecs": 490.10252952575684, "relativeCreated": 78386.34490966797, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:12,490" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.53415, "msecs": 534.1498851776123, "relativeCreated": 78430.39226531982, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:12,534" } ], "time_consumption": 0.1930708885192871 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954692.7278602, "msecs": 727.8602123260498, "relativeCreated": 78624.10259246826, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:12,727", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954692.7276156, "msecs": 727.6155948638916, "relativeCreated": 78623.8579750061, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): True ()", "asctime": "2023-02-09 15:58:12,727" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954692.7277522, "msecs": 727.7522087097168, "relativeCreated": 78623.99458885193, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = True ()", "asctime": "2023-02-09 15:58:12,727" } ], "time_consumption": 0.00010800361633300781 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "18", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954692.7282574, "msecs": 728.257417678833, "relativeCreated": 78624.49979782104, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 18 and Type is ).", "asctime": "2023-02-09 15:58:12,728", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954692.7280698, "msecs": 728.0697822570801, "relativeCreated": 78624.31216239929, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 18 ()", "asctime": "2023-02-09 15:58:12,728" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954692.7281687, "msecs": 728.1687259674072, "relativeCreated": 78624.41110610962, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 18 ()", "asctime": "2023-02-09 15:58:12,728" } ], "time_consumption": 8.869171142578125e-05 }, { "name": "__tLogger__", "msg": "Deactivating away mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 119, "funcName": "__test_away_mode__", "created": 1675954693.029936, "msecs": 29.93607521057129, "relativeCreated": 78926.17845535278, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Deactivating away mode", "asctime": "2023-02-09 15:58:13,029", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/away_mode", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954692.7285469, "msecs": 728.5468578338623, "relativeCreated": 78624.78923797607, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/away_mode and payload false", "asctime": "2023-02-09 15:58:12,728" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/away_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.7302158, "msecs": 730.2157878875732, "relativeCreated": 78626.45816802979, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'false'", "asctime": "2023-02-09 15:58:12,730" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.741216, "msecs": 741.2159442901611, "relativeCreated": 78637.45832443237, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:58:12,741" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954692.7416792, "msecs": 741.6791915893555, "relativeCreated": 78637.92157173157, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:12,741" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.7423728, "msecs": 742.3727512359619, "relativeCreated": 78638.61513137817, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:12,742" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.7431307, "msecs": 743.1306838989258, "relativeCreated": 78639.37306404114, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:12,743" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/away_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.7437108, "msecs": 743.7107563018799, "relativeCreated": 78639.95313644409, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'false'", "asctime": "2023-02-09 15:58:12,743" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.7442691, "msecs": 744.2691326141357, "relativeCreated": 78640.51151275635, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:12,744" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.7448266, "msecs": 744.8265552520752, "relativeCreated": 78641.06893539429, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:12,744" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.7891963, "msecs": 789.196252822876, "relativeCreated": 78685.43863296509, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:12,789" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954692.8300169, "msecs": 830.0168514251709, "relativeCreated": 78726.25923156738, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:12,830" } ], "time_consumption": 0.1999192237854004 }, { "name": "__tLogger__", "msg": "Away mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954693.0306041, "msecs": 30.604124069213867, "relativeCreated": 78926.84650421143, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Away mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:13,030", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Away mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954693.0303392, "msecs": 30.33924102783203, "relativeCreated": 78926.58162117004, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Away mode): False ()", "asctime": "2023-02-09 15:58:13,030" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Away mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954693.0304883, "msecs": 30.488252639770508, "relativeCreated": 78926.73063278198, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Away mode): result = False ()", "asctime": "2023-02-09 15:58:13,030" } ], "time_consumption": 0.00011587142944335938 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954693.0310082, "msecs": 31.008243560791016, "relativeCreated": 78927.250623703, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:58:13,031", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954693.0308187, "msecs": 30.818700790405273, "relativeCreated": 78927.06108093262, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 23 ()", "asctime": "2023-02-09 15:58:13,030" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954693.0309193, "msecs": 30.919313430786133, "relativeCreated": 78927.161693573, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 23 ()", "asctime": "2023-02-09 15:58:13,030" } ], "time_consumption": 8.893013000488281e-05 } ], "time_consumption": 0.9089775085449219, "time_start": "2023-02-09 15:58:12,122", "time_finished": "2023-02-09 15:58:13,031" }, "Boost mode test: zigbee/gfw/marion/heating_valve": { "name": "__tLogger__", "msg": "Boost mode test: zigbee/gfw/marion/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 128, "funcName": "test_boost_mode", "created": 1675954693.0314307, "msecs": 31.430721282958984, "relativeCreated": 78927.67310142517, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost mode test: zigbee/gfw/marion/heating_valve", "asctime": "2023-02-09 15:58:13,031", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 133, "funcName": "__test_boost_mode__", "created": 1675954693.3336346, "msecs": 333.634614944458, "relativeCreated": 79229.87699508667, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:58:13,333", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954693.0317185, "msecs": 31.71849250793457, "relativeCreated": 78927.96087265015, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:58:13,031" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.032812, "msecs": 32.81211853027344, "relativeCreated": 78929.05449867249, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:58:13,032" } ], "time_consumption": 0.30082249641418457 }, { "name": "__tLogger__", "msg": "Boost timer is correct (Content %s and Type is %s).", "args": [ "0", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954693.334267, "msecs": 334.26690101623535, "relativeCreated": 79230.50928115845, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is correct (Content 0 and Type is ).", "asctime": "2023-02-09 15:58:13,334", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954693.3340232, "msecs": 334.02323722839355, "relativeCreated": 79230.2656173706, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 0 ()", "asctime": "2023-02-09 15:58:13,334" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", "=", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954693.3341596, "msecs": 334.15961265563965, "relativeCreated": 79230.40199279785, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result = 0 ()", "asctime": "2023-02-09 15:58:13,334" } ], "time_consumption": 0.00010728836059570312 }, { "name": "__tLogger__", "msg": "Activating boost mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 140, "funcName": "__test_boost_mode__", "created": 1675954693.6365023, "msecs": 636.5022659301758, "relativeCreated": 79532.74464607239, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating boost mode", "asctime": "2023-02-09 15:58:13,636", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.start_boost", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/start_boost", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954693.3345823, "msecs": 334.5823287963867, "relativeCreated": 79230.8247089386, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/start_boost and payload true", "asctime": "2023-02-09 15:58:13,334" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.start_boost", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/start_boost", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.3356838, "msecs": 335.68382263183594, "relativeCreated": 79231.92620277405, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/start_boost and payload b'true'", "asctime": "2023-02-09 15:58:13,335" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.boost_timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/boost_timer", "b'900'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.3484237, "msecs": 348.42371940612793, "relativeCreated": 79244.66609954834, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/boost_timer and payload b'900'", "asctime": "2023-02-09 15:58:13,348" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.3490222, "msecs": 349.02215003967285, "relativeCreated": 79245.26453018188, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:13,349" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 30}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.349609, "msecs": 349.6088981628418, "relativeCreated": 79245.85127830505, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'", "asctime": "2023-02-09 15:58:13,349" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954693.3498883, "msecs": 349.8883247375488, "relativeCreated": 79246.13070487976, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:13,349" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'30'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.3504834, "msecs": 350.4834175109863, "relativeCreated": 79246.7257976532, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'30'", "asctime": "2023-02-09 15:58:13,350" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.3511267, "msecs": 351.12667083740234, "relativeCreated": 79247.36905097961, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:13,351" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.3516345, "msecs": 351.6345024108887, "relativeCreated": 79247.8768825531, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:13,351" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.393575, "msecs": 393.57495307922363, "relativeCreated": 79289.81733322144, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:13,393" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.4349685, "msecs": 434.9684715270996, "relativeCreated": 79331.21085166931, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:13,434" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.boost_timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/boost_timer", "b'899'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.5141208, "msecs": 514.1208171844482, "relativeCreated": 79410.36319732666, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/boost_timer and payload b'899'", "asctime": "2023-02-09 15:58:13,514" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.514918, "msecs": 514.9180889129639, "relativeCreated": 79411.16046905518, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:13,514" } ], "time_consumption": 0.12158417701721191 }, { "name": "__tLogger__", "msg": "Boost timer is greater expectation (Content %s and Type is %s).", "args": [ "899", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 230, "funcName": "greater_chk", "created": 1675954693.6372075, "msecs": 637.2075080871582, "relativeCreated": 79533.44988822937, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is greater expectation (Content 899 and Type is ).", "asctime": "2023-02-09 15:58:13,637", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "899", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954693.6368983, "msecs": 636.8982791900635, "relativeCreated": 79533.14065933228, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 899 ()", "asctime": "2023-02-09 15:58:13,636" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", ">", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954693.637037, "msecs": 637.0370388031006, "relativeCreated": 79533.27941894531, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result > 0 ()", "asctime": "2023-02-09 15:58:13,637" } ], "time_consumption": 0.0001704692840576172 }, { "name": "__tLogger__", "msg": "Setting postconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 145, "funcName": "__test_boost_mode__", "created": 1675954693.9394374, "msecs": 939.4373893737793, "relativeCreated": 79835.67976951599, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting postconditions (Default setpoint)", "asctime": "2023-02-09 15:58:13,939", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954693.6374965, "msecs": 637.4964714050293, "relativeCreated": 79533.73885154724, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:58:13,637" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.6386366, "msecs": 638.636589050293, "relativeCreated": 79534.8789691925, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:58:13,638" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.boost_timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/boost_timer", "b'0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.651858, "msecs": 651.8580913543701, "relativeCreated": 79548.10047149658, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/boost_timer and payload b'0'", "asctime": "2023-02-09 15:58:13,651" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.6525598, "msecs": 652.559757232666, "relativeCreated": 79548.80213737488, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:13,652" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.6531727, "msecs": 653.1727313995361, "relativeCreated": 79549.41511154175, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:58:13,653" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954693.653488, "msecs": 653.4879207611084, "relativeCreated": 79549.73030090332, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:13,653" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.6541345, "msecs": 654.1345119476318, "relativeCreated": 79550.37689208984, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:13,654" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.6548638, "msecs": 654.8638343811035, "relativeCreated": 79551.10621452332, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:13,654" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.6554434, "msecs": 655.4434299468994, "relativeCreated": 79551.68581008911, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:13,655" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.697954, "msecs": 697.9539394378662, "relativeCreated": 79594.19631958008, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:13,697" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.7070346, "msecs": 707.0345878601074, "relativeCreated": 79603.27696800232, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:13,707" } ], "time_consumption": 0.23240280151367188 }, { "name": "__tLogger__", "msg": "Boost timer is correct (Content %s and Type is %s).", "args": [ "0", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954693.9400866, "msecs": 940.0866031646729, "relativeCreated": 79836.32898330688, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Boost timer is correct (Content 0 and Type is ).", "asctime": "2023-02-09 15:58:13,940", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Boost timer", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954693.9398377, "msecs": 939.8376941680908, "relativeCreated": 79836.0800743103, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Boost timer): 0 ()", "asctime": "2023-02-09 15:58:13,939" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Boost timer", "=", "0", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954693.939979, "msecs": 939.979076385498, "relativeCreated": 79836.22145652771, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Boost timer): result = 0 ()", "asctime": "2023-02-09 15:58:13,939" } ], "time_consumption": 0.00010752677917480469 } ], "time_consumption": 0.9086558818817139, "time_start": "2023-02-09 15:58:13,031", "time_finished": "2023-02-09 15:58:13,940" }, "Default temperature test for device and virtual device: zigbee/gfw/marion/heating_valve": { "name": "__tLogger__", "msg": "Default temperature test for device and virtual device: zigbee/gfw/marion/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 50, "funcName": "test_default_temperature", "created": 1675954693.9405653, "msecs": 940.5653476715088, "relativeCreated": 79836.80772781372, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Default temperature test for device and virtual device: zigbee/gfw/marion/heating_valve", "asctime": "2023-02-09 15:58:13,940", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Valve setpoint to %.1f)", "args": [ 18 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 60, "funcName": "__test_default_temperature__", "created": 1675954694.2429516, "msecs": 242.9516315460205, "relativeCreated": 80139.19401168823, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Valve setpoint to 18.0)", "asctime": "2023-02-09 15:58:14,242", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954693.9409935, "msecs": 940.9935474395752, "relativeCreated": 79837.23592758179, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:13,940" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.9421093, "msecs": 942.1093463897705, "relativeCreated": 79838.35172653198, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:13,942" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 18}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.9646358, "msecs": 964.6358489990234, "relativeCreated": 79860.87822914124, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'", "asctime": "2023-02-09 15:58:13,964" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.965356, "msecs": 965.3561115264893, "relativeCreated": 79861.5984916687, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:58:13,965" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.9659405, "msecs": 965.9404754638672, "relativeCreated": 79862.18285560608, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:13,965" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/user_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.966537, "msecs": 966.5369987487793, "relativeCreated": 79862.77937889099, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:58:13,966" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.9673362, "msecs": 967.3361778259277, "relativeCreated": 79863.57855796814, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:13,967" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.9681165, "msecs": 968.1165218353271, "relativeCreated": 79864.35890197754, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:13,968" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954693.9689803, "msecs": 968.9803123474121, "relativeCreated": 79865.22269248962, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:13,968" } ], "time_consumption": 0.2739713191986084 }, { "name": "__tLogger__", "msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954694.2436154, "msecs": 243.61538887023926, "relativeCreated": 80139.85776901245, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:14,243", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve temperature setpoint (is not default temperature)", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954694.243371, "msecs": 243.37100982666016, "relativeCreated": 80139.61338996887, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve temperature setpoint (is not default temperature)): True ()", "asctime": "2023-02-09 15:58:14,243" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve temperature setpoint (is not default temperature)", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954694.2435079, "msecs": 243.50786209106445, "relativeCreated": 80139.75024223328, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True ()", "asctime": "2023-02-09 15:58:14,243" } ], "time_consumption": 0.00010752677917480469 }, { "name": "__tLogger__", "msg": "Triggering set to default temperature (%.1f)", "args": [ 23 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 66, "funcName": "__test_default_temperature__", "created": 1675954694.5449328, "msecs": 544.9328422546387, "relativeCreated": 80441.17522239685, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Triggering set to default temperature (23.0)", "asctime": "2023-02-09 15:58:14,544", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954694.2439265, "msecs": 243.9265251159668, "relativeCreated": 80140.16890525818, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:58:14,243" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.2450922, "msecs": 245.09215354919434, "relativeCreated": 80141.3345336914, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:58:14,245" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.2644215, "msecs": 264.4214630126953, "relativeCreated": 80160.6638431549, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:14,264" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.265121, "msecs": 265.1209831237793, "relativeCreated": 80161.36336326599, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:14,265" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.2656624, "msecs": 265.66243171691895, "relativeCreated": 80161.90481185913, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:58:14,265" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954694.2659492, "msecs": 265.9492492675781, "relativeCreated": 80162.19162940979, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:14,265" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.266533, "msecs": 266.53289794921875, "relativeCreated": 80162.77527809143, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:14,266" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.267186, "msecs": 267.18592643737793, "relativeCreated": 80163.42830657959, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:14,267" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.2676954, "msecs": 267.69542694091797, "relativeCreated": 80163.93780708313, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:14,267" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.3127277, "msecs": 312.727689743042, "relativeCreated": 80208.97006988525, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:14,312" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.3549516, "msecs": 354.9516201019287, "relativeCreated": 80251.19400024414, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:14,354" } ], "time_consumption": 0.18998122215270996 }, { "name": "__tLogger__", "msg": "Valve temperature setpoint is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954694.5456712, "msecs": 545.6712245941162, "relativeCreated": 80441.91360473633, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve temperature setpoint is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:58:14,545", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve temperature setpoint", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954694.5454206, "msecs": 545.4206466674805, "relativeCreated": 80441.66302680969, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve temperature setpoint): 23 ()", "asctime": "2023-02-09 15:58:14,545" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve temperature setpoint", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954694.545561, "msecs": 545.5610752105713, "relativeCreated": 80441.80345535278, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve temperature setpoint): result = 23 ()", "asctime": "2023-02-09 15:58:14,545" } ], "time_consumption": 0.00011014938354492188 } ], "time_consumption": 0.6051058769226074, "time_start": "2023-02-09 15:58:13,940", "time_finished": "2023-02-09 15:58:14,545" }, "Summer mode test: zigbee/gfw/marion/heating_valve": { "name": "__tLogger__", "msg": "Summer mode test: zigbee/gfw/marion/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 74, "funcName": "test_summer_mode", "created": 1675954694.5461345, "msecs": 546.1344718933105, "relativeCreated": 80442.37685203552, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode test: zigbee/gfw/marion/heating_valve", "asctime": "2023-02-09 15:58:14,546", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Setting preconditions (Default setpoint)", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 79, "funcName": "__test_summer_mode__", "created": 1675954694.848421, "msecs": 848.4210968017578, "relativeCreated": 80744.66347694397, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Setting preconditions (Default setpoint)", "asctime": "2023-02-09 15:58:14,848", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/set_default_temperature", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954694.5464892, "msecs": 546.4892387390137, "relativeCreated": 80442.73161888123, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload true", "asctime": "2023-02-09 15:58:14,546" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/set_default_temperature", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.5476058, "msecs": 547.6057529449463, "relativeCreated": 80443.84813308716, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload b'true'", "asctime": "2023-02-09 15:58:14,547" } ], "time_consumption": 0.3008153438568115 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954694.8490837, "msecs": 849.083662033081, "relativeCreated": 80745.3260421753, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:14,849", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954694.8488083, "msecs": 848.8082885742188, "relativeCreated": 80745.05066871643, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): False ()", "asctime": "2023-02-09 15:58:14,848" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954694.8489447, "msecs": 848.9446640014648, "relativeCreated": 80745.18704414368, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = False ()", "asctime": "2023-02-09 15:58:14,848" } ], "time_consumption": 0.00013899803161621094 }, { "name": "__tLogger__", "msg": "Activating summer mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 86, "funcName": "__test_summer_mode__", "created": 1675954695.1513972, "msecs": 151.3972282409668, "relativeCreated": 81047.63960838318, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Activating summer mode", "asctime": "2023-02-09 15:58:15,151", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/summer_mode", "true" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954694.8494608, "msecs": 849.4608402252197, "relativeCreated": 80745.70322036743, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/summer_mode and payload true", "asctime": "2023-02-09 15:58:14,849" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/summer_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.8505704, "msecs": 850.5704402923584, "relativeCreated": 80746.81282043457, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'true'", "asctime": "2023-02-09 15:58:14,850" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 5}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.8689156, "msecs": 868.9155578613281, "relativeCreated": 80765.15793800354, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'", "asctime": "2023-02-09 15:58:14,868" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954694.8693845, "msecs": 869.3845272064209, "relativeCreated": 80765.62690734863, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:14,869" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'5'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.8700979, "msecs": 870.0978755950928, "relativeCreated": 80766.3402557373, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'5'", "asctime": "2023-02-09 15:58:14,870" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.87086, "msecs": 870.8600997924805, "relativeCreated": 80767.10247993469, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:14,870" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/summer_mode", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.8714797, "msecs": 871.4797496795654, "relativeCreated": 80767.72212982178, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'true'", "asctime": "2023-02-09 15:58:14,871" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.8720582, "msecs": 872.0581531524658, "relativeCreated": 80768.30053329468, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:14,872" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.8726258, "msecs": 872.6258277893066, "relativeCreated": 80768.86820793152, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:14,872" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.9136, "msecs": 913.599967956543, "relativeCreated": 80809.84234809875, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:14,913" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954694.955026, "msecs": 955.0259113311768, "relativeCreated": 80851.26829147339, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:14,955" } ], "time_consumption": 0.19637131690979004 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954695.1520348, "msecs": 152.03475952148438, "relativeCreated": 81048.2771396637, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:15,152", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954695.1517875, "msecs": 151.78751945495605, "relativeCreated": 81048.02989959717, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): True ()", "asctime": "2023-02-09 15:58:15,151" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954695.1519253, "msecs": 151.92532539367676, "relativeCreated": 81048.16770553589, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = True ()", "asctime": "2023-02-09 15:58:15,151" } ], "time_consumption": 0.00010943412780761719 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "5", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954695.1524208, "msecs": 152.4207592010498, "relativeCreated": 81048.66313934326, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 5 and Type is ).", "asctime": "2023-02-09 15:58:15,152", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954695.1522055, "msecs": 152.2054672241211, "relativeCreated": 81048.44784736633, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 5 ()", "asctime": "2023-02-09 15:58:15,152" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "5", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954695.1523046, "msecs": 152.30464935302734, "relativeCreated": 81048.54702949524, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 5 ()", "asctime": "2023-02-09 15:58:15,152" } ], "time_consumption": 0.00011610984802246094 }, { "name": "__tLogger__", "msg": "Deactivating summer mode", "args": [], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 92, "funcName": "__test_summer_mode__", "created": 1675954695.4546745, "msecs": 454.67448234558105, "relativeCreated": 81350.9168624878, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Deactivating summer mode", "asctime": "2023-02-09 15:58:15,454", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/summer_mode", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954695.15272, "msecs": 152.71997451782227, "relativeCreated": 81048.96235466003, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/summer_mode and payload false", "asctime": "2023-02-09 15:58:15,152" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/summer_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.153829, "msecs": 153.82909774780273, "relativeCreated": 81050.07147789001, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'false'", "asctime": "2023-02-09 15:58:15,153" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.1649914, "msecs": 164.9913787841797, "relativeCreated": 81061.23375892639, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:58:15,164" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954695.1654594, "msecs": 165.45939445495605, "relativeCreated": 81061.70177459717, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:15,165" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.1661525, "msecs": 166.1524772644043, "relativeCreated": 81062.39485740662, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:15,166" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.1669106, "msecs": 166.91064834594727, "relativeCreated": 81063.15302848816, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:15,166" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/summer_mode", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.1674933, "msecs": 167.49334335327148, "relativeCreated": 81063.73572349548, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'false'", "asctime": "2023-02-09 15:58:15,167" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.168058, "msecs": 168.05791854858398, "relativeCreated": 81064.3002986908, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:15,168" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.1686418, "msecs": 168.6418056488037, "relativeCreated": 81064.88418579102, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:15,168" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.2143903, "msecs": 214.39027786254883, "relativeCreated": 81110.63265800476, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:15,214" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.258168, "msecs": 258.16798210144043, "relativeCreated": 81154.41036224365, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:15,258" } ], "time_consumption": 0.19650650024414062 }, { "name": "__tLogger__", "msg": "Summer mode is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954695.4553537, "msecs": 455.3537368774414, "relativeCreated": 81351.59611701965, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Summer mode is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:15,455", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Summer mode", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954695.4551008, "msecs": 455.10077476501465, "relativeCreated": 81351.34315490723, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Summer mode): False ()", "asctime": "2023-02-09 15:58:15,455" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Summer mode", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954695.455243, "msecs": 455.2431106567383, "relativeCreated": 81351.48549079895, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Summer mode): result = False ()", "asctime": "2023-02-09 15:58:15,455" } ], "time_consumption": 0.000110626220703125 }, { "name": "__tLogger__", "msg": "Temperature setpoint is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954695.455717, "msecs": 455.7170867919922, "relativeCreated": 81351.9594669342, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Temperature setpoint is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:58:15,455", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Temperature setpoint", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954695.4555242, "msecs": 455.524206161499, "relativeCreated": 81351.76658630371, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Temperature setpoint): 23 ()", "asctime": "2023-02-09 15:58:15,455" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Temperature setpoint", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954695.4556265, "msecs": 455.6264877319336, "relativeCreated": 81351.86886787415, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Temperature setpoint): result = 23 ()", "asctime": "2023-02-09 15:58:15,455" } ], "time_consumption": 9.059906005859375e-05 } ], "time_consumption": 0.9095826148986816, "time_start": "2023-02-09 15:58:14,546", "time_finished": "2023-02-09 15:58:15,455" }, "User temperature setpoint test for device and virtual device: zigbee/gfw/marion/heating_valve": { "name": "__tLogger__", "msg": "User temperature setpoint test for device and virtual device: zigbee/gfw/marion/heating_valve", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "test_user_temperature_setpoint", "created": 1675954695.4562054, "msecs": 456.2053680419922, "relativeCreated": 81352.4477481842, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "User temperature setpoint test for device and virtual device: zigbee/gfw/marion/heating_valve", "asctime": "2023-02-09 15:58:15,456", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Changing valve temperature setpoint to '%.1f'", "args": [ 18 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 33, "funcName": "__test_user_temperature_setpoint__", "created": 1675954695.757463, "msecs": 757.4629783630371, "relativeCreated": 81653.70535850525, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing valve temperature setpoint to '18.0'", "asctime": "2023-02-09 15:58:15,757", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954695.4566257, "msecs": 456.62569999694824, "relativeCreated": 81352.86808013916, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:15,456" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.4577844, "msecs": 457.78441429138184, "relativeCreated": 81354.0267944336, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:15,457" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 18}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.4750695, "msecs": 475.069522857666, "relativeCreated": 81371.31190299988, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'", "asctime": "2023-02-09 15:58:15,475" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.4754524, "msecs": 475.4524230957031, "relativeCreated": 81371.69480323792, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:58:15,475" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.4757855, "msecs": 475.785493850708, "relativeCreated": 81372.02787399292, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:15,475" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/user_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.4760878, "msecs": 476.0878086090088, "relativeCreated": 81372.33018875122, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:58:15,476" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.4763892, "msecs": 476.38916969299316, "relativeCreated": 81372.6315498352, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:15,476" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.4766681, "msecs": 476.668119430542, "relativeCreated": 81372.91049957275, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:15,476" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.476979, "msecs": 476.97901725769043, "relativeCreated": 81373.2213973999, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:15,476" } ], "time_consumption": 0.2804839611053467 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "18", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954695.7581282, "msecs": 758.1281661987305, "relativeCreated": 81654.37054634094, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 18 and Type is ).", "asctime": "2023-02-09 15:58:15,758", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954695.7578855, "msecs": 757.8854560852051, "relativeCreated": 81654.12783622742, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 18 ()", "asctime": "2023-02-09 15:58:15,757" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954695.758022, "msecs": 758.0220699310303, "relativeCreated": 81654.26445007324, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 18 ()", "asctime": "2023-02-09 15:58:15,758" } ], "time_consumption": 0.00010609626770019531 }, { "name": "__tLogger__", "msg": "Virtual device user temperature is correct (Content %s and Type is %s).", "args": [ "18", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954695.7585413, "msecs": 758.5413455963135, "relativeCreated": 81654.78372573853, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device user temperature is correct (Content 18 and Type is ).", "asctime": "2023-02-09 15:58:15,758", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device user temperature", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954695.7583447, "msecs": 758.3446502685547, "relativeCreated": 81654.58703041077, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device user temperature): 18 ()", "asctime": "2023-02-09 15:58:15,758" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device user temperature", "=", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954695.7584443, "msecs": 758.4443092346191, "relativeCreated": 81654.68668937683, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device user temperature): result = 18 ()", "asctime": "2023-02-09 15:58:15,758" } ], "time_consumption": 9.703636169433594e-05 }, { "name": "__tLogger__", "msg": "Changing videv user temperature setpoint to '%.1f'", "args": [ 23 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 41, "funcName": "__test_user_temperature_setpoint__", "created": 1675954696.0607684, "msecs": 60.76836585998535, "relativeCreated": 81957.0107460022, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing videv user temperature setpoint to '23.0'", "asctime": "2023-02-09 15:58:16,060", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/user_temperature_setpoint", "23" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954695.7588441, "msecs": 758.8441371917725, "relativeCreated": 81655.08651733398, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload 23", "asctime": "2023-02-09 15:58:15,758" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.7599363, "msecs": 759.9363327026367, "relativeCreated": 81656.17871284485, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:15,759" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.7794695, "msecs": 779.4694900512695, "relativeCreated": 81675.71187019348, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:58:15,779" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954695.779908, "msecs": 779.9079418182373, "relativeCreated": 81676.15032196045, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:15,779" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.7806118, "msecs": 780.6117534637451, "relativeCreated": 81676.85413360596, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:15,780" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.7814097, "msecs": 781.409740447998, "relativeCreated": 81677.65212059021, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:15,781" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.7819989, "msecs": 781.998872756958, "relativeCreated": 81678.24125289917, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:15,781" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.7825642, "msecs": 782.5641632080078, "relativeCreated": 81678.80654335022, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:15,782" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.783124, "msecs": 783.1239700317383, "relativeCreated": 81679.36635017395, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:15,783" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.829784, "msecs": 829.7839164733887, "relativeCreated": 81726.0262966156, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:15,829" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954695.8750176, "msecs": 875.0176429748535, "relativeCreated": 81771.26002311707, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:15,875" } ], "time_consumption": 0.18575072288513184 }, { "name": "__tLogger__", "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954696.0614653, "msecs": 61.46526336669922, "relativeCreated": 81957.70764350891, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve device temperature setpoint is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:58:16,061", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve device temperature setpoint", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954696.0612214, "msecs": 61.22136116027832, "relativeCreated": 81957.46374130249, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve device temperature setpoint): 23 ()", "asctime": "2023-02-09 15:58:16,061" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve device temperature setpoint", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954696.061359, "msecs": 61.35892868041992, "relativeCreated": 81957.60130882263, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve device temperature setpoint): result = 23 ()", "asctime": "2023-02-09 15:58:16,061" } ], "time_consumption": 0.00010633468627929688 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954696.0618196, "msecs": 61.81955337524414, "relativeCreated": 81958.06193351746, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:58:16,061", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954696.0616338, "msecs": 61.63382530212402, "relativeCreated": 81957.87620544434, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 23 ()", "asctime": "2023-02-09 15:58:16,061" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954696.0617313, "msecs": 61.73133850097656, "relativeCreated": 81957.97371864319, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 23 ()", "asctime": "2023-02-09 15:58:16,061" } ], "time_consumption": 8.821487426757812e-05 }, { "name": "__tLogger__", "msg": "Changing valve temperature setpoint to '%.1f'", "args": [ 18 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 33, "funcName": "__test_user_temperature_setpoint__", "created": 1675954696.3640726, "msecs": 364.0725612640381, "relativeCreated": 82260.31494140625, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing valve temperature setpoint to '18.0'", "asctime": "2023-02-09 15:58:16,364", "moduleLogger": [ { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954696.0621238, "msecs": 62.123775482177734, "relativeCreated": 81958.36615562439, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:16,062" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.0632293, "msecs": 63.22932243347168, "relativeCreated": 81959.47170257568, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:16,063" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 18}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.0826385, "msecs": 82.63850212097168, "relativeCreated": 81978.88088226318, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'", "asctime": "2023-02-09 15:58:16,082" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.0834076, "msecs": 83.40764045715332, "relativeCreated": 81979.65002059937, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:58:16,083" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.0840976, "msecs": 84.09762382507324, "relativeCreated": 81980.34000396729, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:16,084" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/user_temperature_setpoint", "b'18'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.0852838, "msecs": 85.28375625610352, "relativeCreated": 81981.52613639832, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18'", "asctime": "2023-02-09 15:58:16,085" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.0859272, "msecs": 85.92724800109863, "relativeCreated": 81982.16962814331, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:16,085" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.0864916, "msecs": 86.49158477783203, "relativeCreated": 81982.73396492004, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:16,086" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.0870984, "msecs": 87.09836006164551, "relativeCreated": 81983.34074020386, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:16,087" } ], "time_consumption": 0.2769742012023926 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "18", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954696.3647323, "msecs": 364.7322654724121, "relativeCreated": 82260.97464561462, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 18 and Type is ).", "asctime": "2023-02-09 15:58:16,364", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954696.36449, "msecs": 364.4900321960449, "relativeCreated": 82260.73241233826, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 18 ()", "asctime": "2023-02-09 15:58:16,364" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954696.3646255, "msecs": 364.6254539489746, "relativeCreated": 82260.86783409119, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 18 ()", "asctime": "2023-02-09 15:58:16,364" } ], "time_consumption": 0.0001068115234375 }, { "name": "__tLogger__", "msg": "Virtual device user temperature is correct (Content %s and Type is %s).", "args": [ "18", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954696.3651526, "msecs": 365.15259742736816, "relativeCreated": 82261.39497756958, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device user temperature is correct (Content 18 and Type is ).", "asctime": "2023-02-09 15:58:16,365", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device user temperature", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954696.3648996, "msecs": 364.8996353149414, "relativeCreated": 82261.14201545715, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device user temperature): 18 ()", "asctime": "2023-02-09 15:58:16,364" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device user temperature", "=", "18", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954696.3649964, "msecs": 364.99643325805664, "relativeCreated": 82261.23881340027, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device user temperature): result = 18 ()", "asctime": "2023-02-09 15:58:16,364" } ], "time_consumption": 0.00015616416931152344 }, { "name": "__tLogger__", "msg": "Changing videv user temperature setpoint to '%.1f'", "args": [ 23 ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py", "filename": "heating.py", "module": "heating", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 41, "funcName": "__test_user_temperature_setpoint__", "created": 1675954696.6673841, "msecs": 667.384147644043, "relativeCreated": 82563.62652778625, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing videv user temperature setpoint to '23.0'", "asctime": "2023-02-09 15:58:16,667", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/user_temperature_setpoint", "23" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954696.3654525, "msecs": 365.45252799987793, "relativeCreated": 82261.69490814209, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload 23", "asctime": "2023-02-09 15:58:16,365" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.3665633, "msecs": 366.5633201599121, "relativeCreated": 82262.80570030212, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:16,366" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve/set", "b'{\"current_heating_setpoint\": 23}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.38596, "msecs": 385.9601020812988, "relativeCreated": 82282.20248222351, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'", "asctime": "2023-02-09 15:58:16,385" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Sending message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954696.386404, "msecs": 386.40403747558594, "relativeCreated": 82282.6464176178, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}", "asctime": "2023-02-09 15:58:16,386" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/valve_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.387127, "msecs": 387.1269226074219, "relativeCreated": 82283.36930274963, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:16,387" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.3878849, "msecs": 387.88485527038574, "relativeCreated": 82284.1272354126, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:16,387" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/user_temperature_setpoint", "b'23'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.3884661, "msecs": 388.46611976623535, "relativeCreated": 82284.70849990845, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'", "asctime": "2023-02-09 15:58:16,388" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.3890333, "msecs": 389.03331756591797, "relativeCreated": 82285.27569770813, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:16,389" }, { "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve", "msg": "Received message with topic %s and payload %s", "args": [ "zigbee/gfw/marion/heating_valve", "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.3896742, "msecs": 389.67418670654297, "relativeCreated": 82285.91656684875, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'", "asctime": "2023-02-09 15:58:16,389" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/temperature", "b'20.7'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.437829, "msecs": 437.82901763916016, "relativeCreated": 82334.07139778137, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'", "asctime": "2023-02-09 15:58:16,437" }, { "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/heating_valve/__info__", "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.482179, "msecs": 482.1789264678955, "relativeCreated": 82378.42130661011, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:16,482" } ], "time_consumption": 0.18520522117614746 }, { "name": "__tLogger__", "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954696.6680524, "msecs": 668.0524349212646, "relativeCreated": 82564.29481506348, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Valve device temperature setpoint is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:58:16,668", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Valve device temperature setpoint", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954696.6678045, "msecs": 667.804479598999, "relativeCreated": 82564.04685974121, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Valve device temperature setpoint): 23 ()", "asctime": "2023-02-09 15:58:16,667" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Valve device temperature setpoint", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954696.6679401, "msecs": 667.9401397705078, "relativeCreated": 82564.18251991272, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Valve device temperature setpoint): result = 23 ()", "asctime": "2023-02-09 15:58:16,667" } ], "time_consumption": 0.00011229515075683594 }, { "name": "__tLogger__", "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).", "args": [ "23", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954696.6684117, "msecs": 668.4117317199707, "relativeCreated": 82564.65411186218, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device valve temperature is correct (Content 23 and Type is ).", "asctime": "2023-02-09 15:58:16,668", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device valve temperature", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954696.6682255, "msecs": 668.2255268096924, "relativeCreated": 82564.4679069519, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device valve temperature): 23 ()", "asctime": "2023-02-09 15:58:16,668" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device valve temperature", "=", "23", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954696.6683214, "msecs": 668.3213710784912, "relativeCreated": 82564.5637512207, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device valve temperature): result = 23 ()", "asctime": "2023-02-09 15:58:16,668" } ], "time_consumption": 9.036064147949219e-05 } ], "time_consumption": 1.2122063636779785, "time_start": "2023-02-09 15:58:15,456", "time_finished": "2023-02-09 15:58:16,668" }, "Power On/ Off test for device and virtual device: shellies/gfw/marion/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/gfw/marion/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954696.6689138, "msecs": 668.9138412475586, "relativeCreated": 82565.15622138977, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/gfw/marion/main_light", "asctime": "2023-02-09 15:58:16,668", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954696.669346, "msecs": 669.3460941314697, "relativeCreated": 82565.58847427368, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:16,669", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954696.6691468, "msecs": 669.1467761993408, "relativeCreated": 82565.38915634155, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:58:16,669" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954696.6692545, "msecs": 669.2545413970947, "relativeCreated": 82565.4969215393, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:58:16,669" } ], "time_consumption": 9.1552734375e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954696.9714935, "msecs": 971.4934825897217, "relativeCreated": 82867.73586273193, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:58:16,971", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/marion/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954696.669577, "msecs": 669.57688331604, "relativeCreated": 82565.81926345825, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:16,669" }, { "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/marion/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.6706681, "msecs": 670.6681251525879, "relativeCreated": 82566.9105052948, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:16,670" }, { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.6728473, "msecs": 672.8472709655762, "relativeCreated": 82569.08965110779, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:16,672" }, { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.673594, "msecs": 673.5939979553223, "relativeCreated": 82569.83637809753, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:16,673" } ], "time_consumption": 0.2978994846343994 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954696.9721322, "msecs": 972.1322059631348, "relativeCreated": 82868.37458610535, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:16,972", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954696.9718888, "msecs": 971.8887805938721, "relativeCreated": 82868.13116073608, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:58:16,971" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954696.9720256, "msecs": 972.0256328582764, "relativeCreated": 82868.26801300049, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:58:16,972" } ], "time_consumption": 0.00010657310485839844 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954696.9724915, "msecs": 972.4915027618408, "relativeCreated": 82868.73388290405, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:16,972", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954696.9723036, "msecs": 972.3036289215088, "relativeCreated": 82868.54600906372, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:58:16,972" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954696.972402, "msecs": 972.4020957946777, "relativeCreated": 82868.64447593689, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:58:16,972" } ], "time_consumption": 8.940696716308594e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954697.274768, "msecs": 274.7681140899658, "relativeCreated": 83171.01049423218, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:58:17,274", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954696.972767, "msecs": 972.7671146392822, "relativeCreated": 82869.0094947815, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/main_light/state and payload false", "asctime": "2023-02-09 15:58:16,972" }, { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.9738808, "msecs": 973.8807678222656, "relativeCreated": 82870.12314796448, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:16,973" }, { "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/marion/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.9755504, "msecs": 975.5504131317139, "relativeCreated": 82871.79279327393, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/marion/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:58:16,975" }, { "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/marion/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954696.975882, "msecs": 975.8820533752441, "relativeCreated": 82872.12443351746, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:16,975" }, { "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/marion/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954696.976905, "msecs": 976.905107498169, "relativeCreated": 82873.14748764038, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:16,976" }, { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.0210772, "msecs": 21.07715606689453, "relativeCreated": 82917.3195362091, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:17,021" }, { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.021798, "msecs": 21.797895431518555, "relativeCreated": 82918.04027557373, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:17,021" } ], "time_consumption": 0.25297021865844727 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954697.2754261, "msecs": 275.42614936828613, "relativeCreated": 83171.6685295105, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:17,275", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954697.2751825, "msecs": 275.18248558044434, "relativeCreated": 83171.42486572266, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:58:17,275" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954697.2753177, "msecs": 275.3176689147949, "relativeCreated": 83171.560049057, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:58:17,275" } ], "time_consumption": 0.00010848045349121094 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954697.2757893, "msecs": 275.7892608642578, "relativeCreated": 83172.03164100647, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:17,275", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954697.2755985, "msecs": 275.59852600097656, "relativeCreated": 83171.84090614319, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:58:17,275" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954697.2756999, "msecs": 275.6998538970947, "relativeCreated": 83171.9422340393, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:58:17,275" } ], "time_consumption": 8.940696716308594e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954697.5779922, "msecs": 577.9922008514404, "relativeCreated": 83474.23458099365, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:58:17,577", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/marion/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954697.2760499, "msecs": 276.0498523712158, "relativeCreated": 83172.29223251343, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:17,276" }, { "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/marion/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.277169, "msecs": 277.16898918151855, "relativeCreated": 83173.41136932373, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:17,277" }, { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.2792797, "msecs": 279.2797088623047, "relativeCreated": 83175.52208900452, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:17,279" }, { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.2799418, "msecs": 279.9417972564697, "relativeCreated": 83176.18417739868, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:17,279" } ], "time_consumption": 0.2980504035949707 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954697.578636, "msecs": 578.6359310150146, "relativeCreated": 83474.87831115723, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:17,578", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954697.5783963, "msecs": 578.3963203430176, "relativeCreated": 83474.63870048523, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:58:17,578" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954697.57853, "msecs": 578.5300731658936, "relativeCreated": 83474.7724533081, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:58:17,578" } ], "time_consumption": 0.00010585784912109375 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954697.5789912, "msecs": 578.991174697876, "relativeCreated": 83475.23355484009, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:17,578", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954697.578804, "msecs": 578.8040161132812, "relativeCreated": 83475.0463962555, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:58:17,578" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954697.5789053, "msecs": 578.9053440093994, "relativeCreated": 83475.14772415161, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:58:17,578" } ], "time_consumption": 8.58306884765625e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954697.8812175, "msecs": 881.2174797058105, "relativeCreated": 83777.45985984802, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:58:17,881", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954697.579262, "msecs": 579.2620182037354, "relativeCreated": 83475.50439834595, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/gfw/marion/main_light/state and payload false", "asctime": "2023-02-09 15:58:17,579" }, { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.5803776, "msecs": 580.3775787353516, "relativeCreated": 83476.61995887756, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:17,580" }, { "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/marion/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.581994, "msecs": 581.9940567016602, "relativeCreated": 83478.23643684387, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/marion/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:58:17,581" }, { "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/gfw/marion/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954697.5823302, "msecs": 582.3302268981934, "relativeCreated": 83478.5726070404, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:17,582" }, { "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/gfw/marion/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.5833795, "msecs": 583.3795070648193, "relativeCreated": 83479.62188720703, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:17,583" }, { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.629078, "msecs": 629.0779113769531, "relativeCreated": 83525.32029151917, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:17,629" }, { "name": "smart_brain.mqtt.videv.gfw.marion.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/gfw/marion/main_light/__info__", "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.6297915, "msecs": 629.7914981842041, "relativeCreated": 83526.03387832642, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/gfw/marion/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'", "asctime": "2023-02-09 15:58:17,629" } ], "time_consumption": 0.25142598152160645 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954697.881868, "msecs": 881.8678855895996, "relativeCreated": 83778.11026573181, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:17,881", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954697.8816276, "msecs": 881.6275596618652, "relativeCreated": 83777.86993980408, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:58:17,881" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954697.8817644, "msecs": 881.7644119262695, "relativeCreated": 83778.00679206848, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:58:17,881" } ], "time_consumption": 0.00010347366333007812 } ], "time_consumption": 1.212954044342041, "time_start": "2023-02-09 15:58:16,668", "time_finished": "2023-02-09 15:58:17,881" }, "Power On/ Off test for device and virtual device: shellies/stw/stairway/main_light": { "name": "__tLogger__", "msg": "Power On/ Off test for device and virtual device: shellies/stw/stairway/main_light", "args": null, "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 27, "funcName": "test_power_on_off", "created": 1675954697.8824096, "msecs": 882.4095726013184, "relativeCreated": 83778.65195274353, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Power On/ Off test for device and virtual device: shellies/stw/stairway/main_light", "asctime": "2023-02-09 15:58:17,882", "moduleLogger": [], "testcaseLogger": [ { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954697.8828197, "msecs": 882.819652557373, "relativeCreated": 83779.06203269958, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:17,882", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954697.8826122, "msecs": 882.6122283935547, "relativeCreated": 83778.85460853577, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:58:17,882" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954697.8827264, "msecs": 882.7264308929443, "relativeCreated": 83778.96881103516, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:58:17,882" } ], "time_consumption": 9.322166442871094e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954698.1838956, "msecs": 183.89558792114258, "relativeCreated": 84080.13796806335, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:58:18,183", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954697.8830545, "msecs": 883.0544948577881, "relativeCreated": 83779.296875, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:17,883" }, { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.8841388, "msecs": 884.138822555542, "relativeCreated": 83780.38120269775, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:17,884" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/timer", "b'100'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.8869402, "msecs": 886.9402408599854, "relativeCreated": 83783.1826210022, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'100'", "asctime": "2023-02-09 15:58:17,886" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/__info__", "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.8876438, "msecs": 887.6438140869141, "relativeCreated": 83783.88619422913, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:17,887" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.8882332, "msecs": 888.2331848144531, "relativeCreated": 83784.47556495667, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:17,888" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/__info__", "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954697.8888168, "msecs": 888.8168334960938, "relativeCreated": 83785.0592136383, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:17,888" } ], "time_consumption": 0.29507875442504883 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954698.1845405, "msecs": 184.5405101776123, "relativeCreated": 84080.78289031982, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:18,184", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954698.1843038, "msecs": 184.30376052856445, "relativeCreated": 84080.54614067078, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:58:18,184" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954698.1844363, "msecs": 184.43632125854492, "relativeCreated": 84080.67870140076, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:58:18,184" } ], "time_consumption": 0.00010418891906738281 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954698.1849296, "msecs": 184.92960929870605, "relativeCreated": 84081.17198944092, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:18,184", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954698.1847432, "msecs": 184.74316596984863, "relativeCreated": 84080.98554611206, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:58:18,184" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954698.184843, "msecs": 184.8430633544922, "relativeCreated": 84081.0854434967, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:58:18,184" } ], "time_consumption": 8.654594421386719e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954698.4871702, "msecs": 487.1702194213867, "relativeCreated": 84383.4125995636, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:58:18,487", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954698.185239, "msecs": 185.23907661437988, "relativeCreated": 84081.48145675659, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/stw/stairway/main_light/state and payload false", "asctime": "2023-02-09 15:58:18,185" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.1863372, "msecs": 186.33723258972168, "relativeCreated": 84082.57961273193, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:18,186" }, { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.1879907, "msecs": 187.99066543579102, "relativeCreated": 84084.233045578, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:58:18,187" }, { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954698.1884725, "msecs": 188.47250938415527, "relativeCreated": 84084.71488952637, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:18,188" }, { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.189379, "msecs": 189.3789768218994, "relativeCreated": 84085.62135696411, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:18,189" }, { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.2341828, "msecs": 234.18283462524414, "relativeCreated": 84130.42521476746, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:58:18,234" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/timer", "b'0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.234919, "msecs": 234.91907119750977, "relativeCreated": 84131.16145133972, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'0'", "asctime": "2023-02-09 15:58:18,234" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/__info__", "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.2355404, "msecs": 235.54039001464844, "relativeCreated": 84131.78277015686, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:18,235" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.2360904, "msecs": 236.09042167663574, "relativeCreated": 84132.33280181885, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:18,236" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/__info__", "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.2366903, "msecs": 236.69028282165527, "relativeCreated": 84132.93266296387, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:18,236" } ], "time_consumption": 0.25047993659973145 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954698.487825, "msecs": 487.8249168395996, "relativeCreated": 84384.06729698181, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:18,487", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954698.4875855, "msecs": 487.58554458618164, "relativeCreated": 84383.8279247284, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:58:18,487" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954698.4877188, "msecs": 487.7188205718994, "relativeCreated": 84383.96120071411, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:58:18,487" } ], "time_consumption": 0.00010609626770019531 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954698.4881756, "msecs": 488.175630569458, "relativeCreated": 84384.41801071167, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:18,488", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954698.4879916, "msecs": 487.9915714263916, "relativeCreated": 84384.2339515686, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): False ()", "asctime": "2023-02-09 15:58:18,487" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954698.4880896, "msecs": 488.08956146240234, "relativeCreated": 84384.33194160461, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = False ()", "asctime": "2023-02-09 15:58:18,488" } ], "time_consumption": 8.606910705566406e-05 }, { "name": "__tLogger__", "msg": "Changing switching device state to '%s'", "args": [ true ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 36, "funcName": "__test_power_on_off__", "created": 1675954698.7892754, "msecs": 789.2754077911377, "relativeCreated": 84685.51778793335, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing switching device state to 'True'", "asctime": "2023-02-09 15:58:18,789", "moduleLogger": [ { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0", "on" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954698.4884045, "msecs": 488.4045124053955, "relativeCreated": 84384.64689254761, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload on", "asctime": "2023-02-09 15:58:18,488" }, { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0", "b'on'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.489541, "msecs": 489.54105377197266, "relativeCreated": 84385.78343391418, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'on'", "asctime": "2023-02-09 15:58:18,489" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/timer", "b'100'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.4922426, "msecs": 492.24257469177246, "relativeCreated": 84388.48495483398, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'100'", "asctime": "2023-02-09 15:58:18,492" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/__info__", "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.5337996, "msecs": 533.7996482849121, "relativeCreated": 84430.04202842712, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:18,533" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/state", "b'true'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.5345316, "msecs": 534.5315933227539, "relativeCreated": 84430.77397346497, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'true'", "asctime": "2023-02-09 15:58:18,534" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/__info__", "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.5351264, "msecs": 535.1264476776123, "relativeCreated": 84431.36882781982, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:18,535" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/timer", "b'99'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.535636, "msecs": 535.6359481811523, "relativeCreated": 84431.87832832336, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'99'", "asctime": "2023-02-09 15:58:18,535" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/__info__", "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.5361493, "msecs": 536.149263381958, "relativeCreated": 84432.39164352417, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:18,536" } ], "time_consumption": 0.2531261444091797 }, { "name": "__tLogger__", "msg": "Virtual device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954698.7900276, "msecs": 790.0276184082031, "relativeCreated": 84686.26999855042, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Virtual device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:18,790", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Virtual device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954698.7897272, "msecs": 789.7272109985352, "relativeCreated": 84685.96959114075, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Virtual device state): True ()", "asctime": "2023-02-09 15:58:18,789" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Virtual device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954698.789883, "msecs": 789.8828983306885, "relativeCreated": 84686.1252784729, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Virtual device state): result = True ()", "asctime": "2023-02-09 15:58:18,789" } ], "time_consumption": 0.00014472007751464844 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "True", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954698.79042, "msecs": 790.4200553894043, "relativeCreated": 84686.66243553162, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content True and Type is ).", "asctime": "2023-02-09 15:58:18,790", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954698.7902138, "msecs": 790.2138233184814, "relativeCreated": 84686.4562034607, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): True ()", "asctime": "2023-02-09 15:58:18,790" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "True", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954698.7903285, "msecs": 790.3285026550293, "relativeCreated": 84686.57088279724, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = True ()", "asctime": "2023-02-09 15:58:18,790" } ], "time_consumption": 9.1552734375e-05 }, { "name": "__tLogger__", "msg": "Changing virtual device state to '%s'", "args": [ false ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py", "filename": "light.py", "module": "light", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 42, "funcName": "__test_power_on_off__", "created": 1675954699.092641, "msecs": 92.64111518859863, "relativeCreated": 84988.88349533081, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Changing virtual device state to 'False'", "asctime": "2023-02-09 15:58:19,092", "moduleLogger": [ { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state", "msg": "Sending message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/state", "false" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954698.7907054, "msecs": 790.7054424285889, "relativeCreated": 84686.9478225708, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic videv/stw/stairway/main_light/state and payload false", "asctime": "2023-02-09 15:58:18,790" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.791805, "msecs": 791.8050289154053, "relativeCreated": 84688.04740905762, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:18,791" }, { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.7933617, "msecs": 793.3616638183594, "relativeCreated": 84689.60404396057, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:58:18,793" }, { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0", "msg": "Sending message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0", "off" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 75, "funcName": "send", "created": 1675954698.79387, "msecs": 793.8699722290039, "relativeCreated": 84690.11235237122, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload off", "asctime": "2023-02-09 15:58:18,793" }, { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.794746, "msecs": 794.745922088623, "relativeCreated": 84690.98830223083, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'off'", "asctime": "2023-02-09 15:58:18,794" }, { "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0.command", "msg": "Received message with topic %s and payload %s", "args": [ "shellies/stw/stairway/main_light/relay/0/command", "b'off'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.8381271, "msecs": 838.1271362304688, "relativeCreated": 84734.36951637268, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'", "asctime": "2023-02-09 15:58:18,838" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.timer", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/timer", "b'0'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.8388934, "msecs": 838.8934135437012, "relativeCreated": 84735.13579368591, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'0'", "asctime": "2023-02-09 15:58:18,838" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/__info__", "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.8395193, "msecs": 839.5192623138428, "relativeCreated": 84735.76164245605, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:18,839" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/state", "b'false'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.840071, "msecs": 840.0709629058838, "relativeCreated": 84736.3133430481, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'", "asctime": "2023-02-09 15:58:18,840" }, { "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__", "msg": "Received message with topic %s and payload %s", "args": [ "videv/stw/stairway/main_light/__info__", "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py", "filename": "__init__.py", "module": "__init__", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 91, "funcName": "__receive__", "created": 1675954698.840635, "msecs": 840.6350612640381, "relativeCreated": 84736.87744140625, "thread": 139894051313216, "threadName": "Thread-1 (_thread_main)", "processName": "MainProcess", "process": 59129, "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'", "asctime": "2023-02-09 15:58:18,840" } ], "time_consumption": 0.25200605392456055 }, { "name": "__tLogger__", "msg": "Switching device state is correct (Content %s and Type is %s).", "args": [ "False", "" ], "levelname": "INFO", "levelno": 20, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 184, "funcName": "equivalency_chk", "created": 1675954699.093295, "msecs": 93.29509735107422, "relativeCreated": 84989.53747749329, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Switching device state is correct (Content False and Type is ).", "asctime": "2023-02-09 15:58:19,093", "moduleLogger": [ { "name": "__unittest__", "msg": "Result (%s): %s (%s)", "args": [ "Switching device state", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 22, "funcName": "__report_result__", "created": 1675954699.093011, "msecs": 93.01090240478516, "relativeCreated": 84989.253282547, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Result (Switching device state): False ()", "asctime": "2023-02-09 15:58:19,093" }, { "name": "__unittest__", "msg": "Expectation (%s): result %s %s (%s)", "args": [ "Switching device state", "=", "False", "" ], "levelname": "DEBUG", "levelno": 10, "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py", "filename": "test.py", "module": "test", "exc_info": null, "exc_text": null, "stack_info": null, "lineno": 26, "funcName": "__report_expectation__", "created": 1675954699.0931652, "msecs": 93.16515922546387, "relativeCreated": 84989.40753936768, "thread": 139894075555840, "threadName": "MainThread", "processName": "MainProcess", "process": 59129, "message": "Expectation (Switching device state): result = False ()", "asctime": "2023-02-09 15:58:19,093" } ], "time_consumption": 0.00012993812561035156 } ], "time_consumption": 1.2108855247497559, "time_start": "2023-02-09 15:58:17,882", "time_finished": "2023-02-09 15:58:19,093" } }, "uid_list_sorted": [ "Power On/ Off test for device and virtual device: zigbee/ffe/diningroom/powerplug_floorlamp", "Power On/ Off test for device and virtual device: shellies/ffe/diningroom/main_light", "Power On/ Off synchronisation test: shellies/ffe/diningroom/main_light", "Power On/ Off test for device and virtual device: shellies/ffe/floor/main_light", "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/circulation_pump", "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/main_light", "Brightness test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1", "Color temperature test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1", "Power On/ Off test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1", "Brightness test for device and virtual device: zigbee/ffe/livingroom/main_light", "Color temperature test for device and virtual device: zigbee/ffe/livingroom/main_light", "Power On/ Off test for device and virtual device: shellies/ffe/livingroom/main_light", "Brightness synchronisation test: videv/ffe/livingroom/floorlamp", "Color temperature synchronisation test: videv/ffe/livingroom/floorlamp", "Power On/ Off synchronisation test: shellies/ffe/livingroom/main_light", "Brightness test for device and virtual device: zigbee/ffe/sleep/bed_light_di", "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_di", "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_ma", "Away mode test: zigbee/ffe/sleep/heating_valve", "Boost mode test: zigbee/ffe/sleep/heating_valve", "Default temperature test for device and virtual device: zigbee/ffe/sleep/heating_valve", "Summer mode test: zigbee/ffe/sleep/heating_valve", "User temperature setpoint test for device and virtual device: zigbee/ffe/sleep/heating_valve", "Brightness test for device and virtual device: zigbee/ffe/sleep/main_light", "Color temperature test for device and virtual device: zigbee/ffe/sleep/main_light", "Power On/ Off test for device and virtual device: shellies/ffe/sleep/main_light", "Away mode test: zigbee/ffw/bath/heating_valve", "Boost mode test: zigbee/ffw/bath/heating_valve", "Default temperature test for device and virtual device: zigbee/ffw/bath/heating_valve", "Summer mode test: zigbee/ffw/bath/heating_valve", "User temperature setpoint test for device and virtual device: zigbee/ffw/bath/heating_valve", "Brightness test for device and virtual device: zigbee/ffw/julian/main_light", "Color temperature test for device and virtual device: zigbee/ffw/julian/main_light", "Power On/ Off test for device and virtual device: shellies/ffw/julian/main_light", "Brightness test for device and virtual device: zigbee/ffw/livingroom/main_light", "Color temperature test for device and virtual device: zigbee/ffw/livingroom/main_light", "Power On/ Off test for device and virtual device: shellies/ffw/livingroom/main_light", "Brightness test for device and virtual device: zigbee/ffw/sleep/main_light", "Power On/ Off test for device and virtual device: shellies/ffw/sleep/main_light", "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/1", "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/3", "Power On/ Off synchronisation test: my_apps/gfw/dirk/powerplug/output/3", "Brightness test for device and virtual device: zigbee/gfw/dirk/desk_light", "Color temperature test for device and virtual device: zigbee/gfw/dirk/desk_light", "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/2", "Away mode test: zigbee/gfw/dirk/heating_valve", "Boost mode test: zigbee/gfw/dirk/heating_valve", "Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve", "Summer mode test: zigbee/gfw/dirk/heating_valve", "User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve", "Brightness test for device and virtual device: zigbee/gfw/dirk/main_light", "Color temperature test for device and virtual device: zigbee/gfw/dirk/main_light", "Power On/ Off test for device and virtual device: shellies/gfw/dirk/main_light", "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/4", "Brightness test for device and virtual device: zigbee/gfw/floor/main_light_1", "Color temperature test for device and virtual device: zigbee/gfw/floor/main_light_1", "Power On/ Off test for device and virtual device: shellies/gfw/floor/main_light", "Brightness synchronisation test: videv/gfw/floor/main_light", "Color temperature synchronisation test: videv/gfw/floor/main_light", "Power On/ Off synchronisation test: shellies/gfw/floor/main_light", "Away mode test: zigbee/gfw/marion/heating_valve", "Boost mode test: zigbee/gfw/marion/heating_valve", "Default temperature test for device and virtual device: zigbee/gfw/marion/heating_valve", "Summer mode test: zigbee/gfw/marion/heating_valve", "User temperature setpoint test for device and virtual device: zigbee/gfw/marion/heating_valve", "Power On/ Off test for device and virtual device: shellies/gfw/marion/main_light", "Power On/ Off test for device and virtual device: shellies/stw/stairway/main_light" ], "system_information": { "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": "/home/dirk/my_repositories/smarthome/smart_brain_test" }, "testobject_information": { "app_name": "smart_brain", "version": { "readable": "1.0.1", "major": 1, "minor": 0, "patch": 1 }, "git": { "url": "https://git.mount-mockery.de/smarthome/smart_brain.git", "ref": "0b74ff04c9f3cb8c2608c2bcc2ba7759195ea5f8" } } }